From: Steven Barth <cyrus@openwrt.org>
Date: Mon, 25 Mar 2013 11:22:12 +0000 (+0000)
Subject: iptables: don't use --enable-ipv6 if IPv6 is disabled
X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=5a9c2c77b4a453e687d6c17cb5d4e3e6dae90cc4;p=openwrt%2Fstaging%2Fzorun.git

iptables: don't use --enable-ipv6 if IPv6 is disabled

SVN-Revision: 36125
---

diff --git a/package/network/utils/iptables/Makefile b/package/network/utils/iptables/Makefile
index 9d695c670b..371153f665 100644
--- a/package/network/utils/iptables/Makefile
+++ b/package/network/utils/iptables/Makefile
@@ -10,7 +10,7 @@ include $(INCLUDE_DIR)/kernel.mk
 
 PKG_NAME:=iptables
 PKG_VERSION:=1.4.18
-PKG_RELEASE:=2
+PKG_RELEASE:=3
 
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
 PKG_SOURCE_URL:=http://www.netfilter.org/projects/iptables/files \
@@ -347,7 +347,6 @@ TARGET_CFLAGS += \
 CONFIGURE_ARGS += \
 	--enable-shared \
 	--enable-devel \
-	$(if $(CONFIG_IPV6),--enable-ipv6,--disable-ipv6) \
 	--with-kernel="$(LINUX_DIR)/user_headers" \
 	--with-xtlibdir=/usr/lib/iptables \
 	--enable-static