summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authortron <tron@pkgsrc.org>2001-10-12 15:40:56 +0000
committertron <tron@pkgsrc.org>2001-10-12 15:40:56 +0000
commit57f481af78da1ae1de18213e1eb33ba6cadd00e4 (patch)
tree58700908b07b5a0582be514933b632685120edfd /mk
parent82710020cb4ef55d4e5baf87047971f82c1d4899 (diff)
downloadpkgsrc-57f481af78da1ae1de18213e1eb33ba6cadd00e4.tar.gz
Pass "${USETOOLS}" down to package builds so that packages which use BSD
style makefiles can be build without a tools directory.
Diffstat (limited to 'mk')
-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 668f9803d99..90b8b3d7fc5 100644
--- a/mk/bsd.pkg.mk
+++ b/mk/bsd.pkg.mk
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.pkg.mk,v 1.825 2001/10/10 05:57:14 jlam Exp $
+# $NetBSD: bsd.pkg.mk,v 1.826 2001/10/12 15:40:56 tron Exp $
#
# This file is in the public domain.
#
@@ -20,6 +20,11 @@
##### Include any preferences, if not already included, and common definitions
.include "../../mk/bsd.prefs.mk"
+##### Pass information about desired toolchain to package build.
+.if defined(USETOOLS)
+MAKE_ENV+= USETOOLS="${USETOOLS}"
+.endif
+
##### Build crypto packages by default.
MKCRYPTO?= yes