aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/libxml/libxml2-native.inc
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/libxml/libxml2-native.inc')
-rw-r--r--recipes/libxml/libxml2-native.inc25
1 files changed, 10 insertions, 15 deletions
diff --git a/recipes/libxml/libxml2-native.inc b/recipes/libxml/libxml2-native.inc
index 3f67152ca1..603f48d196 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