summaryrefslogtreecommitdiff
path: root/meta/recipes-graphics
diff options
context:
space:
mode:
authorJackie Huang <jackie.huang@windriver.com>2016-08-22 17:06:10 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-09-03 23:45:45 +0100
commit87498d742ffaa1e2307ac802e508c8572253a568 (patch)
treee896c74c77c4bef92d5f517141ddc8a22e45ddd0 /meta/recipes-graphics
parent35d03493ff18c15b37149850287f1e3bc0af6419 (diff)
downloadopenembedded-core-87498d742ffaa1e2307ac802e508c8572253a568.tar.gz
openembedded-core-87498d742ffaa1e2307ac802e508c8572253a568.tar.bz2
openembedded-core-87498d742ffaa1e2307ac802e508c8572253a568.zip
xhost: 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>
Diffstat (limited to 'meta/recipes-graphics')
-rw-r--r--meta/recipes-graphics/xorg-app/xhost_1.0.7.bb3
1 files changed, 3 insertions, 0 deletions
diff --git a/meta/recipes-graphics/xorg-app/xhost_1.0.7.bb b/meta/recipes-graphics/xorg-app/xhost_1.0.7.bb
index 825737f39a..f23d258e0b 100644
--- a/meta/recipes-graphics/xorg-app/xhost_1.0.7.bb
+++ b/meta/recipes-graphics/xorg-app/xhost_1.0.7.bb
@@ -15,3 +15,6 @@ PE = "1"
SRC_URI[md5sum] = "f5d490738b148cb7f2fe760f40f92516"
SRC_URI[sha256sum] = "93e619ee15471f576cfb30c663e18f5bc70aca577a63d2c2c03f006a7837c29a"
+
+PACKAGECONFIG ??= "${@bb.utils.contains('DISTRO_FEATURES', 'ipv6', 'ipv6', '', d)}"
+PACKAGECONFIG[ipv6] = "--enable-ipv6,--disable-ipv6,"