From 0da94c8adcc88aaa7ae1eb3a144763e82782bfd8 Mon Sep 17 00:00:00 2001 From: Franco Fichtner Date: Wed, 22 May 2024 11:28:00 +0200 Subject: [PATCH] security/nmap: sync with upstream Taken from: FreeBSD --- security/nmap/Makefile | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/security/nmap/Makefile b/security/nmap/Makefile index 820e26ffb6c..c3b20bc1ae9 100644 --- a/security/nmap/Makefile +++ b/security/nmap/Makefile @@ -21,6 +21,11 @@ LICENSE_FILE= ${WRKSRC}/LICENSE .if !defined(MASTERDIR) USES= tar:bzip2 gmake cpe + +# XXX limit results if we do a grep in the sources! +EXTRACT_AFTER_ARGS= --exclude ${DISTNAME}/mswin32 \ + --no-same-owner --no-same-permissions + GNU_CONFIGURE= yes GNU_CONFIGURE_MANPREFIX=${PREFIX}/share @@ -54,10 +59,6 @@ CONFIGURE_ARGS+=--without-localdirs \ .include -# XXX limit results if we do a grep in the sources! -post-extract: - @${RM} -r ${WRKSRC}/mswin32 - .if exists(/usr/lib/libibverbs.a) # Link with libibverbs is needed by static libpcap post-patch-PCAP-on: