From: Roger Monk Date: Mon, 24 Aug 2009 21:00:51 +0000 (+0100) Subject: gnome-games: fix previous bad patch -I/SDL error X-Git-Tag: Release-2010-05/1~2614^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f1b3ee840783ceb38067e26c05184e723cf0b214;p=openembedded.git gnome-games: fix previous bad patch -I/SDL error --- diff --git a/recipes/gnome/gnome-games_2.24.0.bb b/recipes/gnome/gnome-games_2.24.0.bb index cc795e14a5..6449c82c8a 100644 --- a/recipes/gnome/gnome-games_2.24.0.bb +++ b/recipes/gnome/gnome-games_2.24.0.bb @@ -24,7 +24,10 @@ do_configure_prepend() { do_configure_append() { for i in $(find ${S} -name "Makefile") ; do - sed -i -e s:'I/usr/include'::g -e s:'-I /usr/include -I /usr/local/include'::g $i + sed -i \ + -e s:'-I/usr/include/SDL':'-I${STAGING_INCDIR}/SDL':g \ + -e s:'-I/usr/local/include/SDL':'-I${STAGING_INCDIR}/SDL':g \ + $i done }