Package: libsdl1.2-dev Version: 1.2.15+dfsg2-8 Tags: patch upstream File: /usr/share/aclocal/sdl.m4 User: debian-cr...@lists.debian.org Usertags: ftcbfs Control: affects -1 + src:ltris
ltris fails to cross build from source, because it uses the build architecture pkg-config. Surprising thing: It doesn't actually mention pkg-config anywhere. Turns out, it uses SDL_CONFIG, which happens to expand to "pkg-config sdl" and this is wrong. I'm attaching a patch to fix that for your convenience. I believe that libsdl2-dev has the same bug. Would you mind fixing it there as well? I am not aware of any package using sdl2-config instead of sdl2.pc though. Helmut
--- sdl12-compat-1.2.68.orig/sdl.m4 +++ sdl12-compat-1.2.68/sdl.m4 @@ -45,7 +45,7 @@ if test "x$sdl_pc" = xyes ; then no_sdl="" - SDL_CONFIG="pkg-config sdl" + SDL_CONFIG="$PKG_CONFIG sdl" else as_save_PATH="$PATH" if test "x$prefix" != xNONE && test "$cross_compiling" != yes; then