summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLi Wang <li.wang@windriver.com>2013-05-29 10:09:58 -0500
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-05-29 22:20:23 +0100
commit984eb9e25b658c5e9a870983841060aca32bc137 (patch)
tree6134f4afe9a64e2cf313ef7e99dea2ca35a40c5c
parent2348ce4fccf0ec4f3bc7aacf953eb03dfac0642a (diff)
downloadopenembedded-core-984eb9e25b658c5e9a870983841060aca32bc137.tar.gz
openembedded-core-984eb9e25b658c5e9a870983841060aca32bc137.tar.bz2
openembedded-core-984eb9e25b658c5e9a870983841060aca32bc137.zip
bind: add ipv6 support
Make ipv6 configure dependent on DISTRO_FEATURES. Signed-off-by: Li Wang <li.wang@windriver.com> Signed-off-by: Mark Hatle <mark.hatle@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/recipes-connectivity/bind/bind_9.8.1.bb3
1 files changed, 2 insertions, 1 deletions
diff --git a/meta/recipes-connectivity/bind/bind_9.8.1.bb b/meta/recipes-connectivity/bind/bind_9.8.1.bb
index 0663313fff..b807dbf1a7 100644
--- a/meta/recipes-connectivity/bind/bind_9.8.1.bb
+++ b/meta/recipes-connectivity/bind/bind_9.8.1.bb
@@ -18,7 +18,8 @@ SRC_URI[md5sum] = "cf31117c5d35af34d4c0702970ad9fb7"
SRC_URI[sha256sum] = "02285dc429cb2a6687a1b2446e9ee22c1df27f2577225b05be5092395ee7c92c"
# --enable-exportlib is necessary for building dhcp
-EXTRA_OECONF = " --enable-ipv6=no --with-randomdev=/dev/random --disable-threads \
+ENABLE_IPV6 = "--enable-ipv6=${@base_contains('DISTRO_FEATURES', 'ipv6', 'yes', 'no', d)}"
+EXTRA_OECONF = " ${ENABLE_IPV6} --with-randomdev=/dev/random --disable-threads \
--disable-devpoll --disable-epoll --with-gost=no \
--with-gssapi=no \
--sysconfdir=${sysconfdir}/bind \