Source: elvis-tiny
Version: 1.4-24
Tags: patch
User: helm...@debian.org
Usertags: rebootstrap

elvis-tiny fails to cross build from source, because it does not pass
cross tools to make. Using dh_auto_build easily fixes that and makes
elvis-tiny cross build successfully. Please consider applying the
attached patch.

Helmut
diff --minimal -Nru elvis-tiny-1.4/debian/changelog 
elvis-tiny-1.4/debian/changelog
--- elvis-tiny-1.4/debian/changelog     2016-11-11 16:20:53.000000000 +0100
+++ elvis-tiny-1.4/debian/changelog     2018-06-11 20:26:19.000000000 +0200
@@ -1,3 +1,10 @@
+elvis-tiny (1.4-24.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, 11 Jun 2018 20:26:19 +0200
+
 elvis-tiny (1.4-24) unstable; urgency=low
 
   * remove bin/vi wrapper, incompatible with / + /usr merge (closes: 
#540928,#813857)
diff --minimal -Nru elvis-tiny-1.4/debian/rules elvis-tiny-1.4/debian/rules
--- elvis-tiny-1.4/debian/rules 2016-11-11 16:05:43.000000000 +0100
+++ elvis-tiny-1.4/debian/rules 2018-06-11 20:26:12.000000000 +0200
@@ -6,10 +6,10 @@
 endif
 
 %:
-       dh $@
+       dh $@ --buildsystem=makefile
 
 override_dh_auto_build:
-       make -f Makefile.mix EXTRA_CFLAGS="$(EXTRA_CFLAGS)"
+       dh_auto_build -- -f Makefile.mix EXTRA_CFLAGS="$(EXTRA_CFLAGS)"
 
 override_dh_auto_install:
        install -m 755 -d $(tmp)/bin

Reply via email to