diff options
-rw-r--r-- | meta/recipes-core/libxml/libxml2_2.9.4.bb | 20 |
1 files changed, 11 insertions, 9 deletions
diff --git a/meta/recipes-core/libxml/libxml2_2.9.4.bb b/meta/recipes-core/libxml/libxml2_2.9.4.bb index 023fe9956d..0c3d683623 100644 --- a/meta/recipes-core/libxml/libxml2_2.9.4.bb +++ b/meta/recipes-core/libxml/libxml2_2.9.4.bb | |||
@@ -32,22 +32,24 @@ SRC_URI[testtar.sha256sum] = "96151685cec997e1f9f3387e3626d61e6284d4d6e66e0e440c | |||
32 | 32 | ||
33 | BINCONFIG = "${bindir}/xml2-config" | 33 | BINCONFIG = "${bindir}/xml2-config" |
34 | 34 | ||
35 | inherit autotools pkgconfig binconfig-disabled pythonnative ptest | 35 | PACKAGECONFIG ??= "python \ |
36 | ${@bb.utils.filter('DISTRO_FEATURES', 'ipv6', d)} \ | ||
37 | " | ||
38 | PACKAGECONFIG[python] = "--with-python=${PYTHON},--without-python,python" | ||
39 | PACKAGECONFIG[ipv6] = "--enable-ipv6,--disable-ipv6," | ||
40 | |||
41 | inherit autotools pkgconfig binconfig-disabled ptest | ||
42 | |||
43 | inherit ${@bb.utils.contains('PACKAGECONFIG', 'python', 'pythonnative', '', d)} | ||
36 | 44 | ||
37 | RDEPENDS_${PN}-ptest += "python-core" | 45 | RDEPENDS_${PN}-ptest += "make ${@bb.utils.contains('PACKAGECONFIG', 'python', 'python-core', '', d)}" |
38 | 46 | ||
39 | RDEPENDS_${PN}-python += "python-core" | 47 | RDEPENDS_${PN}-python += "${@bb.utils.contains('PACKAGECONFIG', 'python', 'python-core', '', d)}" |
40 | 48 | ||
41 | RDEPENDS_${PN}-ptest_append_libc-glibc = " glibc-gconv-ebcdic-us glibc-gconv-ibm1141" | 49 | RDEPENDS_${PN}-ptest_append_libc-glibc = " glibc-gconv-ebcdic-us glibc-gconv-ibm1141" |
42 | 50 | ||
43 | export PYTHON_SITE_PACKAGES="${PYTHON_SITEPACKAGES_DIR}" | 51 | export PYTHON_SITE_PACKAGES="${PYTHON_SITEPACKAGES_DIR}" |
44 | 52 | ||
45 | PACKAGECONFIG ??= "python \ | ||
46 | ${@bb.utils.filter('DISTRO_FEATURES', 'ipv6', d)} \ | ||
47 | " | ||
48 | PACKAGECONFIG[python] = "--with-python=${PYTHON},--without-python,python" | ||
49 | PACKAGECONFIG[ipv6] = "--enable-ipv6,--disable-ipv6," | ||
50 | |||
51 | # WARNING: zlib is require for RPM use | 53 | # WARNING: zlib is require for RPM use |
52 | EXTRA_OECONF = "--without-debug --without-legacy --with-catalog --without-docbook --with-c14n --without-lzma --with-fexceptions" | 54 | EXTRA_OECONF = "--without-debug --without-legacy --with-catalog --without-docbook --with-c14n --without-lzma --with-fexceptions" |
53 | EXTRA_OECONF_class-native = "--without-legacy --without-docbook --with-c14n --without-lzma --with-zlib" | 55 | EXTRA_OECONF_class-native = "--without-legacy --without-docbook --with-c14n --without-lzma --with-zlib" |