gnome-games: fix sdl in configure.ac
authorHenning Heinold <heinold@inf.fu-berlin.de>
Mon, 30 Nov 2009 00:52:40 +0000 (01:52 +0100)
committerHenning Heinold <heinold@inf.fu-berlin.de>
Mon, 30 Nov 2009 01:00:14 +0000 (02:00 +0100)
* gnome-games ships an older sdl.m4 macro which *sigh* modfiy
  the path in configure and prepend /usr to the path variable
  removing the sdl.m4 and use the one we ship original, solves
  the problem, problem occured while guile from hostsystem was
  draged in and linker bailed about wrong format, this was a side
  effect of the path-manipulation from the sdl.m4

recipes/gnome/gnome-games_2.24.0.bb

index b4e7cf4..20221bd 100644 (file)
@@ -16,21 +16,14 @@ EXTRA_OECONF = "--with-libggz-includes=${STAGING_INCDIR} \
                INTLTOOL_PERL=${STAGING_BINDIR_NATIVE}/perl \
               "
 
+# disable help dir and crappy old sdl-macro
 do_configure_prepend() {
+       rm m4/sdl.m4
        for i in $(find ${S} -name "Makefile.am") ; do
                sed -i -e s:help::g $i
        done
 }
 
-do_configure_append() {
-       for i in $(find ${S} -name "Makefile") ; do
-               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    
-}
-
 # copy matchbox icons
 do_install_append() {
        install -m 0644 ${D}/${datadir}/icons/hicolor/48x48/apps/* ${D}/${datadir}/pixmaps