ports/security/nmap/files/patch-libpcap_Makefile.in
Greg Lewis 45074196e0 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
2020-02-22 17:59:42 +00:00

11 lines
442 B
Text

--- 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@