diff options
author | Helmut Grohne <helmut@subdivi.de> | 2024-02-13 10:19:37 +0100 |
---|---|---|
committer | Carsten Leonhardt <leo@debian.org> | 2024-02-13 10:19:37 +0100 |
commit | 14d498ce63ea7c80370e7f1578aad4b037f5cd75 (patch) | |
tree | 8004f06d928d6672aa79ae2b63b173f852a96fe4 | |
parent | 4b95cd15440e910b5109d59f4231d6e88350a4e4 (diff) |
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
-rw-r--r-- | autoconf/configure.in | 2 |
1 files changed, 1 insertions, 1 deletions
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 |