diff options
author | tron <tron> | 2001-10-12 15:40:56 +0000 |
---|---|---|
committer | tron <tron> | 2001-10-12 15:40:56 +0000 |
commit | 8fc20de0c72b8a234c08972ed8c7f9487ba51a9f (patch) | |
tree | 58700908b07b5a0582be514933b632685120edfd /mk | |
parent | 243592216f0ca500d3074dc4c780c0cddb459d3d (diff) | |
download | pkgsrc-8fc20de0c72b8a234c08972ed8c7f9487ba51a9f.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.mk | 7 |
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 |