summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2005-04-15 02:04:57 +0000
committerjlam <jlam@pkgsrc.org>2005-04-15 02:04:57 +0000
commit87fd4221712d11aa1a05ab1a2683dcddd9c811bc (patch)
treeb86b137b3aff15a028afe3eb29f520cf992e8008
parentc557db3f8cd96e652ae67e80c624285f03339170 (diff)
downloadpkgsrc-87fd4221712d11aa1a05ab1a2683dcddd9c811bc.tar.gz
Add a new yes/no variable USE_NEW_TOOLS to ease testing the new tools
framework. USE_NEW_TOOLS defaults to "no".
-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 1b916d860e6..85f02eb7d51 100644
--- a/mk/bsd.pkg.mk
+++ b/mk/bsd.pkg.mk
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.pkg.mk,v 1.1610 2005/04/13 16:15:59 rillig Exp $
+# $NetBSD: bsd.pkg.mk,v 1.1611 2005/04/15 02:04:57 jlam Exp $
#
# This file is in the public domain.
#
@@ -926,7 +926,12 @@ USE_LANGUAGES?= # empty
#
.include "../../mk/compiler.mk"
+USE_NEW_TOOLS?= no
+.if !empty(USE_NEW_TOOLS:M[yY][eE][sS])
+.include "../../mk/tools/bsd.tools.mk"
+.else
.include "../../mk/tools.mk"
+.endif
.include "../../mk/wrapper/bsd.wrapper.mk"