summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2007-05-23 00:23:24 +0000
committerjoerg <joerg@pkgsrc.org>2007-05-23 00:23:24 +0000
commit0a774d640da44bfdbf6c7fc985942d9214f8193c (patch)
treef5b90bf594c4b5c56e3a246a6d1c39641079d22c /mk
parent6333a48d03995b3087c6f36800a4fdd62bcf0696 (diff)
downloadpkgsrc-0a774d640da44bfdbf6c7fc985942d9214f8193c.tar.gz
Restore _REDUCE_DEPENDS_CMD for now as it is still used by show-depends.
Noticed by rillig@
Diffstat (limited to 'mk')
-rw-r--r--mk/flavor/pkg/depends.mk7
1 files changed, 6 insertions, 1 deletions
diff --git a/mk/flavor/pkg/depends.mk b/mk/flavor/pkg/depends.mk
index ed75fb085ef..b562b38dfb9 100644
--- a/mk/flavor/pkg/depends.mk
+++ b/mk/flavor/pkg/depends.mk
@@ -1,4 +1,4 @@
-# $NetBSD: depends.mk,v 1.30 2007/05/22 21:27:59 joerg Exp $
+# $NetBSD: depends.mk,v 1.31 2007/05/23 00:23:24 joerg Exp $
# This command prints out the dependency patterns for all full (run-time)
# dependencies of the package.
@@ -27,6 +27,11 @@ _RDEPENDS_FILE= ${WRKDIR}/.rdepends
_FULL_DEPENDS_CMD= \
${AWK} '$$1 == "full" { print $$3; }' < ${_RDEPENDS_FILE}
+_REDUCE_DEPENDS_CMD= ${SETENV} CAT=${CAT:Q} \
+ PKG_ADMIN=${PKG_ADMIN_CMD:Q} \
+ PWD_CMD=${PWD_CMD:Q} TEST=${TEST:Q} \
+ ${AWK} -f ${PKGSRCDIR}/mk/flavor/pkg/reduce-depends.awk
+
_flavor-show-depends: .PHONY
@case ${VARNAME:Q}"" in \
BUILD_DEPENDS) ${_REDUCE_DEPENDS_CMD} ${BUILD_DEPENDS:Q} ;; \