Source: lr
Version: 1.5.1-2
Tags: patch
User: debian-cr...@lists.debian.org
Usertags: ftcbfs

lr fails to cross build from source, because it does not pass cross
tools to make. The easiest way of doing so - using dh_auto_build - makes
lr cross buildable. Please consider applying the attached patch.

Helmut
diff --minimal -Nru lr-1.5.1/debian/changelog lr-1.5.1/debian/changelog
--- lr-1.5.1/debian/changelog   2020-02-15 23:12:10.000000000 +0100
+++ lr-1.5.1/debian/changelog   2020-02-18 05:59:32.000000000 +0100
@@ -1,3 +1,10 @@
+lr (1.5.1-2.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTCBFS: Let dh_auto_build pass cross tools to make. (Closes: #-1)
+
+ -- Helmut Grohne <hel...@subdivi.de>  Tue, 18 Feb 2020 05:59:32 +0100
+
 lr (1.5.1-2) unstable; urgency=medium
 
   * debian/rules
diff --minimal -Nru lr-1.5.1/debian/rules lr-1.5.1/debian/rules
--- lr-1.5.1/debian/rules       2020-02-15 23:12:10.000000000 +0100
+++ lr-1.5.1/debian/rules       2020-02-18 05:59:31.000000000 +0100
@@ -6,7 +6,7 @@
        dh $@
 
 override_dh_auto_build:
-       $(MAKE) $(shell dpkg-buildflags --export=configure)
+       dh_auto_build -- $(shell dpkg-buildflags --export=configure)
 
 override_dh_auto_install:
        dh_auto_install -- PREFIX=/usr

Reply via email to