summaryrefslogtreecommitdiff
path: root/mk/install
diff options
context:
space:
mode:
authorapb <apb@pkgsrc.org>2011-08-01 11:00:13 +0000
committerapb <apb@pkgsrc.org>2011-08-01 11:00:13 +0000
commite6af407a066c5a98237a5c6ad0fb28a1b0aee7e6 (patch)
tree74b1f5c8f0d57ea751281476de8aea239ffb6178 /mk/install
parent5ba8d75a28fcdf6baa548e0772ccae9f03fd12bd (diff)
downloadpkgsrc-e6af407a066c5a98237a5c6ad0fb28a1b0aee7e6.tar.gz
Pass PKGNAME_REQD through to the make process on the other side
of the "su" command. This fixes {cd math/py-networkx; env PYTHON_VERSION_DEFAULT=25 PKGNAME_REQD='py24-networkx-*' make replace;}
Diffstat (limited to 'mk/install')
-rw-r--r--mk/install/replace.mk3
1 files changed, 2 insertions, 1 deletions
diff --git a/mk/install/replace.mk b/mk/install/replace.mk
index f1918fad77d..d18a12fc734 100644
--- a/mk/install/replace.mk
+++ b/mk/install/replace.mk
@@ -1,4 +1,4 @@
-# $NetBSD: replace.mk,v 1.12 2011/06/04 10:05:00 obache Exp $
+# $NetBSD: replace.mk,v 1.13 2011/08/01 11:00:13 apb Exp $
#
# Public targets:
#
@@ -54,6 +54,7 @@ su-replace: .PHONY _flavor-replace
su-replace: .PHONY _flavor-destdir-replace
.endif
MAKEFLAGS.su-replace= _UPDATE_RUNNING=yes
+MAKEFLAGS.su-replace+= PKGNAME_REQD=${PKGNAME_REQD:Q}
#
# undo-replace