From: Graeme Gregory Date: Thu, 21 Jan 2010 00:09:17 +0000 (+0000) Subject: at-spi_1.28.0.bb : fix compile on systems without host installen gnome devel X-Git-Tag: Release-2010-05/1~339^2~23^2~5^2~16 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2154e8eb1a513d0944da59a780f962bacd0bcb8f;p=openembedded.git at-spi_1.28.0.bb : fix compile on systems without host installen gnome devel The configure script was generation paths in /usr/* when looking for orbit-2-idl and bonobo idl files so feed our staging paths in instead. --- diff --git a/recipes/gnome/at-spi_1.28.0.bb b/recipes/gnome/at-spi_1.28.0.bb index 3639407eb6..79b48b3f1b 100644 --- a/recipes/gnome/at-spi_1.28.0.bb +++ b/recipes/gnome/at-spi_1.28.0.bb @@ -6,8 +6,16 @@ LICENSE = "LGPL" DEPENDS = "gtk+ atk libbonobo orbit2 orbit2-native" RDEPENDS_${PN} = "libgail-gnome gtk-module-gail" +PR = "r1" + inherit gnome +do_configure_prepend () { + sed -i "s|ORBIT_IDL=.*|ORBIT_IDL=${STAGING_BINDIR_NATIVE}/orbit-idl-2|" ${S}/configure.in + sed -i "s|BONOBO_ACTIVATION_IDL_DIR=.*|BONOBO_ACTIVATION_IDL_DIR=${STAGING_DATADIR}/idl/bonobo-activation-2.0|" ${S}/configure.in + sed -i "s|LIBBONOBO_IDL_DIR=.*|LIBBONOBO_IDL_DIR=${STAGING_DATADIR}/idl//bonobo-2.0|" ${S}/configure.in +} + do_stage () { autotools_stage_all }