Blame patches/ltris-1.2.2_pre.local.patch

469be1
diff -ru ltris-1.2.2.orig/configure ltris-1.2.2/configure
469be1
--- ltris-1.2.2.orig/configure	2020-12-28 12:58:30.000000000 +0100
469be1
+++ ltris-1.2.2/configure	2021-01-12 16:47:35.063828462 +0100
469be1
@@ -9089,8 +9089,8 @@
469be1
   if test "$SDL_CONFIG" = "no" ; then
469be1
     no_sdl=yes
469be1
   else
469be1
-    SDL_CFLAGS=`$SDL_CONFIG $sdlconf_args --cflags`
469be1
-    SDL_LIBS=`$SDL_CONFIG $sdlconf_args --libs`
469be1
+    SDL_CFLAGS=`$PKG_CONFIG --cflags sdl`
469be1
+    SDL_LIBS=`$PKG_CONFIG --libs sdl`
469be1
 
469be1
     sdl_major_version=`$SDL_CONFIG $sdl_args --version | \
469be1
            sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
469be1
@@ -9249,8 +9249,8 @@
469be1
 
469be1
   rm -f conf.sdltest
469be1
 
469be1
-CFLAGS="$CFLAGS $(sdl-config --cflags)"
469be1
-LIBS="$LIBS $(sdl-config --libs)"
469be1
+CFLAGS="$CFLAGS $(PKG_CONFIG --cflags sdl)"
469be1
+LIBS="$LIBS $(PKG_CONFIG --libs sdl)"
469be1
 
469be1
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lSDL_mixer" >&5
469be1
 $as_echo_n "checking for main in -lSDL_mixer... " >&6; }