summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authorhe <he@pkgsrc.org>2015-10-09 17:27:09 +0000
committerhe <he@pkgsrc.org>2015-10-09 17:27:09 +0000
commit9a0198bb6b938a1c8a3470e4e336c30f5a79500c (patch)
tree5fecab5df7c79168be448b4668ac553a9edf3bd1 /mk
parent3b7ac9c7c99c6cb1dbd577d6f708b6085aaef847 (diff)
downloadpkgsrc-9a0198bb6b938a1c8a3470e4e336c30f5a79500c.tar.gz
Correction to the previous: we must use ${GREP} -E, there's no ${EGREP} here.
Diffstat (limited to 'mk')
-rw-r--r--mk/compiler/pcc.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/mk/compiler/pcc.mk b/mk/compiler/pcc.mk
index deddc4f1176..2b4d0a94b0b 100644
--- a/mk/compiler/pcc.mk
+++ b/mk/compiler/pcc.mk
@@ -1,4 +1,4 @@
-# $NetBSD: pcc.mk,v 1.7 2015/10/08 21:09:53 he Exp $
+# $NetBSD: pcc.mk,v 1.8 2015/10/09 17:27:09 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 | ${EGREP} '^(pcc|Portable C Compiler)'
+CC_VERSION!= ${CCPATH} -v 2>&1 | ${GREP} -E '^(pcc|Portable C Compiler)'
.else
CC_VERSION_STRING?= ${CC_VERSION}
CC_VERSION?= pcc