svn commit: r402225 - head/textproc/gnugrep

Johan van Selst johans at FreeBSD.org
Sun Nov 22 11:33:58 UTC 2015


Author: johans
Date: Sun Nov 22 11:33:57 2015
New Revision: 402225
URL: https://svnweb.freebsd.org/changeset/ports/402225

Log:
  - Make sure installed egrep/fgrep run correct GNU grep rather than base grep
  - Bump PORTREVISION

Modified:
  head/textproc/gnugrep/Makefile

Modified: head/textproc/gnugrep/Makefile
==============================================================================
--- head/textproc/gnugrep/Makefile	Sun Nov 22 10:26:23 2015	(r402224)
+++ head/textproc/gnugrep/Makefile	Sun Nov 22 11:33:57 2015	(r402225)
@@ -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-regex
 .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


More information about the svn-ports-all mailing list