diff options
author | danfe <danfe@FreeBSD.org> | 2019-03-02 01:19:00 +0800 |
---|---|---|
committer | danfe <danfe@FreeBSD.org> | 2019-03-02 01:19:00 +0800 |
commit | 74d58cf9afc10d56386ddf6c20908126c6a55899 (patch) | |
tree | 5a49f5df143ebdcca83254e291028a31825d8fc4 | |
parent | ad546de246f1337ba4670e62ef779e8e52bf756b (diff) | |
download | freebsd-ports-gnome-74d58cf9afc10d56386ddf6c20908126c6a55899.tar.gz freebsd-ports-gnome-74d58cf9afc10d56386ddf6c20908126c6a55899.tar.zst freebsd-ports-gnome-74d58cf9afc10d56386ddf6c20908126c6a55899.zip |
- Patch the installed script to point to $PREFIX, not $LOCALBASE
- Add TEST_TARGET (currently, sometimes not all tests would pass)
PR: 227601
-rw-r--r-- | textproc/gnugrep/Makefile | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/textproc/gnugrep/Makefile b/textproc/gnugrep/Makefile index 36c87050f7fa..348f988a4cc5 100644 --- a/textproc/gnugrep/Makefile +++ b/textproc/gnugrep/Makefile @@ -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 |