Skip to content

Commit 5d67fe1

Browse files
committed
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
1 parent bb2a0d1 commit 5d67fe1

2 files changed

Lines changed: 7 additions & 4 deletions

File tree

security/nmap-devel/Makefile

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
PORTNAME= nmap
22
PORTVERSION= 7.100.${NMAP_COMMIT_DATE}
3+
PORTREVISION= 1
34
CATEGORIES= security
45
PKGNAMESUFFIX= -devel
56

@@ -38,7 +39,9 @@ CONFIGURE_ARGS=--without-localdirs \
3839
--without-ndiff \
3940
--with-libpcre=${LOCALBASE} \
4041
--with-liblua=included \
41-
--without-nmap-update
42+
--without-nmap-update \
43+
--with-libpcre=${LOCALBASE}
44+
4245
MAKE_JOBS_UNSAFE= yes
4346

4447
OPTIONS_DEFINE= DOCS NLS PCAP SSH2 SSL

security/nmap/Makefile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
PORTNAME= nmap
22
DISTVERSION= 7.99
3+
PORTREVISION= 1
34
CATEGORIES= security
45
MASTER_SITES= https://nmap.org/dist/ \
56
LOCAL/ohauer
@@ -59,9 +60,8 @@ CONFIGURE_ARGS+=--without-localdirs \
5960
--without-zenmap \
6061
--without-ndiff \
6162
--with-liblua=included \
62-
--without-nmap-update
63-
64-
63+
--without-nmap-update \
64+
--with-libpcre=${LOCALBASE}
6565

6666
.include <bsd.port.options.mk>
6767

0 commit comments

Comments
 (0)