Patchwork openjade: Fix configure assumptions about file moves

login
register
mail settings
Submitter Richard Purdie
Date March 3, 2014, 3:51 p.m.
Message ID <1393861919.31845.19.camel@ted>
Download mbox | patch
Permalink /patch/67879/
State New
Headers show

Comments

Richard Purdie - March 3, 2014, 3:51 p.m.
This means that do_configure prefunc code can see the files in question
and ensures aclocal files get copied in.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
---

Patch

diff --git a/meta/recipes-devtools/openjade/openjade-native_1.3.2.bb b/meta/recipes-devtools/openjade/openjade-native_1.3.2.bb
index 9dbd442..ccce421 100644
--- a/meta/recipes-devtools/openjade/openjade-native_1.3.2.bb
+++ b/meta/recipes-devtools/openjade/openjade-native_1.3.2.bb
@@ -42,9 +42,10 @@  SSTATEPOSTINSTFUNCS += "openjade_sstate_postinst"
 SYSROOT_PREPROCESS_FUNCS += "openjade_sysroot_preprocess"
 
 # configure.in needs to be reloacted to trigger reautoconf
-do_configure_prepend () {
+do_extraunpack () {
 	cp ${S}/config/configure.in ${S}/
 }
+addtask extraunpack after do_patch before do_configure
 
 # We need to do this else the source interdependencies aren't generated and
 # build failures can result (e.g. zero size style/Makefile.dep file)