pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/mk/compiler Allow overriding CC_VERSION_STRING and CC_...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/a5979f035269
branches:  trunk
changeset: 468974:a5979f035269
user:      jlam <jlam%pkgsrc.org@localhost>
date:      Wed Feb 18 11:13:54 2004 +0000

description:
Allow overriding CC_VERSION_STRING and CC_VERSION.

diffstat:

 mk/compiler/mipspro.mk |  6 +++---
 mk/compiler/sunpro.mk  |  6 +++---
 2 files changed, 6 insertions(+), 6 deletions(-)

diffs (40 lines):

diff -r ea8c20d8600d -r a5979f035269 mk/compiler/mipspro.mk
--- a/mk/compiler/mipspro.mk    Wed Feb 18 11:10:35 2004 +0000
+++ b/mk/compiler/mipspro.mk    Wed Feb 18 11:13:54 2004 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: mipspro.mk,v 1.20 2004/02/15 13:34:33 jlam Exp $
+# $NetBSD: mipspro.mk,v 1.21 2004/02/18 11:13:54 jlam Exp $
 
 .if !defined(COMPILER_MIPSPRO_MK)
 COMPILER_MIPSPRO_MK=   one
@@ -35,8 +35,8 @@
 CC_VERSION_STRING!=    ${MIPSPROBASE}/bin/cc -version 2>&1 || ${TRUE}
 CC_VERSION!=           ${MIPSPROBASE}/bin/cc -version 2>&1 | ${GREP} '^MIPSpro'
 .  else
-CC_VERSION_STRING=     ${CC_VERSION}
-CC_VERSION=            MIPSpro Compilers
+CC_VERSION_STRING?=    ${CC_VERSION}
+CC_VERSION?=           MIPSpro Compilers
 .  endif
 .endif # COMPILER_MIPSPRO_MK
 
diff -r ea8c20d8600d -r a5979f035269 mk/compiler/sunpro.mk
--- a/mk/compiler/sunpro.mk     Wed Feb 18 11:10:35 2004 +0000
+++ b/mk/compiler/sunpro.mk     Wed Feb 18 11:13:54 2004 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: sunpro.mk,v 1.18 2004/02/15 13:34:33 jlam Exp $
+# $NetBSD: sunpro.mk,v 1.19 2004/02/18 11:13:54 jlam Exp $
 
 .if !defined(COMPILER_SUNPRO_MK)
 COMPILER_SUNPRO_MK=    one
@@ -36,8 +36,8 @@
 CC_VERSION_STRING!=    ${SUNWSPROBASE}/bin/cc -V 2>&1 || ${TRUE}
 CC_VERSION!=           ${SUNWSPROBASE}/bin/cc -V 2>&1 | ${GREP} '^cc'
 .  else
-CC_VERSION_STRING=     ${CC_VERSION}
-CC_VERSION=            cc: Sun C
+CC_VERSION_STRING?=    ${CC_VERSION}
+CC_VERSION?=           cc: Sun C
 .  endif
 .endif # COMPILER_SUNPRO_MK
 



Home | Main Index | Thread Index | Old Index