summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Larson <clarson@kergoth.com>2004-05-22 18:37:48 +0000
committerChris Larson <clarson@kergoth.com>2004-05-22 18:37:48 +0000
commit0f391a2e76cf8a7dd052dac8c58b432b1de450e9 (patch)
tree0abbb2147d708c5387d5dcf0518c097c47421a51
parent1afdce3a3b0393117022a91fee0804f6234811df (diff)
Add prepend of source include dir to flags variables in libpcap 0.8.x.
BKrev: 40af9dfcFSCP4amwpbTxXbw54Rojlg
-rw-r--r--libpcap/libpcap_0.8.1.oe3
-rw-r--r--libpcap/libpcap_0.8.3.oe3
2 files changed, 6 insertions, 0 deletions
diff --git a/libpcap/libpcap_0.8.1.oe b/libpcap/libpcap_0.8.1.oe
index 988d8876fc..af38d9220c 100644
--- a/libpcap/libpcap_0.8.1.oe
+++ b/libpcap/libpcap_0.8.1.oe
@@ -10,6 +10,9 @@ SRC_URI = "http://www.tcpdump.org/release/libpcap-${PV}.tar.gz; \
inherit autotools
EXTRA_OECONF = "--with-pcap=linux"
+CPPFLAGS_prepend = "-I${S} "
+CFLAGS_prepend = "-I${S} "
+CXXFLAGS_prepend = "-I${S} "
do_configure_prepend () {
if [ ! -e acinclude.m4 ]; then
diff --git a/libpcap/libpcap_0.8.3.oe b/libpcap/libpcap_0.8.3.oe
index 8abedc1abb..07518e696c 100644
--- a/libpcap/libpcap_0.8.3.oe
+++ b/libpcap/libpcap_0.8.3.oe
@@ -12,6 +12,9 @@ SRC_URI = "http://www.tcpdump.org/release/libpcap-${PV}.tar.gz; \
inherit autotools
EXTRA_OECONF = "--with-pcap=linux"
+CPPFLAGS_prepend = "-I${S} "
+CFLAGS_prepend = "-I${S} "
+CXXFLAGS_prepend = "-I${S} "
do_configure_prepend () {
if [ ! -e acinclude.m4 ]; then