summaryrefslogtreecommitdiff
path: root/mk/compiler/pcc.mk
diff options
context:
space:
mode:
authorhe <he>2015-10-09 17:27:09 +0000
committerhe <he>2015-10-09 17:27:09 +0000
commitb093da280a8c4f87bea250edddc9345bc0d6e923 (patch)
tree5fecab5df7c79168be448b4668ac553a9edf3bd1 /mk/compiler/pcc.mk
parentab64e91f3d783c85b34badb81a915e0cdfcde42f (diff)
downloadpkgsrc-b093da280a8c4f87bea250edddc9345bc0d6e923.tar.gz
Correction to the previous: we must use ${GREP} -E, there's no ${EGREP} here.
Diffstat (limited to 'mk/compiler/pcc.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