Make sure your port honors
WRKDIRPREFIX
. Most ports do not have to
worry about this. In particular, if you are referring to a
WRKDIR
of another port, note that the
correct location is
not
WRKDIRPREFIX
PORTSDIR
/subdir
/name
/work
or
PORTSDIR
/subdir
/name
/work
or some such..CURDIR
/../../subdir
/name
/work
Also, if you are defining WRKDIR
yourself, make sure you prepend
${WRKDIRPREFIX}${.CURDIR}
in
the front.
All FreeBSD documents are available for download at http://ftp.FreeBSD.org/pub/FreeBSD/doc/
Questions that are not answered by the
documentation may be
sent to <freebsd-questions@FreeBSD.org>.
Send questions about this document to <freebsd-doc@FreeBSD.org>.