From f1b3ee840783ceb38067e26c05184e723cf0b214 Mon Sep 17 00:00:00 2001 From: Roger Monk Date: Mon, 24 Aug 2009 22:00:51 +0100 Subject: gnome-games: fix previous bad patch -I/SDL error --- recipes/gnome/gnome-games_2.24.0.bb | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'recipes/gnome') 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 } -- cgit v1.2.3