diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2010-08-01 16:43:53 +0200 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2010-08-01 16:43:53 +0200 |
commit | 6aa7532505d6db002a2d2fc33ebc881d3c4e1bb7 (patch) | |
tree | 44d425c21d9e8b12004f58431532f47cf6273d99 /package/apr/Makefile | |
parent | 3da99af93a2f24288aba5d8aa2879ce1b6e95dbb (diff) |
disable global ipv6 configuration symbol, use flavours instead
Diffstat (limited to 'package/apr/Makefile')
-rw-r--r-- | package/apr/Makefile | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/package/apr/Makefile b/package/apr/Makefile index 4f65c5eef..7da0bf8b5 100644 --- a/package/apr/Makefile +++ b/package/apr/Makefile @@ -13,6 +13,9 @@ PKG_DEPENDS:= libpthread PKG_URL:= http://apr.apache.org PKG_SITES:= http://gd.tuwien.ac.at/infosys/servers/http/apache/dist/${PKG_NAME}/ +PKG_FLAVOURS:= WITH_IPV6 +PKGFD_WITH_IPV6:= enable IPv6 support + include ${TOPDIR}/mk/package.mk $(eval $(call PKG_template,APR,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION})) @@ -25,8 +28,15 @@ CONFIGURE_ENV+= ac_cv_file__dev_zero=yes CONFIGURE_ENV+= apr_cv_process_shared_works=no CONFIGURE_ENV+= ac_cv_lib_nsl_gethostbyname=no CONFIGURE_ENV+= apr_cv_tcp_nodelay_with_cork=no -CONFIGURE_ARGS+= --with-devrandom=/dev/urandom -CONFIGURE_ARGS+= --enable-threads + +CONFIGURE_ARGS+= --with-devrandom=/dev/urandom \ + --enable-threads + +ifneq (${ADK_PACKAGE_LIBPCAP_WITH_IPV6},) +CONFIGURE_ARGS+= --enable-ipv6 +else +CONFIGURE_ARGS+= --disable-ipv6 +endif post-install: ${INSTALL_DIR} ${IDIR_APR}/usr/lib |