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
This commit is contained in:
Cy Schubert
2026-03-29 05:17:51 -07:00
parent bb2a0d1f97
commit 5d67fe169b
2 changed files with 7 additions and 4 deletions

View File

@@ -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

View File

@@ -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>