Source: glaurung
Version: 2.2-2
Tags: patch
User: helm...@debian.org
Usertags: rebootstrap

glaurung fails to cross build from source, because it uses the build
architecture compiler. The easiest way of passing cross tools to make is
deferring that task to dh_auto_build. After doing so, glaurung cross
builds successfully. Please consider applying the attached patch.

Helmut
diff -u glaurung-2.2/debian/rules glaurung-2.2/debian/rules
--- glaurung-2.2/debian/rules
+++ glaurung-2.2/debian/rules
@@ -24,7 +24,7 @@
        dh_testdir
 
        # Add here commands to compile the package.
-       cd src ; $(MAKE)
+       dh_auto_build --sourcedirectory=src
        #docbook-to-man debian/glaurung.sgml > glaurung.1
 
        touch $@
diff -u glaurung-2.2/debian/changelog glaurung-2.2/debian/changelog
--- glaurung-2.2/debian/changelog
+++ glaurung-2.2/debian/changelog
@@ -1,3 +1,10 @@
+glaurung (2.2-2.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>  Sun, 27 May 2018 17:43:38 +0200
+
 glaurung (2.2-2) unstable; urgency=low
 
   * Standards Version to 3.8.1

Reply via email to