From f02886e2f044898687daef6ca8f33e77cc86341c Mon Sep 17 00:00:00 2001 From: Eric Andersen Date: Sat, 20 Dec 2003 00:02:13 +0000 Subject: [PATCH] Fixup the regex used for iptables so it actually works --- make/iptables.mk | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/make/iptables.mk b/make/iptables.mk index edebaff78b..56bbf1b27c 100644 --- a/make/iptables.mk +++ b/make/iptables.mk @@ -15,9 +15,8 @@ $(IPTABLES_BUILD_DIR)/.unpacked: $(DL_DIR)/$(IPTABLES_SOURCE) touch $(IPTABLES_BUILD_DIR)/.unpacked $(IPTABLES_BUILD_DIR)/.configured: $(IPTABLES_BUILD_DIR)/.unpacked - $(SED) "s@shell.*YES.*@shell grep -q '__UCLIBC_HAS_IPV6__.*1' \ - $(BUILD_DIR)/uClibc/include/bits/uClibc_config.h && \ - echo YES\), YES\)@;" $(IPTABLES_BUILD_DIR)/Makefile + $(SED) "s;\[ -f /usr/include/netinet/ip6.h \];grep -q '__UCLIBC_HAS_IPV6__ 1' \ + $(BUILD_DIR)/uClibc/include/bits/uClibc_config.h;" $(IPTABLES_BUILD_DIR)/Makefile touch $(IPTABLES_BUILD_DIR)/.configured $(IPTABLES_BUILD_DIR)/iptables: $(IPTABLES_BUILD_DIR)/.configured -- 2.30.2