aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/tcpdump/tcpdump_4.0.0.bb
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/tcpdump/tcpdump_4.0.0.bb')
-rw-r--r--recipes/tcpdump/tcpdump_4.0.0.bb6
1 files changed, 4 insertions, 2 deletions
diff --git a/recipes/tcpdump/tcpdump_4.0.0.bb b/recipes/tcpdump/tcpdump_4.0.0.bb
index f36cc0aafa..b29f770e07 100644
--- a/recipes/tcpdump/tcpdump_4.0.0.bb
+++ b/recipes/tcpdump/tcpdump_4.0.0.bb
@@ -4,19 +4,21 @@ LICENSE = "BSD"
SECTION = "console/network"
PRIORITY = "optional"
DEPENDS = "libpcap"
-PR = "r2"
+PR = "r3"
SRC_URI = " \
http://www.tcpdump.org/release/tcpdump-${PV}.tar.gz \
file://tcpdump_configure_no_-O2.patch;patch=1 \
file://no-ipv6-tcpdump4.patch;patch=1 \
file://0001-minimal-IEEE802.15.4-allowed.patch;patch=1 \
+ file://ipv6-cross.patch;patch=1 \
"
inherit autotools
# ac_cv_linux_vers=${ac_cv_linux_vers=2}
-EXTRA_OECONF = "--without-crypto"
+EXTRA_OECONF = "--without-crypto \
+ ${@base_contains('DISTRO_FEATURES', 'ipv6', '--enable-ipv6', '--disable-ipv6', d)}"
do_configure() {
gnu-configize