Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/distrib/sets The "gcc" keyword in the set lists is used both...
details: https://anonhg.NetBSD.org/src/rev/1f14ac3cd1fa
branches: trunk
changeset: 786668:1f14ac3cd1fa
user: joerg <joerg%NetBSD.org@localhost>
date: Mon May 06 20:38:42 2013 +0000
description:
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.
diffstat:
distrib/sets/sets.subr | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 056da829f6c1 -r 1f14ac3cd1fa distrib/sets/sets.subr
--- a/distrib/sets/sets.subr Mon May 06 19:59:29 2013 +0000
+++ b/distrib/sets/sets.subr Mon May 06 20:38:42 2013 +0000
@@ -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 @@
# 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 @@
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
}
Home |
Main Index |
Thread Index |
Old Index