summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJackie Huang <jackie.huang@windriver.com>2016-08-22 17:05:55 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-08-31 17:53:28 +0100
commit9e96b3027d17ccccd3688d783c1704687f10bcf3 (patch)
tree47638b43eefe14b1e5c8934a466b0393c0fc754b
parente2549cf5bab48c2247277671a93112df80b78767 (diff)
downloadopenembedded-core-contrib-9e96b3027d17ccccd3688d783c1704687f10bcf3.tar.gz
openembedded-core-contrib-9e96b3027d17ccccd3688d783c1704687f10bcf3.tar.bz2
openembedded-core-contrib-9e96b3027d17ccccd3688d783c1704687f10bcf3.zip
libice: control ipv6 support based on DISTRO_FEATURES
Add PACKAGECONFIG for ipv6 and control it based on DISTRO_FEATURES. Signed-off-by: Jackie Huang <jackie.huang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/recipes-graphics/xorg-lib/libice_1.0.9.bb3
1 files changed, 2 insertions, 1 deletions
diff --git a/meta/recipes-graphics/xorg-lib/libice_1.0.9.bb b/meta/recipes-graphics/xorg-lib/libice_1.0.9.bb
index 5049b7ee02..b361ad6ddd 100644
--- a/meta/recipes-graphics/xorg-lib/libice_1.0.9.bb
+++ b/meta/recipes-graphics/xorg-lib/libice_1.0.9.bb
@@ -23,5 +23,6 @@ BBCLASSEXTEND = "native"
SRC_URI[md5sum] = "addfb1e897ca8079531669c7c7711726"
SRC_URI[sha256sum] = "8f7032f2c1c64352b5423f6b48a8ebdc339cc63064af34d66a6c9aa79759e202"
-PACKAGECONFIG ??= ""
+PACKAGECONFIG ??= "${@bb.utils.contains('DISTRO_FEATURES', 'ipv6', 'ipv6', '', d)}"
PACKAGECONFIG[arc4] = "ac_cv_lib_bsd_arc4random_buf=yes,ac_cv_lib_bsd_arc4random_buf=no,libbsd"
+PACKAGECONFIG[ipv6] = "--enable-ipv6,--disable-ipv6,"