summaryrefslogtreecommitdiffstats
path: root/meta/recipes-connectivity/libpcap/libpcap.inc
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-connectivity/libpcap/libpcap.inc')
-rw-r--r--meta/recipes-connectivity/libpcap/libpcap.inc5
1 files changed, 1 insertions, 4 deletions
diff --git a/meta/recipes-connectivity/libpcap/libpcap.inc b/meta/recipes-connectivity/libpcap/libpcap.inc
index 7b29a52dcd..4453a9e2ae 100644
--- a/meta/recipes-connectivity/libpcap/libpcap.inc
+++ b/meta/recipes-connectivity/libpcap/libpcap.inc
@@ -19,6 +19,7 @@ BINCONFIG = "${bindir}/pcap-config"
19inherit autotools binconfig-disabled pkgconfig bluetooth 19inherit autotools binconfig-disabled pkgconfig bluetooth
20 20
21EXTRA_OECONF = "--with-pcap=linux" 21EXTRA_OECONF = "--with-pcap=linux"
22EXTRA_AUTORECONF += "--exclude=aclocal"
22 23
23PACKAGECONFIG ??= "${@bb.utils.contains('DISTRO_FEATURES', 'bluetooth', '${BLUEZ}', '', d)} \ 24PACKAGECONFIG ??= "${@bb.utils.contains('DISTRO_FEATURES', 'bluetooth', '${BLUEZ}', '', d)} \
24 ${@bb.utils.contains('DISTRO_FEATURES', 'ipv6', 'ipv6', '', d)} \ 25 ${@bb.utils.contains('DISTRO_FEATURES', 'ipv6', 'ipv6', '', d)} \
@@ -26,7 +27,6 @@ PACKAGECONFIG ??= "${@bb.utils.contains('DISTRO_FEATURES', 'bluetooth', '${BLUEZ
26PACKAGECONFIG[bluez4] = "--enable-bluetooth,--disable-bluetooth,bluez4" 27PACKAGECONFIG[bluez4] = "--enable-bluetooth,--disable-bluetooth,bluez4"
27# Add a dummy PACKAGECONFIG for bluez5 since it is not supported by libpcap. 28# Add a dummy PACKAGECONFIG for bluez5 since it is not supported by libpcap.
28PACKAGECONFIG[bluez5] = ",," 29PACKAGECONFIG[bluez5] = ",,"
29PACKAGECONFIG[canusb] = "--enable-canusb,--enable-canusb=no,libusb"
30PACKAGECONFIG[dbus] = "--enable-dbus,--disable-dbus,dbus" 30PACKAGECONFIG[dbus] = "--enable-dbus,--disable-dbus,dbus"
31PACKAGECONFIG[ipv6] = "--enable-ipv6,--disable-ipv6," 31PACKAGECONFIG[ipv6] = "--enable-ipv6,--disable-ipv6,"
32PACKAGECONFIG[libnl] = "--with-libnl,--without-libnl,libnl" 32PACKAGECONFIG[libnl] = "--with-libnl,--without-libnl,libnl"
@@ -36,8 +36,5 @@ CFLAGS_prepend = "-I${S} "
36CXXFLAGS_prepend = "-I${S} " 36CXXFLAGS_prepend = "-I${S} "
37 37
38do_configure_prepend () { 38do_configure_prepend () {
39 if [ ! -e ${S}/acinclude.m4 ]; then
40 cat ${S}/aclocal.m4 > ${S}/acinclude.m4
41 fi
42 sed -i -e's,^V_RPATH_OPT=.*$,V_RPATH_OPT=,' ${S}/pcap-config.in 39 sed -i -e's,^V_RPATH_OPT=.*$,V_RPATH_OPT=,' ${S}/pcap-config.in
43} 40}