gdbus-binding-tool: fix do_configure in native build
authorMartin Jansa <Martin.Jansa@gmail.com>
Wed, 5 Jan 2011 09:13:22 +0000 (10:13 +0100)
committerMartin Jansa <Martin.Jansa@gmail.com>
Wed, 5 Jan 2011 09:14:19 +0000 (10:14 +0100)
* do_configure_prepend without _virtclass-native override is also prepended, that's not what I intended

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
recipes/gdbus-binding-tool/gdbus-binding-tool_git.bb

index 50b33df..14352ba 100644 (file)
@@ -3,7 +3,7 @@ DEPENDS = "glib-2.0 gdbus-binding-tool-native"
 DEPENDS_virtclass-native = "glib-2.0-native"
 RDEPENDS_${PN} = "glib-2.0-utils"
 
-PR = "r1"
+PR = "r2"
 
 inherit autotools pkgconfig
 
@@ -12,18 +12,22 @@ SRCREV = "229fd9adbb6bd9d824b38a3bd092229016540f41"
 PV = "0.1+gitr${SRCPV}"
 S = "${WORKDIR}/git"
 
-do_configure_prepend() {
+do_configure() {
   # missing ${topdir}/gtk-doc.make and --disable-gtk-doc* is not enough
   sed -i '/^doc\/Makefile/d' ${S}/configure.ac
   sed -i 's/SUBDIRS = src doc/SUBDIRS = src/g' ${S}/Makefile.am
 
   # cannot execute target binary, so use staged native
   sed -i "s#\$(top_builddir)/src/gdbus-codegen#${STAGING_BINDIR_NATIVE}/gdbus-codegen#g" ${S}/src/Makefile.am
+
+  autotools_do_configure
 }
-do_configure_prepend_virtclass-native() {
+do_configure_virtclass-native() {
   # missing ${topdir}/gtk-doc.make and --disable-gtk-doc* is not enough
   sed -i '/^doc\/Makefile/d' ${S}/configure.ac
   sed -i 's/SUBDIRS = src doc/SUBDIRS = src/g' ${S}/Makefile.am
+
+  autotools_do_configure
 }
 
 BBCLASSEXTEND = "native"