diff options
author | jlam <jlam> | 2004-02-05 22:05:42 +0000 |
---|---|---|
committer | jlam <jlam> | 2004-02-05 22:05:42 +0000 |
commit | b956499619a0941767be9d2a6e2be8f8eec53569 (patch) | |
tree | 905ace926072193b561eb7c204c9c9616da02091 /mk | |
parent | 01356db6403c2eb9559d57bcd3c7ee770d64fbf6 (diff) | |
download | pkgsrc-b956499619a0941767be9d2a6e2be8f8eec53569.tar.gz |
Get the version string out of the MIPSpro compiler in the right way.
Diffstat (limited to 'mk')
-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 |