pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/mk/compiler Get the version string out of the MIPSpro ...
details: https://anonhg.NetBSD.org/pkgsrc/rev/632b8d7c43aa
branches: trunk
changeset: 467731:632b8d7c43aa
user: jlam <jlam%pkgsrc.org@localhost>
date: Thu Feb 05 22:05:42 2004 +0000
description:
Get the version string out of the MIPSpro compiler in the right way.
diffstat:
mk/compiler/mipspro.mk | 7 ++++---
1 files changed, 4 insertions(+), 3 deletions(-)
diffs (22 lines):
diff -r e95b00bbdf13 -r 632b8d7c43aa mk/compiler/mipspro.mk
--- a/mk/compiler/mipspro.mk Thu Feb 05 22:00:32 2004 +0000
+++ b/mk/compiler/mipspro.mk Thu Feb 05 22:05:42 2004 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: mipspro.mk,v 1.10 2004/02/05 03:39:17 jlam Exp $
+# $NetBSD: mipspro.mk,v 1.11 2004/02/05 22:05:42 jlam Exp $
.if !defined(COMPILER_MIPSPRO_MK)
COMPILER_MIPSPRO_MK= one
@@ -24,9 +24,10 @@
. endif
. if exists(${CC})
-CC_VERSION!= ${CC} -V 2>&1 | ${GREP} '^cc'
+# MIPSpro Compilers: Version 7.3.1.2m
+CC_VERSION!= ${CC} -version 2>&1 | ${GREP} '^MIPSpro'
. else
-CC_VERSION= mipspro
+CC_VERSION= MIPSpro
. endif
.endif # COMPILER_MIPSPRO_MK
Home |
Main Index |
Thread Index |
Old Index