[oe-commits] Roger Monk : gnome-games: fix previous bad patch -I/SDL error

git version control git at git.openembedded.org
Tue Aug 25 09:47:13 UTC 2009


Module: openembedded.git
Branch: org.openembedded.dev
Commit: f1b3ee840783ceb38067e26c05184e723cf0b214
URL:    http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=f1b3ee840783ceb38067e26c05184e723cf0b214

Author: Roger Monk <r-monk at ti.com>
Date:   Mon Aug 24 22:00:51 2009 +0100

gnome-games: fix previous bad patch -I/SDL error

---

 recipes/gnome/gnome-games_2.24.0.bb |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diff --git a/recipes/gnome/gnome-games_2.24.0.bb b/recipes/gnome/gnome-games_2.24.0.bb
index cc795e1..6449c82 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	
 }
 





More information about the Openembedded-commits mailing list