--- Begin Message ---
- To: Debian Bug Tracking System <submit@bugs.debian.org>
- Subject: synthv1 FTCBFS: uses the build architecture qmake
- From: Helmut Grohne <helmut@subdivi.de>
- Date: Wed, 6 Jun 2018 06:29:29 +0200
- Message-id: <20180606042928.GA12935@alf.mars>
Source: synthv1
Version: 0.8.6-1
Tags: patch upstream
User: helmutg@debian.org
Usertags: rebootstrap
synthv1 fails to cross build from source, because configure.ac uses
AC_PATH_PROG for finding qmake. Thus it gets the build architecture
qmake. Since the behaviour of qmake is architecture-dependent, it should
be using AC_PATH_TOOL. The attached patch implements that and makes
synthv1 cross buildable. Please consider applying it.
Helmut
--- synthv1-0.8.6.orig/configure.ac
+++ synthv1-0.8.6/configure.ac
@@ -257,12 +257,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
--- End Message ---