---
 recipes/libxml/libxml2-native.inc |   25 ++++++++++---------------
 1 files changed, 10 insertions(+), 15 deletions(-)

diff --git a/recipes/libxml/libxml2-native.inc 
b/recipes/libxml/libxml2-native.inc
index 3f67152..603f48d 100644
--- a/recipes/libxml/libxml2-native.inc
+++ b/recipes/libxml/libxml2-native.inc
@@ -1,26 +1,21 @@
 DESCRIPTION = "GNOME XML library"
 DEPENDS = "python-native"
 FILESDIR = "$...@os.path.dirname(bb.data.getVar('FILE',d,1))}/libxml2-${PV}"
+PR = "r3"
 
 SRC_URI = "ftp://xmlsoft.org/libxml2/libxml2-${PV}.tar.gz";
 S = "${WORKDIR}/libxml2-${PV}"
 
-inherit autotools native pkgconfig distutils-native-base
+inherit distutils-base autotools native pkgconfig
 
-do_configure_prepend () {
-       EXTRA_LIBXML2_OECONF="\
-       --with-python=${PYTHON_DIR} \
-       --without-debug \
-       --without-legacy \
-       --with-catalog \
-       --without-docbook \
-       --with-c14n \
-       "
-}
-
-do_configure (){
-       autotools_do_configure ${EXTRA_LIBXML2_OECONF}
-}
+EXTRA_OECONF = "\
+  --with-python=${STAGING_INCDIR}/${PYTHON_MAJMIN} \
+  --without-debug \
+  --without-legacy \
+  --without-catalog \
+  --without-docbook \
+  --with-c14n \
+"
 
 do_stage () {
        oe_runmake install
-- 
1.6.5.3

_______________________________________________
Shr-devel mailing list
Shr-devel@lists.shr-project.org
http://lists.shr-project.org/mailman/listinfo/shr-devel

Reply via email to