summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
authorAlexander Kanavin <alexander.kanavin@linux.intel.com>2017-04-21 15:39:54 +0300
committerRichard Purdie <richard.purdie@linuxfoundation.org>2017-05-11 16:59:19 +0100
commit234d0410031a00d18ca0e582260d67641362421d (patch)
tree8342b0a9a5a40f0dde42a90ec8abc1bbc85bfcc5 /meta
parent3ad3fda6c5f084f4fa1485b30aa333287989bee7 (diff)
downloadpoky-234d0410031a00d18ca0e582260d67641362421d.tar.gz
libxml2: move python module to Python 3
(From OE-Core rev: e73ac0196f031d254969f6c693a0e31071270cab) Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r--meta/recipes-core/libxml/libxml2_2.9.4.bb8
1 files changed, 4 insertions, 4 deletions
diff --git a/meta/recipes-core/libxml/libxml2_2.9.4.bb b/meta/recipes-core/libxml/libxml2_2.9.4.bb
index 7d0e121be1..ea0d3b88af 100644
--- a/meta/recipes-core/libxml/libxml2_2.9.4.bb
+++ b/meta/recipes-core/libxml/libxml2_2.9.4.bb
@@ -36,16 +36,16 @@ BINCONFIG = "${bindir}/xml2-config"
36PACKAGECONFIG ??= "python \ 36PACKAGECONFIG ??= "python \
37 ${@bb.utils.filter('DISTRO_FEATURES', 'ipv6', d)} \ 37 ${@bb.utils.filter('DISTRO_FEATURES', 'ipv6', d)} \
38" 38"
39PACKAGECONFIG[python] = "--with-python=${PYTHON},--without-python,python" 39PACKAGECONFIG[python] = "--with-python=${PYTHON},--without-python,python3"
40PACKAGECONFIG[ipv6] = "--enable-ipv6,--disable-ipv6," 40PACKAGECONFIG[ipv6] = "--enable-ipv6,--disable-ipv6,"
41 41
42inherit autotools pkgconfig binconfig-disabled ptest 42inherit autotools pkgconfig binconfig-disabled ptest
43 43
44inherit ${@bb.utils.contains('PACKAGECONFIG', 'python', 'pythonnative', '', d)} 44inherit ${@bb.utils.contains('PACKAGECONFIG', 'python', 'python3native', '', d)}
45 45
46RDEPENDS_${PN}-ptest += "make ${@bb.utils.contains('PACKAGECONFIG', 'python', 'python-core', '', d)}" 46RDEPENDS_${PN}-ptest += "make ${@bb.utils.contains('PACKAGECONFIG', 'python', 'python3-core', '', d)}"
47 47
48RDEPENDS_${PN}-python += "${@bb.utils.contains('PACKAGECONFIG', 'python', 'python-core', '', d)}" 48RDEPENDS_${PN}-python += "${@bb.utils.contains('PACKAGECONFIG', 'python', 'python3-core', '', d)}"
49 49
50RDEPENDS_${PN}-ptest_append_libc-glibc = " glibc-gconv-ebcdic-us glibc-gconv-ibm1141" 50RDEPENDS_${PN}-ptest_append_libc-glibc = " glibc-gconv-ebcdic-us glibc-gconv-ibm1141"
51 51