summaryrefslogtreecommitdiff
path: root/mk/compiler
diff options
context:
space:
mode:
authorjlam <jlam>2004-02-05 22:05:42 +0000
committerjlam <jlam>2004-02-05 22:05:42 +0000
commit510026c87f89e4d5d4a4f3e506b42390c2aa469d (patch)
tree905ace926072193b561eb7c204c9c9616da02091 /mk/compiler
parentd62876b9d6cb25688d337669a7a73dfcc6b65814 (diff)
downloadpkgsrc-510026c87f89e4d5d4a4f3e506b42390c2aa469d.tar.gz
Get the version string out of the MIPSpro compiler in the right way.
Diffstat (limited to 'mk/compiler')
-rw-r--r--mk/compiler/mipspro.mk7
1 files changed, 4 insertions, 3 deletions
diff --git a/mk/compiler/mipspro.mk b/mk/compiler/mipspro.mk
index 5b77e9f8b26..6da479e238a 100644
--- a/mk/compiler/mipspro.mk
+++ b/mk/compiler/mipspro.mk
@@ -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 @@ CXX= ${MIPSPROBASE}/bin/CC
. 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