aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/libxml
diff options
context:
space:
mode:
authorKoen Kooi <koen@openembedded.org>2010-04-15 15:54:28 +0200
committerKoen Kooi <koen@openembedded.org>2010-04-15 15:55:43 +0200
commita25f07ca6159e1cd5b8a215ca5da8405fb1b9053 (patch)
tree8ae8b5cfcb07868ec422913f86ed9721095e0d2f /recipes/libxml
parentd1b29786adc8e42f7e56057527880ee9924a0831 (diff)
downloadopenembedded-a25f07ca6159e1cd5b8a215ca5da8405fb1b9053.tar.gz
libxml2: fix regression where -native wouldn't build python stuff needed for xml2po anymore
* also fix 1 bug in do_install where it pokes stuff outside of ${D} * binconfig hack is still there, though
Diffstat (limited to 'recipes/libxml')
-rw-r--r--recipes/libxml/libxml2.inc12
1 files changed, 8 insertions, 4 deletions
diff --git a/recipes/libxml/libxml2.inc b/recipes/libxml/libxml2.inc
index 8d4900208e..e3a58918af 100644
--- a/recipes/libxml/libxml2.inc
+++ b/recipes/libxml/libxml2.inc
@@ -7,7 +7,7 @@ DEPENDS_virtclass-native = "python-native"
SRC_URI = "ftp://xmlsoft.org/libxml2/libxml2-${PV}.tar.gz;name=archive"
S = "${WORKDIR}/${BPN}-${PV}"
-INC_PR = "r6"
+INC_PR = "r7"
BBCLASSEXTEND = "native"
@@ -20,17 +20,21 @@ EXTRA_OECONF = "\
--with-docbook \
--with-c14n"
-EXTRA_OECONF_append = " --without-python"
-EXTRA_OECONF_append_virtclass-native = " --with-python=${PYTHON_DIR}"
+XPY = ""
+XPY_virtclass-native = " --with-python=${PYTHON_DIR}"
+
+EXTRA_OECONF += "${XPY}"
export LDFLAGS += "-ldl"
do_install_append() {
- install -m 0644 libxml.m4 ${STAGING_DATADIR}/aclocal/
+ install -d ${D}${datadir}/aclocal
+ install -m 0644 libxml.m4 ${D}${datadir}/aclocal
#this is need it by php during its install
install -d ${STAGING_BINDIR_CROSS}
install -m 0755 xml2-config ${STAGING_BINDIR_CROSS}/
}
+
do_install_append_virtclass-native() {
:
}