Source-Changes-HG archive

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

[src/trunk]: src/distrib/sets The test for USE_NEW_TOOLCHAIN is based on the ...



details:   https://anonhg.NetBSD.org/src/rev/3eeb7a2d7fa7
branches:  trunk
changeset: 517819:3eeb7a2d7fa7
user:      tv <tv%NetBSD.org@localhost>
date:      Mon Nov 19 20:43:33 2001 +0000

description:
The test for USE_NEW_TOOLCHAIN is based on the variable being *set*, not
a comparison of its value.  Instead, use ${USE_NEW_TOOLCHAIN:Dyes} and
change the if block back to [ ... = "yes" ].

diffstat:

 distrib/sets/makeflist |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (29 lines):

diff -r 8318f65c6011 -r 3eeb7a2d7fa7 distrib/sets/makeflist
--- a/distrib/sets/makeflist    Mon Nov 19 20:38:58 2001 +0000
+++ b/distrib/sets/makeflist    Mon Nov 19 20:43:33 2001 +0000
@@ -1,6 +1,6 @@
 #!/bin/sh
 #
-# $NetBSD: makeflist,v 1.37 2001/11/19 06:08:01 jmc Exp $
+# $NetBSD: makeflist,v 1.38 2001/11/19 20:43:33 tv Exp $
 #
 # Print out the files in some or all lists.
 # Usage: makeflist [-b] [-x] [-a arch] [-m machine] [-s setsdir] [setname ...]
@@ -10,7 +10,7 @@
 : ${MAKE=make}
 machine=${MACHINE:-`printf 'xxx:\n\techo ${MACHINE}' | $MAKE -s -f-`}
 arch=${MACHINE_ARCH:-`printf 'xxx:\n\techo ${MACHINE_ARCH}' | $MAKE -s -f-`}
-tc=${USE_NEW_TOOLCHAIN:-`printf '.include <bsd.own.mk>\nxxx:\n\techo ${USE_NEW_TOOLCHAIN}' | ${MAKE} -s -f-`}
+tc=${USE_NEW_TOOLCHAIN:-`printf '.include <bsd.own.mk>\nxxx:\n\techo ${USE_NEW_TOOLCHAIN:Dyes}' | ${MAKE} -s -f-`}
 setd=`pwd`
 nlists="base comp etc games man misc text"
 xlists="xbase xcomp xcontrib xfont xserver xmisc"
@@ -97,7 +97,7 @@
                        cat $setd/lists/$setname/lint.mi
                fi
        fi
-       if [ "$tc" = "nowarn" ]; then
+       if [ "$tc" = "yes" ]; then
                if [ -f $setd/lists/$setname/tc.mi ]; then
                        cat $setd/lists/$setname/tc.mi
                fi



Home | Main Index | Thread Index | Old Index