pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/mk/compiler Allow PKGSRC_COMPILER to take precedence o...
details: https://anonhg.NetBSD.org/pkgsrc/rev/b89867f518d3
branches: trunk
changeset: 467460:b89867f518d3
user: jlam <jlam%pkgsrc.org@localhost>
date: Sun Feb 01 01:36:22 2004 +0000
description:
Allow PKGSRC_COMPILER to take precedence over any deprecated variables.
diffstat:
mk/compiler/bsd.compiler.mk | 12 ++++++------
1 files changed, 6 insertions(+), 6 deletions(-)
diffs (32 lines):
diff -r 883e113e0118 -r b89867f518d3 mk/compiler/bsd.compiler.mk
--- a/mk/compiler/bsd.compiler.mk Sun Feb 01 01:33:06 2004 +0000
+++ b/mk/compiler/bsd.compiler.mk Sun Feb 01 01:36:22 2004 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.compiler.mk,v 1.2 2004/02/01 01:31:58 jlam Exp $
+# $NetBSD: bsd.compiler.mk,v 1.3 2004/02/01 01:36:22 jlam Exp $
#
# This Makefile fragment implements handling for supported C/C++/Fortran
# compilers.
@@ -63,17 +63,17 @@
#
.if defined(USE_GCC2)
GCC_REQD?= 2.8.0
-PKGSRC_COMPILER= gcc
+PKGSRC_COMPILER?= gcc
.elif defined(USE_GCC3)
GCC_REQD?= 3.0
-PKGSRC_COMPILER= gcc
+PKGSRC_COMPILER?= gcc
.elif defined(USE_PKGSRC_GCC)
_USE_PKGSRC_GCC= yes
-PKGSRC_COMPILER= gcc
+PKGSRC_COMPILER?= gcc
.elif defined(USE_SUNPRO)
-PKGSRC_COMPILER= sunpro
+PKGSRC_COMPILER?= sunpro
.elif defined(USE_MIPSPRO)
-PKGSRC_COMPILER= mipspro
+PKGSRC_COMPILER?= mipspro
.else
PKGSRC_COMPILER?= gcc
.endif
Home |
Main Index |
Thread Index |
Old Index