aboutsummaryrefslogtreecommitdiffstats
path: root/Mk
diff options
context:
space:
mode:
authormarcus <marcus@FreeBSD.org>2003-11-08 01:55:41 +0800
committermarcus <marcus@FreeBSD.org>2003-11-08 01:55:41 +0800
commitb46c390d1fe166a543c16058676839e734db960c (patch)
tree4fa8608d65e1032cd0526e995f1ab952b2eca01f /Mk
parent12fccb0f633989c48599696d0f756fb56dc4507b (diff)
downloadfreebsd-ports-gnome-b46c390d1fe166a543c16058676839e734db960c.tar.gz
freebsd-ports-gnome-b46c390d1fe166a543c16058676839e734db960c.tar.zst
freebsd-ports-gnome-b46c390d1fe166a543c16058676839e734db960c.zip
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>
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