summaryrefslogtreecommitdiff
path: root/mk/compiler
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2004-02-05 22:05:42 +0000
committerjlam <jlam@pkgsrc.org>2004-02-05 22:05:42 +0000
commit352e29f3c1382e2ba5d07dc838114de18f1c644a (patch)
tree905ace926072193b561eb7c204c9c9616da02091 /mk/compiler
parenta8eead4cee110a5c0a98e6a55de2af30ffd3c163 (diff)
downloadpkgsrc-352e29f3c1382e2ba5d07dc838114de18f1c644a.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