pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/mk Add a new yes/no variable USE_NEW_TOOLS to ease tes...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/213ee1b2e679
branches:  trunk
changeset: 492522:213ee1b2e679
user:      jlam <jlam%pkgsrc.org@localhost>
date:      Fri Apr 15 02:04:57 2005 +0000

description:
Add a new yes/no variable USE_NEW_TOOLS to ease testing the new tools
framework.  USE_NEW_TOOLS defaults to "no".

diffstat:

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

diffs (22 lines):

diff -r cb3af2bedc7b -r 213ee1b2e679 mk/bsd.pkg.mk
--- a/mk/bsd.pkg.mk     Fri Apr 15 01:59:29 2005 +0000
+++ b/mk/bsd.pkg.mk     Fri Apr 15 02:04:57 2005 +0000
@@ -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 @@
 #
 .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"
 



Home | Main Index | Thread Index | Old Index