[oe] [meta-gnome][PATCH] abiword: force build order

Trevor Woerner trevor.woerner at linaro.org
Thu Apr 10 02:12:51 UTC 2014


There is a race condition whereby "libgoffice.la" must be built (and exist)
before the rest of the code in "src" is built.

Signed-off-by: Trevor Woerner <trevor.woerner at linaro.org>
---
 meta-gnome/recipes-gnome/abiword/abiword_3.0.0.bb | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/meta-gnome/recipes-gnome/abiword/abiword_3.0.0.bb b/meta-gnome/recipes-gnome/abiword/abiword_3.0.0.bb
index 69d62ef..073622a 100644
--- a/meta-gnome/recipes-gnome/abiword/abiword_3.0.0.bb
+++ b/meta-gnome/recipes-gnome/abiword/abiword_3.0.0.bb
@@ -50,6 +50,14 @@ do_configure() {
     autotools_do_configure
 }
 
+do_compile() {
+    cd ${S}/goffice-bits2
+    make goffice-paths.h
+    make libgoffice.la
+    cd ${S}
+    oe_runmake
+}
+
 PACKAGES += " ${PN}-clipart ${PN}-strings ${PN}-systemprofiles ${PN}-templates "
 
 FILES_${PN} += " \
-- 
1.9.0




More information about the Openembedded-devel mailing list