1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-20 00:21:35 +00:00

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
This commit is contained in:
Greg Lewis 2020-02-22 17:59:42 +00:00
parent 29e49aeb08
commit 45074196e0
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=526844

View File

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