From 57f481af78da1ae1de18213e1eb33ba6cadd00e4 Mon Sep 17 00:00:00 2001 From: tron Date: Fri, 12 Oct 2001 15:40:56 +0000 Subject: Pass "${USETOOLS}" down to package builds so that packages which use BSD style makefiles can be build without a tools directory. --- mk/bsd.pkg.mk | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'mk') 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 -- cgit v1.2.3