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:
@@ -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
|
||||
|
||||
@@ -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>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user