summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2005-04-24 23:28:20 +0000
committerjlam <jlam@pkgsrc.org>2005-04-24 23:28:20 +0000
commitef65ba9109ec88c28afa70ff2852fd0c4edc4285 (patch)
tree60e4df81deba07c464cb73c2e10bf1399024a856
parentab964a1c1f71239e1da0180c7a4ebdc67133021b (diff)
downloadpkgsrc-ef65ba9109ec88c28afa70ff2852fd0c4edc4285.tar.gz
Platforms that have GNU grep also have egrep and fgrep.
-rw-r--r--mk/tools/replace.mk10
1 files changed, 3 insertions, 7 deletions
diff --git a/mk/tools/replace.mk b/mk/tools/replace.mk
index 1c243e56adb..4d6c5af2466 100644
--- a/mk/tools/replace.mk
+++ b/mk/tools/replace.mk
@@ -1,4 +1,4 @@
-# $NetBSD: replace.mk,v 1.11 2005/04/24 22:42:00 jlam Exp $
+# $NetBSD: replace.mk,v 1.12 2005/04/24 23:28:20 jlam Exp $
#
# This Makefile fragment handles "replacements" of system-supplied
# tools with pkgsrc versions. The replacements are placed under
@@ -82,12 +82,8 @@ _TOOLS_VARNAME.yacc= YACC
# files as they are ${OPSYS}-specific.
#
_TOOLS_USE_PLATFORM.bison= Linux-*-*
-_TOOLS_USE_PLATFORM.egrep= Darwin-*-* FreeBSD-*-* Linux-*-* \
- NetBSD-*-* OpenBSD-*-* DragonFly-*-* \
- SunOS-*-*
-_TOOLS_USE_PLATFORM.fgrep= Darwin-*-* FreeBSD-*-* Linux-*-* \
- NetBSD-*-* OpenBSD-*-* DragonFly-*-* \
- SunOS-*-*
+_TOOLS_USE_PLATFORM.egrep= ${_TOOLS_USE_PLATFORM.grep}
+_TOOLS_USE_PLATFORM.fgrep= ${_TOOLS_USE_PLATFORM.grep}
_TOOLS_USE_PLATFORM.file= Darwin-*-* FreeBSD-*-* Linux-*-* \
NetBSD-*-* OpenBSD-*-* DragonFly-*-* \
SunOS-*-*