Source: otp
Version: 1:1.2.2-1
Tags: patch
User: debian-cr...@lists.debian.org
Usertags: ftcbfs

otp 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
otp cross buildable. Please consider applying the attached patch.

Helmut
diff --minimal -Nru otp-1.2.2/debian/changelog otp-1.2.2/debian/changelog
--- otp-1.2.2/debian/changelog  2014-06-04 12:33:56.000000000 +0200
+++ otp-1.2.2/debian/changelog  2019-09-09 20:39:07.000000000 +0200
@@ -1,3 +1,10 @@
+otp (1:1.2.2-1.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>  Mon, 09 Sep 2019 20:39:07 +0200
+
 otp (1:1.2.2-1) unstable; urgency=low
 
   * New upstream version (closes: #750140).
diff --minimal -Nru otp-1.2.2/debian/rules otp-1.2.2/debian/rules
--- otp-1.2.2/debian/rules      2012-06-16 18:20:57.000000000 +0200
+++ otp-1.2.2/debian/rules      2019-09-09 20:39:03.000000000 +0200
@@ -19,7 +19,7 @@
 build-indep: build-stamp
 build-stamp:
        dh_testdir
-       $(MAKE)
+       dh_auto_build
        > $@
 
 binary: binary-arch binary-indep

Reply via email to