summaryrefslogtreecommitdiff
path: root/package/bind
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2010-08-01 16:43:53 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2010-08-01 16:43:53 +0200
commit6aa7532505d6db002a2d2fc33ebc881d3c4e1bb7 (patch)
tree44d425c21d9e8b12004f58431532f47cf6273d99 /package/bind
parent3da99af93a2f24288aba5d8aa2879ce1b6e95dbb (diff)
disable global ipv6 configuration symbol, use flavours instead
Diffstat (limited to 'package/bind')
-rw-r--r--package/bind/Makefile9
1 files changed, 9 insertions, 0 deletions
diff --git a/package/bind/Makefile b/package/bind/Makefile
index c2dda8f42..2ad76e560 100644
--- a/package/bind/Makefile
+++ b/package/bind/Makefile
@@ -22,6 +22,9 @@ PKG_DESCR_5:= dnssec utilities
PKG_DESCR_6:= host utility
PKG_DESCR_7:= dig utility
+PKG_FLAVOURS:= WITH_IPV6
+PKGFD_WITH_IPV6:= enable IPv6 support
+
include ${TOPDIR}/mk/package.mk
$(eval $(call PKG_template,BIND_SERVER,bind-server,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
@@ -40,6 +43,12 @@ CONFIGURE_ARGS+= --with-randomdev=/dev/urandom \
--enable-epoll \
--with-libtool
+ifneq (${ADK_PACKAGE_BIND_WITH_IPV6},)
+CONFIGURE_ARGS+= --enable-ipv6
+else
+CONFIGURE_ARGS+= --disable-ipv6
+endif
+
pre-build:
${MAKE} -C ${WRKBUILD}/lib/dns \
BUILD_CC="${HOSTCC}" \