From 14d498ce63ea7c80370e7f1578aad4b037f5cd75 Mon Sep 17 00:00:00 2001 From: Helmut Grohne Date: Tue, 13 Feb 2024 10:19:37 +0100 Subject: Fix FTCBFS: uses the build architecture qmake Last-Update: 2022-04-06 Forwarded: not-yet bacula fails to cross build from source, because it attempts to use the build architecture qmake while Build-Depends requested the host architecture one. bacula's configure.ac uses AC_PATH_PROG to locate qmake. Once changing that to AC_PATH_TOOL, the host architecture qmake is being used and this part magically works. Gbp-Pq: Topic debian Gbp-Pq: Name fix-ftcbfs-1009012 --- autoconf/configure.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/autoconf/configure.in b/autoconf/configure.in index c828db2c..35f84391 100644 --- a/autoconf/configure.in +++ b/autoconf/configure.in @@ -160,7 +160,7 @@ dnl Using AC_PATH_PROG() to find pkg-config is not cross-compile safe. dnl The macro PKG_PROG_PKG_CONFIG avoids this problem. dnl AC_PATH_PROG(PKGCONFIG, pkg-config, pkg-config) PKG_PROG_PKG_CONFIG() -AC_PATH_PROG(QMAKE, qmake, none) +AC_PATH_TOOL(QMAKE, qmake, none) AC_PATH_PROG(GMAKE, gmake, none) AC_PATH_PROG(PIDOF, pidof, pidof) AC_PROG_AWK -- cgit v1.2.3