From: Koen Kooi Date: Thu, 15 Apr 2010 13:54:28 +0000 (+0200) Subject: libxml2: fix regression where -native wouldn't build python stuff needed for xml2po... X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a25f07ca6159e1cd5b8a215ca5da8405fb1b9053;p=openembedded.git 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 --- 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() { : }