summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2006-07-26 21:23:40 +0000
committerjlam <jlam@pkgsrc.org>2006-07-26 21:23:40 +0000
commit3e54e07dce310c9d25026546765d9582898f78d5 (patch)
tree9dba5483975577d68696871a5a47b2abd696791b
parenta1b7effcf897be190950cd4ae78789b133aced1d (diff)
downloadpkgsrc-3e54e07dce310c9d25026546765d9582898f78d5.tar.gz
Pass MAKECONF down to recursive make processes to ensure they all use
the same ${MAKECONF} file.
-rw-r--r--mk/bsd.pkg.mk7
1 files changed, 6 insertions, 1 deletions
diff --git a/mk/bsd.pkg.mk b/mk/bsd.pkg.mk
index 7ace8a22ef9..6fe10423db7 100644
--- a/mk/bsd.pkg.mk
+++ b/mk/bsd.pkg.mk
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.pkg.mk,v 1.1875 2006/07/26 19:29:14 jlam Exp $
+# $NetBSD: bsd.pkg.mk,v 1.1876 2006/07/26 21:23:40 jlam Exp $
#
# This file is in the public domain.
#
@@ -25,6 +25,11 @@
.MAIN: all
+# If MAKECONF is defined, then pass it down to all recursive make
+# processes invoked by pkgsrc.
+#
+PKGSRC_MAKE_ENV+= ${MAKECONF:DMAKECONF=${MAKECONF:Q}}
+
.include "../../mk/bsd.prefs.mk"
.include "${PKGSRCDIR}/mk/flavor/bsd.flavor-vars.mk"