Module Name:    src
Committed By:   joerg
Date:           Mon May  6 20:38:43 UTC 2013

Modified Files:
        src/distrib/sets: sets.subr

Log Message:
The "gcc" keyword in the set lists is used both as boolean and as list
filter. Skip the HAVE_GCC variables when adding it as boolean, so that
MKGCC=no actually skips the "gcc" entries.


To generate a diff of this commit:
cvs rdiff -u -r1.148 -r1.149 src/distrib/sets/sets.subr

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/distrib/sets/sets.subr
diff -u src/distrib/sets/sets.subr:1.148 src/distrib/sets/sets.subr:1.149
--- src/distrib/sets/sets.subr:1.148	Tue Apr 30 16:26:26 2013
+++ src/distrib/sets/sets.subr	Mon May  6 20:38:42 2013
@@ -1,4 +1,4 @@
-#	$NetBSD: sets.subr,v 1.148 2013/04/30 16:26:26 matt Exp $
+#	$NetBSD: sets.subr,v 1.149 2013/05/06 20:38:42 joerg Exp $
 #
 
 #
@@ -179,7 +179,7 @@ SUBST="${SUBST};s#@MACHINE@#${MACHINE}#g
 # In each file, a record consists of a path and a System Package name,
 # separated by whitespace. E.g.,
 #
-# 	# $NetBSD: sets.subr,v 1.148 2013/04/30 16:26:26 matt Exp $
+# 	# $NetBSD: sets.subr,v 1.149 2013/05/06 20:38:42 joerg Exp $
 # 	.			base-sys-root	[keyword[,...]]
 # 	./altroot		base-sys-root
 # 	./bin			base-sys-root
@@ -295,7 +295,7 @@ list_set_files()
 				sub(/^mk/, "", kw)
 				sub(/^have_/, "", kw)
 				sub(/^target_endianness/, "endian", kw)
-				if (ENVIRON[nv] != "no")
+				if (nv != "HAVE_GCC" && ENVIRON[nv] != "no")
 					wanted[kw] = 1 
 			}
 

Reply via email to