git: b1dcaf64da85 - main - security/nmap: PCAP option conflicts with pcap in 14-CURRENT base

From: Cy Schubert <cy_at_FreeBSD.org>
Date: Mon, 06 Dec 2021 18:12:48 UTC
The branch main has been updated by cy:

URL: https://cgit.FreeBSD.org/ports/commit/?id=b1dcaf64da857d32153590fed40804f460da9bb9

commit b1dcaf64da857d32153590fed40804f460da9bb9
Author:     Cy Schubert <cy@FreeBSD.org>
AuthorDate: 2021-12-06 04:10:49 +0000
Commit:     Cy Schubert <cy@FreeBSD.org>
CommitDate: 2021-12-06 18:12:37 +0000

    security/nmap: PCAP option conflicts with pcap in 14-CURRENT base
    
    PCAP option conflicts with pcap in 14-CURRENT base. Mark the option
    BROKEN.
    
    MFH after:      3 days
---
 security/nmap/Makefile | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/security/nmap/Makefile b/security/nmap/Makefile
index d66887d252b6..6cd71bb4892d 100644
--- a/security/nmap/Makefile
+++ b/security/nmap/Makefile
@@ -53,6 +53,12 @@ CONFIGURE_ARGS+=--without-localdirs \
 		--with-liblua=included \
 		--without-nmap-update
 
+.include <bsd.port.options.mk>
+
+.if ${PORT_OPTIONS:MPCAP}
+BROKEN_FreeBSD_14=	Conflicts with pcap in base
+.endif
+
 # XXX limit results if we do a grep in the sources!
 post-extract:
 	@${RM} -r ${WRKSRC}/mswin32