Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 12 May 2021 23:48:50 GMT
From:      Craig Leres <leres@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 560db241dceb - main - security/zeek: Unbreak build when PREFIX is not /usr/local
Message-ID:  <202105122348.14CNmob7067986@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by leres:

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

commit 560db241dceb91e8dae36b14ce39e89b3ecbebe3
Author:     Craig Leres <leres@FreeBSD.org>
AuthorDate: 2021-05-12 23:47:01 +0000
Commit:     Craig Leres <leres@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 \



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