[oe-commits] Khem Raj : abiword: Fix build when S != B

git at git.openembedded.org git at git.openembedded.org
Sat May 3 18:47:02 UTC 2014


Module: meta-openembedded.git
Branch: master
Commit: 8e1213bd66e7c5356a698f46c824424c02e2bc81
URL:    http://git.openembedded.org/?p=meta-openembedded.git&a=commit;h=8e1213bd66e7c5356a698f46c824424c02e2bc81

Author: Khem Raj <raj.khem at gmail.com>
Date:   Sat Apr 26 13:34:44 2014 -0700

abiword: Fix build when S != B

Signed-off-by: Khem Raj <raj.khem at gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa at gmail.com>

---

 meta-gnome/recipes-gnome/abiword/abiword_3.0.0.bb | 11 +++++------
 1 file changed, 5 insertions(+), 6 deletions(-)

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 073622a..39780bb 100644
--- a/meta-gnome/recipes-gnome/abiword/abiword_3.0.0.bb
+++ b/meta-gnome/recipes-gnome/abiword/abiword_3.0.0.bb
@@ -4,7 +4,7 @@ SECTION = "x11/office"
 LICENSE = "GPLv2"
 LIC_FILES_CHKSUM = "file://COPYING;md5=ecd3ac329fca77e2d0e412bec38e1c20"
 DEPENDS     = "perl-native wv libglade libfribidi jpeg libpng \
-               librsvg libwmf-native gtkmathview asio gtk+"
+               librsvg libwmf-native gtkmathview asio gtk+ evolution-data-server"
 RDEPENDS_${PN}    = "glibc-gconv-ibm850 glibc-gconv-cp1252 \
                glibc-gconv-iso8859-15 glibc-gconv-iso8859-1"
 RCONFLICTS_${PN} = "${PN}-embedded"
@@ -22,7 +22,7 @@ SRC_URI[sha256sum] = "d17e318c00ff4eb353e0e7994b098b1d4f9ddd8712ac0261a0e38b8908
 #want 3.x from 3.x.y for the installation directory
 SHRT_VER = "${@d.getVar('PV',1).split('.')[0]}.${@d.getVar('PV',1).split('.')[1]}"
 
-inherit autotools pkgconfig
+inherit autotools-brokensep pkgconfig
 
 PACKAGECONFIG ??= "collab-backend-xmpp collab-backend-tcp collab-backend-service"
 PACKAGECONFIG[spell] = "--enable-spell,--disable-spell,enchant"
@@ -44,17 +44,16 @@ EXTRA_OECONF = " --disable-static  \
 # AbiWord configure.ac does not play nicely with autoreconf
 # so use the autogen.sh script that comes with AbiWord
 do_configure() {
-    install -m 0755 ${WORKDIR}/autogen-common.sh ${S}/autogen-common.sh
-    cd ${S}
+    install -m 0755 ${WORKDIR}/autogen-common.sh ${B}/autogen-common.sh
     ./autogen-common.sh
     autotools_do_configure
 }
 
 do_compile() {
-    cd ${S}/goffice-bits2
+    cd goffice-bits2
     make goffice-paths.h
     make libgoffice.la
-    cd ${S}
+    cd ${B}
     oe_runmake
 }
 



More information about the Openembedded-commits mailing list