diff options
author | jlam <jlam@pkgsrc.org> | 2004-02-05 22:05:42 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2004-02-05 22:05:42 +0000 |
commit | 15327a67be03cfac1ee5c69fd60db74ad62f4909 (patch) | |
tree | 905ace926072193b561eb7c204c9c9616da02091 /mk/compiler | |
parent | 703fb2c09f737636b46ac2d1fa7fa77c8292e705 (diff) | |
download | pkgsrc-15327a67be03cfac1ee5c69fd60db74ad62f4909.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.mk | 7 |
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 |