Source: i8kutils
Version: 1.43+nmu1
Tags: patch
User: [email protected]
Usertags: ftcbfs

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

Helmut
diff --minimal -Nru i8kutils-1.43+nmu1/debian/changelog 
i8kutils-1.43+nmu2/debian/changelog
--- i8kutils-1.43+nmu1/debian/changelog 2021-02-06 14:57:18.000000000 +0100
+++ i8kutils-1.43+nmu2/debian/changelog 2021-10-16 21:22:25.000000000 +0200
@@ -1,3 +1,10 @@
+i8kutils (1.43+nmu2) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTCBFS: Let dh_auto_build pass cross tools to make. (Closes: #-1)
+
+ -- Helmut Grohne <[email protected]>  Sat, 16 Oct 2021 21:22:25 +0200
+
 i8kutils (1.43+nmu1) unstable; urgency=medium
 
   * Non-maintainer upload.
diff --minimal -Nru i8kutils-1.43+nmu1/debian/rules 
i8kutils-1.43+nmu2/debian/rules
--- i8kutils-1.43+nmu1/debian/rules     2017-03-06 23:37:27.000000000 +0100
+++ i8kutils-1.43+nmu2/debian/rules     2021-10-16 21:22:20.000000000 +0200
@@ -7,7 +7,7 @@
 build: build-arch build-indep
 build-arch:
        dh_testdir
-       $(MAKE) CFLAGS="$(CFLAGS) $(CPPFLAGS) $(LDFLAGS)"
+       dh_auto_build -- CFLAGS="$(CFLAGS) $(CPPFLAGS) $(LDFLAGS)"
        touch $@
 
 clean:

Reply via email to