diff options
Diffstat (limited to 'meta')
-rw-r--r-- | meta/recipes-core/libxml/libxml2.inc | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/meta/recipes-core/libxml/libxml2.inc b/meta/recipes-core/libxml/libxml2.inc index 1314bbfb8d..d337bec0d0 100644 --- a/meta/recipes-core/libxml/libxml2.inc +++ b/meta/recipes-core/libxml/libxml2.inc | |||
@@ -9,8 +9,6 @@ LIC_FILES_CHKSUM = "file://Copyright;md5=2044417e2e5006b65a8b9067b683fcf1 \ | |||
9 | file://list.c;beginline=4;endline=13;md5=cdbfa3dee51c099edb04e39f762ee907 \ | 9 | file://list.c;beginline=4;endline=13;md5=cdbfa3dee51c099edb04e39f762ee907 \ |
10 | file://trio.c;beginline=5;endline=14;md5=6c025753c86d958722ec76e94cae932e" | 10 | file://trio.c;beginline=5;endline=14;md5=6c025753c86d958722ec76e94cae932e" |
11 | 11 | ||
12 | DEPENDS_class-nativesdk = "nativesdk-python" | ||
13 | DEPENDS_class-native = "python-native" | ||
14 | DEPENDS =+ "zlib" | 12 | DEPENDS =+ "zlib" |
15 | 13 | ||
16 | SRC_URI = "ftp://xmlsoft.org/libxml2/libxml2-${PV}.tar.gz;name=libtar \ | 14 | SRC_URI = "ftp://xmlsoft.org/libxml2/libxml2-${PV}.tar.gz;name=libtar \ |
@@ -30,6 +28,8 @@ inherit autotools pkgconfig binconfig-disabled pythonnative ptest | |||
30 | 28 | ||
31 | RDEPENDS_${PN}-ptest += "python-core" | 29 | RDEPENDS_${PN}-ptest += "python-core" |
32 | 30 | ||
31 | RDEPENDS_${PN}-python += "python-core" | ||
32 | |||
33 | RDEPENDS_${PN}-ptest_append_libc-glibc += "glibc-gconv-ebcdic-us glibc-gconv-ibm1141" | 33 | RDEPENDS_${PN}-ptest_append_libc-glibc += "glibc-gconv-ebcdic-us glibc-gconv-ibm1141" |
34 | 34 | ||
35 | # We don't DEPEND on binutils for ansidecl.h so ensure we don't use the header | 35 | # We don't DEPEND on binutils for ansidecl.h so ensure we don't use the header |
@@ -37,16 +37,16 @@ do_configure_prepend () { | |||
37 | sed -i -e '/.*ansidecl.h.*/d' ${S}/configure.ac | 37 | sed -i -e '/.*ansidecl.h.*/d' ${S}/configure.ac |
38 | } | 38 | } |
39 | 39 | ||
40 | do_configure_prepend_class-nativesdk () { | 40 | export PYTHON_SITE_PACKAGES="${PYTHON_SITEPACKAGES_DIR}" |
41 | # Ensure we get the correct site-packages path | 41 | |
42 | export PYTHON_SITE_PACKAGES="${PYTHON_SITEPACKAGES_DIR}" | 42 | PACKAGECONFIG ??= "python" |
43 | } | ||
44 | 43 | ||
44 | PACKAGECONFIG[python] = "--with-python=${PYTHON},--without-python,python" | ||
45 | # WARNING: zlib is require for RPM use | 45 | # WARNING: zlib is require for RPM use |
46 | EXTRA_OECONF = "--without-python --without-debug --without-legacy --with-catalog --without-docbook --with-c14n --without-lzma --with-fexceptions" | 46 | EXTRA_OECONF = "--without-debug --without-legacy --with-catalog --without-docbook --with-c14n --without-lzma --with-fexceptions" |
47 | EXTRA_OECONF_class-native = "--with-python=${STAGING_BINDIR}/python --without-legacy --without-docbook --with-c14n --without-lzma --with-zlib" | 47 | EXTRA_OECONF_class-native = "--without-legacy --without-docbook --with-c14n --without-lzma --with-zlib" |
48 | EXTRA_OECONF_class-nativesdk = "--with-python=${STAGING_BINDIR}/python --without-legacy --without-docbook --with-c14n --without-lzma --with-zlib" | 48 | EXTRA_OECONF_class-nativesdk = "--without-legacy --without-docbook --with-c14n --without-lzma --with-zlib" |
49 | EXTRA_OECONF_linuxstdbase = "--without-python --with-debug --with-legacy --with-docbook --with-c14n --without-lzma --with-zlib" | 49 | EXTRA_OECONF_linuxstdbase = "--with-debug --with-legacy --with-docbook --with-c14n --without-lzma --with-zlib" |
50 | 50 | ||
51 | # required for pythong binding | 51 | # required for pythong binding |
52 | export HOST_SYS | 52 | export HOST_SYS |