Source: angband
Version: 1:3.5.1-2.2
Tags: patch
User: helm...@debian.org
Usertags: rebootstrap

angband fails to cross build from source, because it doesn't pass --host
to ./configure. Just letting dh_auto_configure fixes that. Please
consider applying the attached patch.

Helmut
diff --minimal -Nru angband-3.5.1/debian/changelog 
angband-3.5.1/debian/changelog
--- angband-3.5.1/debian/changelog      2016-11-28 18:38:29.000000000 +0100
+++ angband-3.5.1/debian/changelog      2018-03-26 16:42:26.000000000 +0200
@@ -1,3 +1,10 @@
+angband (1:3.5.1-2.3) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTCBFS: Let dh_auto_configure pass --host to ./configure. (Closes: -1)
+
+ -- Helmut Grohne <hel...@subdivi.de>  Mon, 26 Mar 2018 16:42:26 +0200
+
 angband (1:3.5.1-2.2) unstable; urgency=medium
 
   * Non-maintainer upload.
diff --minimal -Nru angband-3.5.1/debian/rules angband-3.5.1/debian/rules
--- angband-3.5.1/debian/rules  2016-11-28 18:38:29.000000000 +0100
+++ angband-3.5.1/debian/rules  2018-03-26 16:42:13.000000000 +0200
@@ -33,9 +33,8 @@
        [ ! -f mk/extra.mk ] || $(MAKE) -C doc/manual clean
 
 override_dh_auto_configure:
-       ./configure --with-setgid=games --datarootdir=/usr/share \
-       --with-x --enable-sdl --bindir=/usr/games --sysconfdir=/etc \
-    --localstatedir=/var
+       dh_auto_configure -- --with-setgid=games --datarootdir=/usr/share \
+       --with-x --enable-sdl --bindir=/usr/games
 
 override_dh_auto_build:
        convert -monitor ./lib/xtra/icon/att-32.png ./debian/angband.xpm

Reply via email to