Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 1 Mar 2019 17:19:00 +0000 (UTC)
From:      Alexey Dokuchaev <danfe@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r494305 - head/textproc/gnugrep
Message-ID:  <201903011719.x21HJ0xl038837@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: danfe
Date: Fri Mar  1 17:19:00 2019
New Revision: 494305
URL: https://svnweb.freebsd.org/changeset/ports/494305

Log:
  - Patch the installed script to point to $PREFIX, not $LOCALBASE
  - Add TEST_TARGET (currently, sometimes not all tests would pass)
  
  PR:	227601

Modified:
  head/textproc/gnugrep/Makefile

Modified: head/textproc/gnugrep/Makefile
==============================================================================
--- head/textproc/gnugrep/Makefile	Fri Mar  1 17:03:09 2019	(r494304)
+++ head/textproc/gnugrep/Makefile	Fri Mar  1 17:19:00 2019	(r494305)
@@ -16,6 +16,7 @@ CONFLICTS=	bsd-grep-[0-9]*
 
 USES=		charsetfix cpe tar:xz
 GNU_CONFIGURE=	yes
+TEST_TARGET=	check
 
 INFO=		grep
 CPE_VENDOR=	gnu
@@ -43,7 +44,7 @@ PCRE_USES=		pkgconfig
 PCRE_CONFIGURE_ENABLE=	perl-regexp
 
 post-patch:
-	@${REINPLACE_CMD} 's:@grep@:${LOCALBASE}/bin/&:' ${WRKSRC}/src/egrep.sh
+	@${REINPLACE_CMD} 's:@grep@:${PREFIX}/bin/&:' ${WRKSRC}/src/egrep.sh
 	@${REINPLACE_CMD} 's|mkinstalldirs = .*|mkinstalldirs = ${MKDIR}|g' \
 		${WRKSRC}/po/Makefile.in.in
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201903011719.x21HJ0xl038837>