Bug#918311: stormbaancoureur FTCBFS: uses the wrong compiler

Helmut Grohne helmut at subdivi.de
Fri Jan 4 22:23:30 GMT 2019


Source: stormbaancoureur
Version: 2.1.6-2
Tags: patch
User: helmutg at debian.org
Usertags: rebootstrap

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

Helmut
-------------- next part --------------
diff --minimal -Nru stormbaancoureur-2.1.6/debian/changelog stormbaancoureur-2.1.6/debian/changelog
--- stormbaancoureur-2.1.6/debian/changelog	2016-08-03 19:38:05.000000000 +0200
+++ stormbaancoureur-2.1.6/debian/changelog	2019-01-04 23:17:55.000000000 +0100
@@ -1,3 +1,10 @@
+stormbaancoureur (2.1.6-2.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTCBFS: Let dh_auto_build pass cross tools to make. (Closes: #-1)
+
+ -- Helmut Grohne <helmut at subdivi.de>  Fri, 04 Jan 2019 23:17:55 +0100
+
 stormbaancoureur (2.1.6-2) unstable; urgency=medium
 
   * Team upload.
diff --minimal -Nru stormbaancoureur-2.1.6/debian/rules stormbaancoureur-2.1.6/debian/rules
--- stormbaancoureur-2.1.6/debian/rules	2016-08-03 19:38:05.000000000 +0200
+++ stormbaancoureur-2.1.6/debian/rules	2019-01-04 23:17:53.000000000 +0100
@@ -8,16 +8,8 @@
 
 
 %:
-	dh $@ --parallel
+	dh $@ --parallel --sourcedirectory=src-stormbaancoureur
 
 
 override_dh_auto_build:
-	$(MAKE) -C src-stormbaancoureur CFLAGS="$(CPPFLAGS) $(CFLAGS)"
-
-override_dh_auto_clean:
-	[ ! -f src-stormbaancoureur/Makefile ] || $(MAKE) -C src-stormbaancoureur clean
-	dh_auto_clean
-
-override_dh_auto_install:
-	$(MAKE) install -C src-stormbaancoureur DESTDIR=$(CURDIR)/debian/tmp
-
+	dh_auto_build -- CFLAGS="$(CPPFLAGS) $(CFLAGS)"


More information about the Pkg-games-devel mailing list