From e27e2351fae08fe715ce5d7688fcf15f16a0ad52 Mon Sep 17 00:00:00 2001 From: florian Date: Sat, 29 Jan 2011 22:09:19 +0000 Subject: [PATCH] [package] convert lighttpd and net-snmp to use autoconf_bool for ipv6 git-svn-id: svn://svn.openwrt.org/openwrt/packages@25248 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- net/lighttpd/Makefile | 6 +----- net/net-snmp/Makefile | 2 +- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/net/lighttpd/Makefile b/net/lighttpd/Makefile index 9b344cce5..0eebabcc3 100644 --- a/net/lighttpd/Makefile +++ b/net/lighttpd/Makefile @@ -225,15 +225,11 @@ CONFIGURE_ARGS+= \ --with-openssl="$(STAGING_DIR)/usr" \ --with-pcre \ --without-valgrind \ + $(call autoconf_bool,CONFIG_IPV6,ipv6) CONFIGURE_VARS+= \ PCRE_LIB="-lpcre" \ -ifeq ($(CONFIG_IPV6),y) - CONFIGURE_ARGS+= \ - --enable-ipv6 -endif - ifneq ($(SDK)$(CONFIG_PACKAGE_lighttpd-mod-webdav),) CONFIGURE_ARGS+= \ --with-webdav-locks \ diff --git a/net/net-snmp/Makefile b/net/net-snmp/Makefile index d4b1227c4..51742a22e 100644 --- a/net/net-snmp/Makefile +++ b/net/net-snmp/Makefile @@ -172,10 +172,10 @@ CONFIGURE_ARGS += \ --without-libwrap \ --without-rpm \ --without-zlib \ + $(call autoconf_bool,CONFIG_IPV6,ipv6) \ ifeq ($(CONFIG_IPV6),y) SNMP_TRANSPORTS_INCLUDED+= UDPIPv6 -CONFIGURE_ARGS+= --enable-ipv6 endif TARGET_LDFLAGS += -L$(TOOLCHAIN_DIR)/usr/lib -- 2.11.0