From 9767b4cda1398f089e979fdec352de2a6c83c217 Mon Sep 17 00:00:00 2001 From: Florian Fainelli 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 SVN-Revision: 33470 --- net/tcpdump/Makefile | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/net/tcpdump/Makefile b/net/tcpdump/Makefile index 0e76c58b86..eeed1a8fd5 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.30.2