From 223ef02a46ec3ee575a37300cb0851ca6bcb212b Mon Sep 17 00:00:00 2001 From: florian Date: Wed, 19 Sep 2012 15:09:27 +0000 Subject: [PATCH] [package] tcpdump: honor the CONFIG_IPV6 global flag Currently it's always compiled with ipv6 support. Signed-off-by: Jonh Wendell git-svn-id: svn://svn.openwrt.org/openwrt/packages@33470 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- net/tcpdump/Makefile | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/net/tcpdump/Makefile b/net/tcpdump/Makefile index 0e76c58b8..eeed1a8fd 100644 --- a/net/tcpdump/Makefile +++ b/net/tcpdump/Makefile @@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=tcpdump PKG_VERSION:=4.2.1 -PKG_RELEASE:=1 +PKG_RELEASE:=2 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE_URL:=http://www.tcpdump.org/release/ \ @@ -44,8 +44,12 @@ define Package/tcpdump-mini endef CONFIGURE_ARGS += \ - --without-crypto \ + --without-crypto + +ifeq ($(CONFIG_IPV6),y) +CONFIGURE_ARGS += \ --enable-ipv6 +endif CONFIGURE_VARS += \ BUILD_CC="$(TARGET_CC)" \ -- 2.11.0