Date: Fri, 06 Feb 2026 21:28:16 +0000
From: Vladimir Druzenko <vvd@FreeBSD.org>
To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject: git: 4d63ecfab093 - main - security/nmap{,-devel}: Improve PCAP option
Message-ID: <69865cf0.447d7.4da1be8c@gitrepo.freebsd.org>
index | next in thread | raw e-mail
The branch main has been updated by vvd: URL: https://cgit.FreeBSD.org/ports/commit/?id=4d63ecfab0935f2a0f7175b461334190985fe19c commit 4d63ecfab0935f2a0f7175b461334190985fe19c Author: Vladimir Druzenko <vvd@FreeBSD.org> AuthorDate: 2026-02-06 21:19:24 +0000 Commit: Vladimir Druzenko <vvd@FreeBSD.org> CommitDate: 2026-02-06 21:19:24 +0000 security/nmap{,-devel}: Improve PCAP option - Replace global LDFLAGS with PCAP_LDFLAGS and PCAP_USES=localbase:ldflags. - While here remove unnecessary GNU_CONFIGURE_MANPREFIX. Approved by: cy (maintainer) --- security/nmap-devel/Makefile | 5 ++--- security/nmap/Makefile | 5 ++--- 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/security/nmap-devel/Makefile b/security/nmap-devel/Makefile index 59c41571ecf9..bb422f6f83ca 100644 --- a/security/nmap-devel/Makefile +++ b/security/nmap-devel/Makefile @@ -41,9 +41,6 @@ CONFIGURE_ARGS=--without-localdirs \ --with-liblua=included \ --without-nmap-update MAKE_JOBS_UNSAFE= yes -GNU_CONFIGURE_MANPREFIX=${PREFIX}/share - -LDFLAGS+= -L${LOCALBASE}/lib -ldbus-1 OPTIONS_DEFINE= DOCS NLS PCAP SSH2 SSL OPTIONS_DEFAULT=NLS SSH2 SSL @@ -55,6 +52,8 @@ SSH2_DESC= SSH2 protocol support NLS_CONFIGURE_ENABLE= nls PCAP_CONFIGURE_ON= --with-libpcap=included PCAP_LIB_DEPENDS= libdbus-1.so:devel/dbus +PCAP_USES= localbase:ldflags +PCAP_LDFLAGS= -ldbus-1 SSH2_IMPLIES= SSL SSH2_CONFIGURE_ON= --with-libssh2=included SSH2_CONFIGURE_OFF= --without-libssh2 diff --git a/security/nmap/Makefile b/security/nmap/Makefile index ec9ef4913592..48a6156e59ad 100644 --- a/security/nmap/Makefile +++ b/security/nmap/Makefile @@ -30,9 +30,6 @@ EXTRACT_AFTER_ARGS= --exclude ${DISTNAME}/mswin32 \ MAKE_JOBS_UNSAFE= yes GNU_CONFIGURE= yes -GNU_CONFIGURE_MANPREFIX=${PREFIX}/share - -LDFLAGS+= -L${LOCALBASE}/lib -ldbus-1 OPTIONS_SUB= yes OPTIONS_DEFINE= DOCS NLS PCAP SSH2 SSL @@ -44,6 +41,8 @@ SSH2_DESC= SSH2 protocol support NLS_CONFIGURE_ENABLE= nls PCAP_CONFIGURE_ON= --with-libpcap=included PCAP_LIB_DEPENDS= libdbus-1.so:devel/dbus +PCAP_USES= localbase:ldflags +PCAP_LDFLAGS= -ldbus-1 SSH2_CONFIGURE_ON= --with-libssh2=included SSH2_CONFIGURE_OFF= --without-libssh2 SSH2_IMPLIES= SSLhome | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?69865cf0.447d7.4da1be8c>
