summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJackie Huang <jackie.huang@windriver.com>2016-08-22 17:06:09 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-08-31 17:53:29 +0100
commitc83b2bf75779e11350a0da33b7fdec91281295c5 (patch)
treeb50bbcc679aae292d221c74d13c2fd039dbff188
parent9e09992b07fc4bc52ddba8a335ffd46b908aca1a (diff)
downloadopenembedded-core-contrib-c83b2bf75779e11350a0da33b7fdec91281295c5.tar.gz
openembedded-core-contrib-c83b2bf75779e11350a0da33b7fdec91281295c5.tar.bz2
openembedded-core-contrib-c83b2bf75779e11350a0da33b7fdec91281295c5.zip
xauth: 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-app/xauth_1.0.9.bb3
1 files changed, 3 insertions, 0 deletions
diff --git a/meta/recipes-graphics/xorg-app/xauth_1.0.9.bb b/meta/recipes-graphics/xorg-app/xauth_1.0.9.bb
index b173f4fe8d..59b332373c 100644
--- a/meta/recipes-graphics/xorg-app/xauth_1.0.9.bb
+++ b/meta/recipes-graphics/xorg-app/xauth_1.0.9.bb
@@ -10,3 +10,6 @@ PE = "1"
SRC_URI[md5sum] = "7d6003f32838d5b688e2c8a131083271"
SRC_URI[sha256sum] = "56ce1523eb48b1f8a4f4244fe1c3d8e6af1a3b7d4b0e6063582421b0b68dc28f"
+
+PACKAGECONFIG ??= "${@bb.utils.contains('DISTRO_FEATURES', 'ipv6', 'ipv6', '', d)}"
+PACKAGECONFIG[ipv6] = "--enable-ipv6,--disable-ipv6,"