git: 566fd26197c5 - 2021Q4 - security/nmap: PCAP option conflicts with pcap in 14-CURRENT base

From: Cy Schubert <cy_at_FreeBSD.org>
Date: Fri, 10 Dec 2021 04:42:09 UTC
The branch 2021Q4 has been updated by cy:

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

commit 566fd26197c5f39c9db467a674f3968861cf58e0
Author:     Cy Schubert <cy@FreeBSD.org>
AuthorDate: 2021-12-06 04:10:49 +0000
Commit:     Cy Schubert <cy@FreeBSD.org>
CommitDate: 2021-12-10 04:35:21 +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.
    
    (cherry picked from commit b1dcaf64da857d32153590fed40804f460da9bb9)
---
 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