[gnome-continuous-yocto/gnomeostree-3.28-rocko: 2223/8267] libxml2: control ipv6 support based on DISTRO_FEATURES
- From: Emmanuele Bassi <ebassi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-continuous-yocto/gnomeostree-3.28-rocko: 2223/8267] libxml2: control ipv6 support based on DISTRO_FEATURES
- Date: Sat, 16 Dec 2017 22:55:42 +0000 (UTC)
commit 75f86b449a222f0b52bd892d4987af9eb2d32117
Author: Jackie Huang <jackie huang windriver com>
Date: Mon Aug 22 17:05:59 2016 +0800
libxml2: control ipv6 support based on DISTRO_FEATURES
Add PACKAGECONFIG for ipv6 and control it based
on DISTRO_FEATURES.
(From OE-Core rev: 1a505037e9a6dc86b523b378d6446baae71f1a2c)
Signed-off-by: Jackie Huang <jackie huang windriver com>
Signed-off-by: Richard Purdie <richard purdie linuxfoundation org>
meta/recipes-core/libxml/libxml2_2.9.4.bb | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
---
diff --git a/meta/recipes-core/libxml/libxml2_2.9.4.bb b/meta/recipes-core/libxml/libxml2_2.9.4.bb
index e2febf0..265d2b7 100644
--- a/meta/recipes-core/libxml/libxml2_2.9.4.bb
+++ b/meta/recipes-core/libxml/libxml2_2.9.4.bb
@@ -38,8 +38,11 @@ RDEPENDS_${PN}-ptest_append_libc-glibc = " glibc-gconv-ebcdic-us glibc-gconv-ibm
export PYTHON_SITE_PACKAGES="${PYTHON_SITEPACKAGES_DIR}"
-PACKAGECONFIG ??= "python"
+PACKAGECONFIG ??= "python \
+ ${@bb.utils.contains('DISTRO_FEATURES', 'ipv6', 'ipv6', '', d)} \
+"
PACKAGECONFIG[python] = "--with-python=${PYTHON},--without-python,python"
+PACKAGECONFIG[ipv6] = "--enable-ipv6,--disable-ipv6,"
# WARNING: zlib is require for RPM use
EXTRA_OECONF = "--without-debug --without-legacy --with-catalog --without-docbook --with-c14n --without-lzma
--with-fexceptions"
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]