Bug#900899: antigrav FTCBFS: configures for the build architecture

Helmut Grohne helmut at subdivi.de
Wed Jun 6 15:09:01 BST 2018


Source: antigrav
Version: 0.0.3-7
Tags: patch
User: helmutg at debian.org
Usertags: rebootstrap

antigrav fails to cross build from source, because it does not pass
--host to ./configure. The easiest way of doing so is letting
dh_auto_configure do it. Then antigrav cross builds successfully. Please
consider applying the attached patch.

Helmut
-------------- next part --------------
diff --minimal -Nru antigrav-0.0.3/debian/changelog antigrav-0.0.3/debian/changelog
--- antigrav-0.0.3/debian/changelog	2016-04-13 09:24:23.000000000 +0200
+++ antigrav-0.0.3/debian/changelog	2018-06-06 15:51:25.000000000 +0200
@@ -1,3 +1,10 @@
+antigrav (0.0.3-7.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTCBFS: Let dh_auto_configure pass --host to ./configure. (Closes: #-1)
+
+ -- Helmut Grohne <helmut at subdivi.de>  Wed, 06 Jun 2018 15:51:25 +0200
+
 antigrav (0.0.3-7) unstable; urgency=medium
 
   * Team upload.
diff --minimal -Nru antigrav-0.0.3/debian/rules antigrav-0.0.3/debian/rules
--- antigrav-0.0.3/debian/rules	2016-04-13 09:24:23.000000000 +0200
+++ antigrav-0.0.3/debian/rules	2018-06-06 15:51:21.000000000 +0200
@@ -3,10 +3,8 @@
 	dh $@ --with autoreconf
 
 override_dh_auto_configure:
-	./configure --prefix=/usr \
+	dh_auto_configure -- \
 	--bindir=\$${prefix}/games \
-	--mandir=\$${prefix}/share/man \
-	--infodir=\$${prefix}/share/info \
 	CFLAGS="$(CFLAGS)" LDFLAGS="$(LDFLAGS) -Wl,-z,defs"
 
 override_dh_install:


More information about the Pkg-games-devel mailing list