Date: Sun, 29 Mar 2026 12:28:18 +0000 From: Cy Schubert <cy@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: 5d67fe169bc4 - main - security/nmap*: Actually use devel/pcre2 Message-ID: <69c91ae2.18ecb.149254c9@gitrepo.freebsd.org>
index | next in thread | raw e-mail
The branch main has been updated by cy: URL: https://cgit.FreeBSD.org/ports/commit/?id=5d67fe169bc41ebbb104bc6b7729258969e80772 commit 5d67fe169bc41ebbb104bc6b7729258969e80772 Author: Cy Schubert <cy@FreeBSD.org> AuthorDate: 2026-03-29 12:17:51 +0000 Commit: Cy Schubert <cy@FreeBSD.org> CommitDate: 2026-03-29 12:28:11 +0000 security/nmap*: Actually use devel/pcre2 devel/pcre2 is specified as a dependency but not used. Instead nmap uses its own pcre2, which is missing symbols from its symbol table. This is not a problem with 16-CURRENT but 15-RELEASE-p2 fails to build. We fix this by using the pcre2 provided by ports. PR: 294112 --- security/nmap-devel/Makefile | 5 ++++- security/nmap/Makefile | 6 +++--- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/security/nmap-devel/Makefile b/security/nmap-devel/Makefile index 1544cbc5b3c9..e6d493c41a05 100644 --- a/security/nmap-devel/Makefile +++ b/security/nmap-devel/Makefile @@ -1,5 +1,6 @@ PORTNAME= nmap PORTVERSION= 7.100.${NMAP_COMMIT_DATE} +PORTREVISION= 1 CATEGORIES= security PKGNAMESUFFIX= -devel @@ -38,7 +39,9 @@ CONFIGURE_ARGS=--without-localdirs \ --without-ndiff \ --with-libpcre=${LOCALBASE} \ --with-liblua=included \ - --without-nmap-update + --without-nmap-update \ + --with-libpcre=${LOCALBASE} + MAKE_JOBS_UNSAFE= yes OPTIONS_DEFINE= DOCS NLS PCAP SSH2 SSL diff --git a/security/nmap/Makefile b/security/nmap/Makefile index ad9c156c64ab..2b15bd85d83b 100644 --- a/security/nmap/Makefile +++ b/security/nmap/Makefile @@ -1,5 +1,6 @@ PORTNAME= nmap DISTVERSION= 7.99 +PORTREVISION= 1 CATEGORIES= security MASTER_SITES= https://nmap.org/dist/ \ LOCAL/ohauer @@ -59,9 +60,8 @@ CONFIGURE_ARGS+=--without-localdirs \ --without-zenmap \ --without-ndiff \ --with-liblua=included \ - --without-nmap-update - - + --without-nmap-update \ + --with-libpcre=${LOCALBASE} .include <bsd.port.options.mk>home | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?69c91ae2.18ecb.149254c9>
