Bug#929162: randtype FTCBFS: does not pass cross tools to make

2019-05-20 Thread Eugene V. Lyubimkin
Hello Helmut,

Helmut Grohne kirjoitti 18.5.2019 klo 14.11:
> randtype 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 randtype cross buildable. Please consider applying the attached
> patch.

Thank you for the patch, it looks good. I'll apply it in the next upload,
likely post-freeze.


Regards,
-- 
Eugene V. Lyubimkin aka JackYF
C++ GNU/Linux userspace developer, Debian Developer



Bug#929162: randtype FTCBFS: does not pass cross tools to make

2019-05-18 Thread Helmut Grohne
Source: randtype
Version: 1.13-11
Tags: patch
User: helm...@debian.org
Usertags: rebootstrap

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

Helmut
diff -u randtype-1.13/debian/changelog randtype-1.13/debian/changelog
--- randtype-1.13/debian/changelog
+++ randtype-1.13/debian/changelog
@@ -1,3 +1,10 @@
+randtype (1.13-11.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTCBFS: Let dh_auto_build pass cross tools to make. (Closes: #-1)
+
+ -- Helmut Grohne   Sat, 18 May 2019 14:09:13 +0200
+
 randtype (1.13-11) unstable; urgency=low
 
   * debian/compat:
diff -u randtype-1.13/debian/rules randtype-1.13/debian/rules
--- randtype-1.13/debian/rules
+++ randtype-1.13/debian/rules
@@ -10,7 +10,7 @@
rm -f randtype.1
 
 override_dh_auto_build:
-   $(MAKE) CFLAGS="${CFLAGS}" LIBS="-lz ${LDFLAGS}"
+   dh_auto_build -- CFLAGS="${CFLAGS}" LIBS="-lz ${LDFLAGS}"
 
 binary-arch: build
 override_dh_auto_install: