Source: samplv1 Version: 0.8.6-1 Tags: patch upstream User: helm...@debian.org Usertags: rebootstrap
samplv1 fails to cross build from source, because ./configure detects the build architecture qmake with AC_PATH_PROG. Since the behaviour of qmake is architecture-dependent, one should be using AC_PATH_TOOL here. After doing so, samplv1 cross builds successfully. Please consider applying the attached patch. Helmut
--- samplv1-0.8.6.orig/configure.ac +++ samplv1-0.8.6/configure.ac @@ -266,12 +266,12 @@ ac_errmsg="not found in current PATH. Maybe QT development environment isn't available." if test "x$ac_qt4" = "xyes"; then - AC_PATH_PROG(ac_qmake, qmake-qt4, [no], $ac_path) + AC_PATH_TOOL(ac_qmake, qmake-qt4, [no], $ac_path) else - AC_PATH_PROG(ac_qmake, qmake-qt5, [no], $ac_path) + AC_PATH_TOOL(ac_qmake, qmake-qt5, [no], $ac_path) fi if test "x$ac_qmake" = "xno"; then - AC_PATH_PROG(ac_cv_qmake, qmake, [no], $ac_path) + AC_PATH_TOOL(ac_cv_qmake, qmake, [no], $ac_path) ac_qmake=$ac_cv_qmake fi if test "x$ac_qmake" = "xno"; then