apr: respect IPv6 settings
authorAlexander Ryzhov <github@ryzhov-al.ru>
Thu, 21 May 2015 06:15:08 +0000 (06:15 +0000)
committerAlexander Ryzhov <github@ryzhov-al.ru>
Thu, 21 May 2015 06:15:08 +0000 (06:15 +0000)
Signed-off-by: Alexander Ryzhov <openwrt@ryzhov-al.ru>
libs/apr/Makefile

index 924db85b4b19015b0423d00c0f6b311f25af8652..d61d31f9e6290af172f2d185f80daffae46cde8a 100644 (file)
@@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
 
 PKG_NAME:=apr
 PKG_VERSION:=1.5.2
-PKG_RELEASE:=1
+PKG_RELEASE:=2
 
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
 PKG_SOURCE_URL:=http://mirrors.ibiblio.org/apache/apr/
@@ -38,7 +38,7 @@ TARGET_CPPFLAGS += -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE
 CONFIGURE_ARGS += \
        --with-devrandom=/dev/urandom \
        --disable-dso \
-       --enable-ipv6
+       $(call autoconf_bool,CONFIG_IPV6,ipv6)
 
 # XXX: ac_cv_sizeof_struct_iovec=1 is just to trick configure
 CONFIGURE_VARS += \