eds-dbus: work around crosscompile badness
authorKoen Kooi <koen@openembedded.org>
Thu, 5 Aug 2010 15:48:32 +0000 (17:48 +0200)
committerKoen Kooi <koen@openembedded.org>
Thu, 5 Aug 2010 18:11:13 +0000 (20:11 +0200)
recipes/eds/eds-dbus_git.bb

index ee1addb..16b3276 100644 (file)
@@ -5,7 +5,7 @@ DEPENDS = "libical intltool-native libglade glib-2.0 gtk+ gconf dbus db gnome-co
 
 SRCREV = "91812cd2f797fb8ec8befbb2685037584ce144ee"
 PV = "1.4.0"
-PR = "r3"
+PR = "r4"
 PE = "1"
 PR_append = "+gitr${SRCREV}"
 
@@ -26,6 +26,11 @@ do_configure_prepend () {
      cp ${WORKDIR}/gtk-doc.make ${S}
 }
 
+do_configure_append() {
+       for i in $(find ${S} -name "Makefile") ; do
+               sed -i -e s:-I${includedir}::g $i
+       done
+}
 EXTRA_OECONF = "--without-openldap --with-dbus --without-weather --without-bug-buddy --without-soup --without-libdb --with-libdb=${STAGING_DIR_HOST}${layout_prefix} --disable-smime --disable-nss --disable-nntp --disable-gtk-doc --enable-calendar --disable-hula --disable-dot-locking --disable-gnome-keyring"
 
 PACKAGES =+ "libcamel-collateral libcamel libcamel-dev libebook libebook-dev libecal libecal-dev libedata-book libedata-book-dev libedata-cal libedata-cal-dev libedataserver libedataserver-dev"