aboutsummaryrefslogtreecommitdiff
path: root/security/nmap
diff options
context:
space:
mode:
authorGreg Lewis <glewis@FreeBSD.org>2020-02-22 17:59:42 +0000
committerGreg Lewis <glewis@FreeBSD.org>2020-02-22 17:59:42 +0000
commit45074196e0faff17d3eeb6b17ff1a5e96aae33a0 (patch)
treee4d7fd2dcbccdb08dddf9b77d8942a9e6ae764f6 /security/nmap
parent29e49aeb08e01125643423dbd67f81e47fb6a46c (diff)
downloadports-45074196e0faff17d3eeb6b17ff1a5e96aae33a0.tar.gz
ports-45074196e0faff17d3eeb6b17ff1a5e96aae33a0.zip
Force the bundled libpcap headers to be used
This fixes the build when the separate libpcap port is installed PR: 243108 Approved by: maintainer timeout
Notes
Notes: svn path=/head/; revision=526844
Diffstat (limited to 'security/nmap')
-rw-r--r--security/nmap/files/patch-libpcap_Makefile.in11
1 files changed, 11 insertions, 0 deletions
diff --git a/security/nmap/files/patch-libpcap_Makefile.in b/security/nmap/files/patch-libpcap_Makefile.in
new file mode 100644
index 000000000000..6226cfda44df
--- /dev/null
+++ b/security/nmap/files/patch-libpcap_Makefile.in
@@ -0,0 +1,11 @@
+--- libpcap/Makefile.in.orig 2019-03-29 20:24:48.000000000 -0700
++++ libpcap/Makefile.in 2020-01-04 21:25:56.152375000 -0800
+@@ -69,7 +69,7 @@
+ EXTRA_NETWORK_LIBS=@EXTRA_NETWORK_LIBS@
+
+ # Standard CFLAGS for building members of a shared library
+-FULL_CFLAGS = $(CCOPT) $(SHLIB_CCOPT) $(INCLS) $(DEFS) $(CFLAGS)
++FULL_CFLAGS = -I. $(CCOPT) $(SHLIB_CCOPT) $(INCLS) $(DEFS) $(CFLAGS)
+
+ INSTALL = @INSTALL@
+ INSTALL_PROGRAM = @INSTALL_PROGRAM@