Source: alienblaster
Version: 1.1.0-9
Tags: patch
User: [email protected]
Usertags: rebootstrap

alienblaster fails to cross build from source, because its upstream
build system uses the non-standard variable COMPILER for the C++
compiler and dh_auto_build doesn't substitute it. After adding the
missing substitution, alienblaster cross builds successfully. Please
consider applying the attached patch.

Helmut
diff --minimal -Nru alienblaster-1.1.0/debian/changelog 
alienblaster-1.1.0/debian/changelog
--- alienblaster-1.1.0/debian/changelog 2016-01-05 18:01:13.000000000 +0100
+++ alienblaster-1.1.0/debian/changelog 2017-12-04 19:04:18.000000000 +0100
@@ -1,3 +1,10 @@
+alienblaster (1.1.0-9.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTCBFS: Pass COMPILER substitution. (Closes: #-1)
+
+ -- Helmut Grohne <[email protected]>  Mon, 04 Dec 2017 19:04:18 +0100
+
 alienblaster (1.1.0-9) unstable; urgency=medium
 
   * Team upload.
diff --minimal -Nru alienblaster-1.1.0/debian/rules 
alienblaster-1.1.0/debian/rules
--- alienblaster-1.1.0/debian/rules     2016-01-05 18:01:13.000000000 +0100
+++ alienblaster-1.1.0/debian/rules     2017-12-04 19:04:16.000000000 +0100
@@ -4,6 +4,9 @@
 %:
        dh $@ --parallel
 
+override_dh_auto_build:
+       dh_auto_build -- 'COMPILER=$$(CXX)'
+
 override_dh_install:
        mv $(CURDIR)/alienblaster $(CURDIR)/alienblaster.bin
        dh_install

Reply via email to