summaryrefslogtreecommitdiff
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-09-03 23:45:45 +0100
commit35d03493ff18c15b37149850287f1e3bc0af6419 (patch)
tree29fa1b4942bfc1beff13d7b9e5e339ffcdd596c0
parentab699155f2fa6f19b4020e7d1c2097e867d9e977 (diff)
downloadopenembedded-core-35d03493ff18c15b37149850287f1e3bc0af6419.tar.gz
openembedded-core-35d03493ff18c15b37149850287f1e3bc0af6419.tar.bz2
openembedded-core-35d03493ff18c15b37149850287f1e3bc0af6419.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,"