diff options
author | he <he@pkgsrc.org> | 2015-10-08 21:09:53 +0000 |
---|---|---|
committer | he <he@pkgsrc.org> | 2015-10-08 21:09:53 +0000 |
commit | cd251c8ec45cdb7e7b75736ec1e6c7c8cc02027f (patch) | |
tree | abc68c5fbb6c53a2b3f88e1d7f7b939c0aba853a /mk/compiler | |
parent | fa10617232861dfecd5b42cdd778ab1b94eab373 (diff) | |
download | pkgsrc-cd251c8ec45cdb7e7b75736ec1e6c7c8cc02027f.tar.gz |
Extend the pattern matching the -v output from pcc.
Diffstat (limited to 'mk/compiler')
-rw-r--r-- | mk/compiler/pcc.mk | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mk/compiler/pcc.mk b/mk/compiler/pcc.mk index 010bfff3bbd..deddc4f1176 100644 --- a/mk/compiler/pcc.mk +++ b/mk/compiler/pcc.mk @@ -1,4 +1,4 @@ -# $NetBSD: pcc.mk,v 1.6 2013/05/09 23:37:26 riastradh Exp $ +# $NetBSD: pcc.mk,v 1.7 2015/10/08 21:09:53 he Exp $ # # This is the compiler definition for the PCC compiler. # @@ -61,7 +61,7 @@ _COMPILER_RPATH_FLAG= -Wl,-R .if exists(${CCPATH}) CC_VERSION_STRING!= ${CCPATH} -v 2>&1 || ${TRUE} -CC_VERSION!= ${CCPATH} -v 2>&1 | ${GREP} '^pcc' +CC_VERSION!= ${CCPATH} -v 2>&1 | ${EGREP} '^(pcc|Portable C Compiler)' .else CC_VERSION_STRING?= ${CC_VERSION} CC_VERSION?= pcc |