Source: frog
Version: 0.20-2
Tags: patch upstream
User: debian-cr...@lists.debian.org
Usertags: ftcbfs

frog fails to cross build from source, because configure.ac hard codes
the build architecture pkg-config in one place (after correctly
detecting the host architecture one). Simply using the correct
substitution variable makes frog cross buildable. Please consider
applying the attached patch.

Helmut
--- frog-0.20.orig/configure.ac
+++ frog-0.20/configure.ac
@@ -137,7 +137,7 @@
 CXXFLAGS="$CXXFLAGS $ucto_CFLAGS"
 LIBS="$ucto_LIBS $LIBS"
 
-UCTO_VERSION=`pkg-config --modversion ucto`
+UCTO_VERSION=`$PKG_CONFIG --modversion ucto`
 UCTO_INT="${UCTO_VERSION//.}" # no dots
 UCTO_INT=$((10#$UCTO_INT))    # no leading 0 (that's octal)
 AC_DEFINE_UNQUOTED( [UCTO_INT_VERSION],

Reply via email to