[oe-commits] Koen Kooi : libxml2: fix regression where -native wouldn' t build python stuff needed for xml2po anymore

git version control git at git.openembedded.org
Thu Apr 15 13:56:05 UTC 2010


Module: openembedded.git
Branch: org.openembedded.dev
Commit: a25f07ca6159e1cd5b8a215ca5da8405fb1b9053
URL:    http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=a25f07ca6159e1cd5b8a215ca5da8405fb1b9053

Author: Koen Kooi <koen at openembedded.org>
Date:   Thu Apr 15 15:54:28 2010 +0200

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

---

 recipes/libxml/libxml2.inc |   12 ++++++++----
 1 files changed, 8 insertions(+), 4 deletions(-)

diff --git a/recipes/libxml/libxml2.inc b/recipes/libxml/libxml2.inc
index 8d49002..e3a5891 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() {
 	:
 }





More information about the Openembedded-commits mailing list