Source: xmbmon
Version: 2.05-10
Tags: patch upstream
User: [email protected]
Usertags: ftcbfs
xmbmon fails to cross build from source, because configure.in hard codes
the build architecture compiler. It actually overrides the detected
compiler with hard coded values. Removing those assignments makes cross
building succeed. The user should be able to choose the compiler binary.
I'm attaching a patch for your convenience.
Helmut
--- xmbmon-2.05.orig/configure.in
+++ xmbmon-2.05/configure.in
@@ -16,21 +16,13 @@
AC_CANONICAL_HOST
case "${host}" in
- i?86-*-freebsd*)
- CC=cc
- ;;
i?86-*-linux-*)
- CC=gcc
HOSTDEF="-DLINUX"
;;
i?86-*-netbsd* | i?86-*-openbsd*)
- CC=cc
HOSTDEF="-DNETBSD"
ADDLIBS="-li386"
;;
- *)
- CC=gcc
- ;;
esac
AC_SUBST(HOSTDEF)