pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/mk/compiler If for some reason, _GCC_REQD doesn't matc...
details: https://anonhg.NetBSD.org/pkgsrc/rev/52b3661175ec
branches: trunk
changeset: 469132:52b3661175ec
user: jlam <jlam%pkgsrc.org@localhost>
date: Fri Feb 20 07:10:06 2004 +0000
description:
If for some reason, _GCC_REQD doesn't match any of the version pattern
lists, then just assume that we need gcc3. The rest of the code in the
file assumes that we either need gcc2 or gcc3, so this provides a
fall-through, default value.
diffstat:
mk/compiler/gcc.mk | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
diffs (19 lines):
diff -r d10cce34ffdb -r 52b3661175ec mk/compiler/gcc.mk
--- a/mk/compiler/gcc.mk Fri Feb 20 06:52:43 2004 +0000
+++ b/mk/compiler/gcc.mk Fri Feb 20 07:10:06 2004 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: gcc.mk,v 1.53 2004/02/18 13:32:38 jlam Exp $
+# $NetBSD: gcc.mk,v 1.54 2004/02/20 07:10:06 jlam Exp $
.if !defined(COMPILER_GCC_MK)
COMPILER_GCC_MK= defined
@@ -103,6 +103,9 @@
_NEED_GCC3= yes
. endif
.endfor
+.if !empty(_NEED_GCC2:M[nN][oO]) && !empty(_NEED_GCC3:M[nN][oO])
+_NEED_GCC3= yes
+.endif
# Assume by default that GCC will only provide a C compiler.
LANGUAGES.gcc?= c
Home |
Main Index |
Thread Index |
Old Index