Source: qmidinet
Version: 0.5.0-1
Tags: patch upstream
User: [email protected]
Usertags: rebootstrap
qmidinet fails to cross build from source, because its ./configure
detects the build architecture qmake using AC_PATH_PROG. Since qmake is
only requested for the host architecture, it doesn't work. After
switching to AC_PATH_TOOL, qmidinet cross builds successfully. Please
consider applying the attached patch.
Helmut
--- qmidinet-0.5.0.orig/configure.ac
+++ qmidinet-0.5.0/configure.ac
@@ -196,12 +196,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