summaryrefslogtreecommitdiff
path: root/Mk
diff options
context:
space:
mode:
authorJoe Marcus Clarke <marcus@FreeBSD.org>2003-11-07 17:55:41 +0000
committerJoe Marcus Clarke <marcus@FreeBSD.org>2003-11-07 17:55:41 +0000
commite01b8f26ce9b159f2dd3d0e6c21b8ac13582dcdd (patch)
tree288cb96b11f5fcece0d73527cdfb302a4b9fadc5 /Mk
parentremove USE_XLIB (diff)
Really add the fix for 56096. This was tested on bento, but somehow removed
at the last minute. This fixes PKG_ARGS when WRKDIRPREFIX is specified. Reminded by: Oliver Eikemeier <eikemeier@fillmore-labs.com>
Notes
Notes: svn path=/head/; revision=93316
Diffstat (limited to 'Mk')
-rw-r--r--Mk/bsd.port.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/Mk/bsd.port.mk b/Mk/bsd.port.mk
index 488e765956b6..e4b374f1ef48 100644
--- a/Mk/bsd.port.mk
+++ b/Mk/bsd.port.mk
@@ -1910,7 +1910,7 @@ PKGINSTALLVER!= ${PKG_INFO} -P 2>/dev/null | ${SED} -e 's/.*: //'
DISABLE_CONFLICTS= YES
.endif
.if !defined(PKG_ARGS)
-PKG_ARGS= -v -c -${COMMENT:Q} -d ${DESCR} -f ${TMPPLIST} -p ${PREFIX} -P "`${MAKE} package-depends | ${GREP} -v -E ${PKG_IGNORE_DEPENDS} | sort -u`" ${EXTRA_PKG_ARGS} $${_LATE_PKG_ARGS}
+PKG_ARGS= -v -c -${COMMENT:Q} -d ${DESCR} -f ${TMPPLIST} -p ${PREFIX} -P "`cd ${.CURDIR} && ${MAKE} package-depends | ${GREP} -v -E ${PKG_IGNORE_DEPENDS} | sort -u`" ${EXTRA_PKG_ARGS} $${_LATE_PKG_ARGS}
.if !defined(NO_MTREE)
PKG_ARGS+= -m ${MTREE_FILE}
.endif