]> git.openpandora.org Git - openembedded.git/commitdiff
libxml2-native: Move EXTRA_OECONF to do_configure_prepend
authorKhem Raj <raj.khem@gmail.com>
Tue, 24 Mar 2009 04:06:36 +0000 (21:06 -0700)
committerKhem Raj <raj.khem@gmail.com>
Tue, 24 Mar 2009 04:06:36 +0000 (21:06 -0700)
        * EXTRA_OECONF uses --with-python=${PYTHON_DIR}
          and PYTHON_DIR is a python evaluated. So unless
          we have python-native built and installed in staging
          we can not evaluate this variable. We move this
          evaluation inside do_configure so that it gets
          evluated after dependency is met.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
recipes/libxml/libxml2-native.inc
recipes/libxml/libxml2-native_2.7.2.bb

index b819f95fba2cd658e03afd1eaec5daf8bec847c7..c8182de91acd50a10a40680c658c8e85c82c37b8 100644 (file)
@@ -7,14 +7,16 @@ S = "${WORKDIR}/libxml2-${PV}"
 
 inherit distutils-base autotools native pkgconfig
 
-EXTRA_OECONF = "\
-  --with-python=${PYTHON_DIR} \
-  --without-debug \
-  --without-legacy \
-  --with-catalog \
-  --without-docbook \
-  --with-c14n \
-"
+do_configure_prepend () {
+       EXTRA_OECONF = "\
+       --with-python=${PYTHON_DIR} \
+       --without-debug \
+       --without-legacy \
+       --with-catalog \
+       --without-docbook \
+       --with-c14n \
+       "
+}
 
 do_stage () {
        oe_runmake install
index bcbfb6637bca0e7e0c8b042bc7880aec67c120a1..24261d66f2d03e9b1f022517d3d055656e20e7b4 100644 (file)
@@ -1,2 +1,2 @@
 require libxml2-native.inc
-PR = "r1"
+PR = "r2"