Source: xscreensaver
Version: 5.44+dfsg1-1
Tags: patch upstream
User: [email protected]
Usertags: ftcbfs

xscreensaver fails to cross build from source, because the upstream
configure hard codes the build architecture pkg-config as it uses
AC_PATH_PROGS to detect pkg-config. I'm attaching a patch that switches
it to AC_PATH_TOOL and makes xscreensaver cross buildable. Please
consider applying it.

Helmut
--- xscreensaver-5.44+dfsg1.orig/configure.in
+++ xscreensaver-5.44+dfsg1/configure.in
@@ -2679,7 +2679,7 @@
   gtk_path="$foo:$gtk_path"
 fi
 
-AC_PATH_PROGS(pkg_config, pkg-config,, $gtk_path)
+AC_PATH_TOOL(pkg_config,pkg-config,, $gtk_path)
 
 if test -z "$pkg_config" ; then
   AC_MSG_WARN([pkg-config not found!])

Reply via email to