git: 1dbbd07307b7 - main - security/nmap: Use internal pcre
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 28 Mar 2024 20:54:12 UTC
The branch main has been updated by cy:
URL: https://cgit.FreeBSD.org/ports/commit/?id=1dbbd07307b74b79617b819cbf311dec316ba6b8
commit 1dbbd07307b74b79617b819cbf311dec316ba6b8
Author: Cy Schubert <cy@FreeBSD.org>
AuthorDate: 2024-03-28 18:00:57 +0000
Commit: Cy Schubert <cy@FreeBSD.org>
CommitDate: 2024-03-28 20:53:59 +0000
security/nmap: Use internal pcre
In preparation for devel/pcre removal, use internal pcre.
Upstream has a patch switching from pcre to pcre2. However this
requires a significant number of prerequisite patches to switch
the build system from make to cmake. A -devel port will be added
to track upstream development instead.
---
security/nmap/Makefile | 6 ++----
1 file changed, 2 insertions(+), 4 deletions(-)
diff --git a/security/nmap/Makefile b/security/nmap/Makefile
index c9f301085f6c..820e26ffb6ca 100644
--- a/security/nmap/Makefile
+++ b/security/nmap/Makefile
@@ -1,6 +1,6 @@
PORTNAME= nmap
DISTVERSION= 7.94
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= security
MASTER_SITES= https://nmap.org/dist/ \
LOCAL/ohauer
@@ -20,8 +20,6 @@ LICENSE_FILE= ${WRKSRC}/LICENSE
.if !defined(MASTERDIR)
-LIB_DEPENDS= libpcre.so:devel/pcre
-
USES= tar:bzip2 gmake cpe
GNU_CONFIGURE= yes
GNU_CONFIGURE_MANPREFIX=${PREFIX}/share
@@ -50,7 +48,7 @@ STRIP_FILES+= nmap nping
CONFIGURE_ARGS+=--without-localdirs \
--without-zenmap \
--without-ndiff \
- --with-libpcre=${LOCALBASE} \
+ --with-libpcre=included \
--with-liblua=included \
--without-nmap-update