Source: miwm
Version: 1.1-6
Tags: patch
User: [email protected]
Usertags: ftcbfs

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

Helmut
diff --minimal -Nru miwm-1.1/debian/changelog miwm-1.1/debian/changelog
--- miwm-1.1/debian/changelog   2016-10-28 19:46:29.000000000 +0200
+++ miwm-1.1/debian/changelog   2019-10-03 06:35:41.000000000 +0200
@@ -1,3 +1,10 @@
+miwm (1.1-6.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTCBFS: Let dh_auto_build pass cross tools to make. (Closes: #-1)
+
+ -- Helmut Grohne <[email protected]>  Thu, 03 Oct 2019 06:35:41 +0200
+
 miwm (1.1-6) unstable; urgency=medium
 
   * debian/control
diff --minimal -Nru miwm-1.1/debian/rules miwm-1.1/debian/rules
--- miwm-1.1/debian/rules       2016-10-28 19:46:29.000000000 +0200
+++ miwm-1.1/debian/rules       2019-10-03 06:35:41.000000000 +0200
@@ -13,7 +13,7 @@
        # See debian/install
 
 override_dh_auto_build: man
-       $(MAKE) CC="g++ $(CFLAGS) $(CPPFLAGS) $(LDFLAGS)"
+       dh_auto_build -- CC='$$(CXX) $(CFLAGS) $(CPPFLAGS) $(LDFLAGS)'
 
 %:
        dh $@

Reply via email to