aboutsummaryrefslogtreecommitdiff
path: root/textproc/gnugrep
diff options
context:
space:
mode:
authorJohan van Selst <johans@FreeBSD.org>2015-11-22 11:33:57 +0000
committerJohan van Selst <johans@FreeBSD.org>2015-11-22 11:33:57 +0000
commit447203141743bc1fe9fefe11dbe7850b7d91e547 (patch)
treea889c28dce9c473e3f1eca0478ed780b3cb59a9d /textproc/gnugrep
parent87e9985dbe644a2247aa96ae12da9228b2113f6f (diff)
downloadports-447203141743bc1fe9fefe11dbe7850b7d91e547.tar.gz
ports-447203141743bc1fe9fefe11dbe7850b7d91e547.zip
- Make sure installed egrep/fgrep run correct GNU grep rather than base grep
- Bump PORTREVISION
Notes
Notes: svn path=/head/; revision=402225
Diffstat (limited to 'textproc/gnugrep')
-rw-r--r--textproc/gnugrep/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/textproc/gnugrep/Makefile b/textproc/gnugrep/Makefile
index 854394ab45e7..e977f77ebce5 100644
--- a/textproc/gnugrep/Makefile
+++ b/textproc/gnugrep/Makefile
@@ -3,6 +3,7 @@
PORTNAME= grep
PORTVERSION= 2.22
+PORTREVISION= 1
CATEGORIES= textproc
MASTER_SITES= GNU
PKGNAMEPREFIX= gnu
@@ -43,6 +44,7 @@ PCRE_CONFIGURE_OFF= --disable-perl-regexp
.include <bsd.port.options.mk>
post-patch:
+ @${REINPLACE_CMD} 's:@grep@:${LOCALBASE}/bin/&:' ${WRKSRC}/src/egrep.sh
.if empty(PORT_OPTIONS:MNLS)
@${REINPLACE_CMD} '/install-exec-local:/s/install-exec-localcharset//' \
${WRKSRC}/lib/Makefile.in