aboutsummaryrefslogtreecommitdiffstats
path: root/Mk
diff options
context:
space:
mode:
authorbapt <bapt@FreeBSD.org>2013-06-10 22:38:18 +0800
committerbapt <bapt@FreeBSD.org>2013-06-10 22:38:18 +0800
commit28e31af73d59b8cecc8265bf0fdcd248fe1196bb (patch)
tree181a91e04ec7a119244e18b3cd0555e8334d192f /Mk
parent1e86123ee4fee56ef9ee4bd2be4c633726a2b3a9 (diff)
downloadfreebsd-ports-gnome-28e31af73d59b8cecc8265bf0fdcd248fe1196bb.tar.gz
freebsd-ports-gnome-28e31af73d59b8cecc8265bf0fdcd248fe1196bb.tar.zst
freebsd-ports-gnome-28e31af73d59b8cecc8265bf0fdcd248fe1196bb.zip
Avoid corrupting the manifest when bmake is run with -dl arguments
Reported and tested by: vsevolod
Diffstat (limited to 'Mk')
-rw-r--r--Mk/bsd.pkgng.mk3
1 files changed, 1 insertions, 2 deletions
diff --git a/Mk/bsd.pkgng.mk b/Mk/bsd.pkgng.mk
index 422807b84de5..6f68ae37eda6 100644
--- a/Mk/bsd.pkgng.mk
+++ b/Mk/bsd.pkgng.mk
@@ -55,8 +55,7 @@ fake-pkg:
@${ECHO_CMD} "www: ${WWW}" >> ${MANIFESTF}
.endif
@${ECHO_CMD} "deps: " >> ${MANIFESTF}
-
- @${MAKE} -C ${.CURDIR} actual-package-depends | ${GREP} -v -E ${PKG_IGNORE_DEPENDS} | ${SORT} -u | ${SED} 's/^/ /' >> ${MANIFESTF}
+ @${ACTUAL-PACKAGE-DEPENDS} | ${GREP} -v -E ${PKG_IGNORE_DEPENDS} | ${SORT} -u | ${SED} 's/^/ /' >> ${MANIFESTF}
@${ECHO_CMD} -n "categories: [" >> ${MANIFESTF}
.for cat in ${CATEGORIES:u}
@${ECHO_CMD} -n "${cat}," >> ${MANIFESTF}