git: 560db241dceb - main - security/zeek: Unbreak build when PREFIX is not /usr/local

Craig Leres leres at FreeBSD.org
Wed May 12 23:48:50 UTC 2021


The branch main has been updated by leres:

URL: https://cgit.FreeBSD.org/ports/commit/?id=560db241dceb91e8dae36b14ce39e89b3ecbebe3

commit 560db241dceb91e8dae36b14ce39e89b3ecbebe3
Author:     Craig Leres <leres at FreeBSD.org>
AuthorDate: 2021-05-12 23:47:01 +0000
Commit:     Craig Leres <leres at FreeBSD.org>
CommitDate: 2021-05-12 23:47:01 +0000

    security/zeek: Unbreak build when PREFIX is not /usr/local
---
 security/zeek/Makefile | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/security/zeek/Makefile b/security/zeek/Makefile
index 55cc4261f6c2..1d52451ba418 100644
--- a/security/zeek/Makefile
+++ b/security/zeek/Makefile
@@ -140,8 +140,7 @@ pre-install-ZEEKCTL-on:
 post-install-NETMAP-on:
 	${MKDIR} ${WRKDIR}/zeek-bin
 	${CP} ${STAGEDIR}${PREFIX}/bin/zeek-config ${WRKDIR}/zeek-bin
-	${REINPLACE_CMD} -e 's|=/usr/local|=${STAGEDIR}${PREFIX}|' \
-	    -e '/^include_dir=/s|:/usr/local|:${STAGEDIR}${PREFIX}|' \
+	${REINPLACE_CMD} -e 's|${PREFIX}|${STAGEDIR}${PREFIX}|g' \
 	    ${WRKDIR}/zeek-bin/zeek-config
 	cd ${WRKSRC_zeek_netmap} && ${SETENV} PATH=${WRKDIR}/zeek-bin:${PATH} \
 	    ./configure --with-netmap=/usr \


More information about the dev-commits-ports-all mailing list