Source: qthid-fcd-controller
Version: 4.1-4
Tags: patch
User: debian-cr...@lists.debian.org
Usertags: ftcbfs

qthid-fcd-controller fails to cross build from source, because
debian/rules hard codes the build architecture qmake for the v2
subdirectory. The easiest way of fixing that is using dh_auto_configure.
Please consider applying the attached patch.

Helmut
diff --minimal -Nru qthid-fcd-controller-4.1/debian/changelog 
qthid-fcd-controller-4.1/debian/changelog
--- qthid-fcd-controller-4.1/debian/changelog   2019-09-08 01:01:21.000000000 
+0200
+++ qthid-fcd-controller-4.1/debian/changelog   2019-09-24 06:13:24.000000000 
+0200
@@ -1,3 +1,10 @@
+qthid-fcd-controller (4.1-4.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTCBFS: Let dh_auto_configure use a cross qmake. (Closes: #-1)
+
+ -- Helmut Grohne <hel...@subdivi.de>  Tue, 24 Sep 2019 06:13:24 +0200
+
 qthid-fcd-controller (4.1-4) unstable; urgency=medium
 
   * Qt5 port (Closes: #875160) (LP: #1757840)
diff --minimal -Nru qthid-fcd-controller-4.1/debian/rules 
qthid-fcd-controller-4.1/debian/rules
--- qthid-fcd-controller-4.1/debian/rules       2019-09-08 01:01:21.000000000 
+0200
+++ qthid-fcd-controller-4.1/debian/rules       2019-09-24 06:13:23.000000000 
+0200
@@ -6,7 +6,8 @@
 
 override_dh_auto_build:
        - dh_auto_build
-       (cd v2 && qmake && make)
+       dh_auto_configure --sourcedirectory=v2
+       dh_auto_build --sourcedirectory=v2
 
 override_dh_install: qthid-fcd-controller.udev
        dh_install

Reply via email to