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
commit739eb220a9fc42df70b2a8b8590a30a06306bd2e (patch)
tree5fecab5df7c79168be448b4668ac553a9edf3bd1 /mk
parentfefe1ece10fb4f7d142b06a804005326759d48e4 (diff)
downloadpkgsrc-739eb220a9fc42df70b2a8b8590a30a06306bd2e.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