summaryrefslogtreecommitdiffstats
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-08-31 17:53:28 +0100
commitcf536e6bfd0595ae7f75a883e8151f697dc4dbd7 (patch)
treeddcbc3086d8388ad0f9110408e0c5440ef0c5da9
parentd25795097cc2349e85707899362c7454c5235d8e (diff)
downloadopenembedded-core-contrib-cf536e6bfd0595ae7f75a883e8151f697dc4dbd7.tar.gz
openembedded-core-contrib-cf536e6bfd0595ae7f75a883e8151f697dc4dbd7.tar.bz2
openembedded-core-contrib-cf536e6bfd0595ae7f75a883e8151f697dc4dbd7.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>
-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,"