Always resolve PORTSDIR to absolute paths using realpath(1).

Reported by:	madpilot
Reviewed by:	bapt
X-MFC-With:	272282