git: d6e3363949d8 - 2025Q3 - security/zeek: Unbreak PERFTOOLS

From: Craig Leres <leres_at_FreeBSD.org>
Date: Sun, 27 Jul 2025 18:47:11 UTC
The branch 2025Q3 has been updated by leres:

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

commit d6e3363949d87b5f97acfbad6c246b26c7e0b46d
Author:     Craig Leres <leres@FreeBSD.org>
AuthorDate: 2025-07-06 16:59:31 +0000
Commit:     Craig Leres <leres@FreeBSD.org>
CommitDate: 2025-07-27 18:46:54 +0000

    security/zeek: Unbreak PERFTOOLS
    
    Apparently the pprof has been provided by the devel/pprof port for
    quite awhile. Since PERFTOOLS is off by default this wasn't noticed
    until reported by Andrea Venturoli.
    
    Reported by:    Andrea Venturoli
    
    (cherry picked from commit e0559cfd0cdebe8fb98a1f46b5a183539e9ee569)
---
 security/zeek/Makefile | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/security/zeek/Makefile b/security/zeek/Makefile
index 37568d7fdf72..5ee79c220c55 100644
--- a/security/zeek/Makefile
+++ b/security/zeek/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	zeek
 DISTVERSION=	7.0.8
+PORTREVISION=	1
 CATEGORIES=	security
 MASTER_SITES=	https://download.zeek.org/
 
@@ -127,9 +128,11 @@ IPSUMDUMP_BUILD_DEPENDS=	ipsumdump:net/ipsumdump
 IPSUMDUMP_RUN_DEPENDS=		ipsumdump:net/ipsumdump
 LBL_CF_RUN_DEPENDS=		${LOCALBASE}/bin/cf:sysutils/lbl-cf
 LBL_HF_RUN_DEPENDS=		${LOCALBASE}/bin/hf:sysutils/lbl-hf
-PERFTOOLS_BUILD_DEPENDS=	${LOCALBASE}/bin/perftools-pprof:devel/google-perftools
+PERFTOOLS_BUILD_DEPENDS=	${LOCALBASE}/include/gperftools/tcmalloc.h:devel/google-perftools \
+				${LOCALBASE}/bin/pprof:devel/pprof
 PERFTOOLS_CMAKE_BOOL=		ENABLE_PERFTOOLS
-PERFTOOLS_RUN_DEPENDS=		${LOCALBASE}/bin/perftools-pprof:devel/google-perftools
+PERFTOOLS_RUN_DEPENDS=		${LOCALBASE}/include/gperftools/tcmalloc.h:devel/google-perftools \
+				${LOCALBASE}/bin/pprof:devel/pprof
 SPICY_CMAKE_OFF=		-DDISABLE_SPICY=ON
 ZEEKCTL_BUILD_DEPENDS=		${LOCALBASE}/bin/bash:shells/bash \
 				${PYTHON_PKGNAMEPREFIX}sqlite3>0:databases/py-sqlite3@${PY_FLAVOR}