Source: gbdfed Version: 1.6-4 Tags: patch User: debian-cr...@lists.debian.org Usertags: ftcbfs
gbdfed fails to cross build from source for two completely distinct reasons. 1. It ships a broken, outdated, embedded copy of PKG_CHECK_MODULES in aclocal.m4. Please remove this copy. Failing that, update it and register it with the security tracker. The actual bug has long been fixed in pkg-config and pkgconf. gbdfed just happens to ship a copy of the bug. 2. Use of AC_CHECK_FILE for build system files. The macro is only meant to be used for host system files and thus fails. Please use a simple test -e instead. I'm attaching a patch for your convenience. Helmut
--- gbdfed-1.6.orig/configure.in +++ gbdfed-1.6/configure.in @@ -40,7 +40,7 @@ dnl These use the pkgconfig macro (in ac PKG_CHECK_MODULES(FREETYPE, freetype2 >= 2.0,DEFINES="-DHAVE_FREETYPE" CPPFLAGS="$CPPFLAGS $FREETYPE_CFLAGS" LIBS="$LIBS $FREETYPE_LIBS",) PKG_CHECK_MODULES(GTK, gtk+-2.0 >= 2.6,CPPFLAGS="$CPPFLAGS $GTK_CFLAGS" LIBS="$LIBS $GTK_LIBS",) -AC_CHECK_FILE(hbf.c, DEFINES="$DEFINES -DHAVE_HBF" HBFSRC="hbf.c" HBFOBJ="hbf.o",) +AS_IF([test -e hbf.c],[DEFINES="$DEFINES -DHAVE_HBF" HBFSRC="hbf.c" HBFOBJ="hbf.o"]) AC_PATH_XTRA