Bug#916254: gravitywars FTCBFS: builds for the wrong architecture

Helmut Grohne helmut at subdivi.de
Wed Dec 12 06:16:06 GMT 2018


Source: gravitywars
Version: 1.102-34
Tags: patch
User: helmutg at debian.org
Usertags: rebootstrap

gravitywars fails to cross build from source, because it does not pass
cross tools to make. The easiest way of fixing that - using
dh_auto_build - makes gravitywars cross buildable. Please consider
applying the attached patch.

Helmut
-------------- next part --------------
diff --minimal -Nru gravitywars-1.102/debian/changelog gravitywars-1.102/debian/changelog
--- gravitywars-1.102/debian/changelog	2015-11-21 21:34:43.000000000 +0100
+++ gravitywars-1.102/debian/changelog	2018-12-12 07:13:38.000000000 +0100
@@ -1,3 +1,10 @@
+gravitywars (1.102-34.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>  Wed, 12 Dec 2018 07:13:38 +0100
+
 gravitywars (1.102-34) unstable; urgency=medium
 
   * Team upload.
diff --minimal -Nru gravitywars-1.102/debian/rules gravitywars-1.102/debian/rules
--- gravitywars-1.102/debian/rules	2015-11-21 21:34:43.000000000 +0100
+++ gravitywars-1.102/debian/rules	2018-12-12 07:13:37.000000000 +0100
@@ -4,7 +4,7 @@
 	dh $@
 
 override_dh_auto_build:
-	$(MAKE) USE_SDL=1
+	dh_auto_build -- USE_SDL=1
 
 override_dh_install:
 	cp GravityWars101 $(CURDIR)/debian/gravitywars/usr/games/gravitywars


More information about the Pkg-games-devel mailing list