From 2154e8eb1a513d0944da59a780f962bacd0bcb8f Mon Sep 17 00:00:00 2001 From: Graeme Gregory Date: Thu, 21 Jan 2010 00:09:17 +0000 Subject: [PATCH] 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. --- recipes/gnome/at-spi_1.28.0.bb | 8 ++++++++ 1 file changed, 8 insertions(+) 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 } -- 2.39.5