pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/mk Pass MAKECONF down to recursive make processes to e...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/2e5d894ef065
branches:  trunk
changeset: 516738:2e5d894ef065
user:      jlam <jlam%pkgsrc.org@localhost>
date:      Wed Jul 26 21:23:40 2006 +0000

description:
Pass MAKECONF down to recursive make processes to ensure they all use
the same ${MAKECONF} file.

diffstat:

 mk/bsd.pkg.mk |  7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)

diffs (21 lines):

diff -r 0ed22a26f29a -r 2e5d894ef065 mk/bsd.pkg.mk
--- a/mk/bsd.pkg.mk     Wed Jul 26 20:16:32 2006 +0000
+++ b/mk/bsd.pkg.mk     Wed Jul 26 21:23:40 2006 +0000
@@ -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"



Home | Main Index | Thread Index | Old Index