Source: hannah
Version: 1.0-3
Tags: patch
User: [email protected]
Usertags: rebootstrap

hannah fails to cross build fro source, because the packaging does not
pass cross tools to make. The simplest way of doing so is dh_auto_build.
After doing so, hannah cross builds successfully. Please consider
applying the attached patch.

Helmut
diff --minimal -Nru hannah-1.0/debian/changelog hannah-1.0/debian/changelog
--- hannah-1.0/debian/changelog 2015-06-07 19:03:18.000000000 +0200
+++ hannah-1.0/debian/changelog 2018-06-10 14:37:26.000000000 +0200
@@ -1,3 +1,10 @@
+hannah (1.0-3.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTCBFS: Let dh_auto_build pass cross tools to make. (Closes: #-1)
+
+ -- Helmut Grohne <[email protected]>  Sun, 10 Jun 2018 14:37:26 +0200
+
 hannah (1.0-3) unstable; urgency=medium
 
   * Move from dpatch to quilt.
diff --minimal -Nru hannah-1.0/debian/rules hannah-1.0/debian/rules
--- hannah-1.0/debian/rules     2015-06-07 19:03:18.000000000 +0200
+++ hannah-1.0/debian/rules     2018-06-10 14:37:25.000000000 +0200
@@ -9,7 +9,7 @@
        dh $@
 
 override_dh_auto_build-arch:
-       $(MAKE) DATA_INSTALL_DIR=/usr/share/games/hannah/ \
+       dh_auto_build -- DATA_INSTALL_DIR=/usr/share/games/hannah/ \
            SCOREDIR=/var/games/hannah/ CXXFLAGS="$(CXXFLAGS)" 
CFLAGS="$(CFLAGS)" \
            LDFLAGS="$(LDFLAGS)"
 

Reply via email to