summaryrefslogtreecommitdiff
path: root/meta/recipes-graphics
diff options
context:
space:
mode:
authorJackie Huang <jackie.huang@windriver.com>2016-08-22 17:05:58 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-09-03 23:45:44 +0100
commit3ec45c648c5c5a690d6d4102f8d65c97c8ff84e9 (patch)
tree7e01e299c7ad1ddf26bc717f625a0add9683025a /meta/recipes-graphics
parentb7ed9b13492b09f7197fc095f8965f62411d9982 (diff)
downloadopenembedded-core-3ec45c648c5c5a690d6d4102f8d65c97c8ff84e9.tar.gz
openembedded-core-3ec45c648c5c5a690d6d4102f8d65c97c8ff84e9.tar.bz2
openembedded-core-3ec45c648c5c5a690d6d4102f8d65c97c8ff84e9.zip
libxfont: 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-lib/libxfont_1.5.1.bb3
1 files changed, 3 insertions, 0 deletions
diff --git a/meta/recipes-graphics/xorg-lib/libxfont_1.5.1.bb b/meta/recipes-graphics/xorg-lib/libxfont_1.5.1.bb
index 1b6e33c717..e01f3311fd 100644
--- a/meta/recipes-graphics/xorg-lib/libxfont_1.5.1.bb
+++ b/meta/recipes-graphics/xorg-lib/libxfont_1.5.1.bb
@@ -20,3 +20,6 @@ BBCLASSEXTEND = "native"
SRC_URI[md5sum] = "96f76ba94b4c909230bac1e2dcd551c4"
SRC_URI[sha256sum] = "b70898527c73f9758f551bbab612af611b8a0962202829568d94f3edf4d86098"
+
+PACKAGECONFIG ??= "${@bb.utils.contains('DISTRO_FEATURES', 'ipv6', 'ipv6', '', d)}"
+PACKAGECONFIG[ipv6] = "--enable-ipv6,--disable-ipv6,"