Source: kobodeluxe
Version: 0.5.1-8
Tags: patch
User: helm...@debian.org
Usertags: rebootstrap

kobodeluxe fails to cross build from source because it configures for
the build architecture. Luckily just using dh_auto_configure makes it
work. Please consider applying the attached patch.

Helmut
diff --minimal -Nru kobodeluxe-0.5.1/debian/changelog 
kobodeluxe-0.5.1/debian/changelog
--- kobodeluxe-0.5.1/debian/changelog   2016-04-06 00:55:16.000000000 +0200
+++ kobodeluxe-0.5.1/debian/changelog   2018-03-26 06:36:47.000000000 +0200
@@ -1,3 +1,11 @@
+kobodeluxe (0.5.1-8.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTCBFS: Let dh_auto_configure pass cross flags to ./configure.
+    (Closes: #-1)
+
+ -- Helmut Grohne <hel...@subdivi.de>  Mon, 26 Mar 2018 06:36:47 +0200
+
 kobodeluxe (0.5.1-8) unstable; urgency=medium
 
   * Team upload.
diff --minimal -Nru kobodeluxe-0.5.1/debian/rules kobodeluxe-0.5.1/debian/rules
--- kobodeluxe-0.5.1/debian/rules       2016-04-06 00:55:16.000000000 +0200
+++ kobodeluxe-0.5.1/debian/rules       2018-03-26 06:36:44.000000000 +0200
@@ -15,8 +15,7 @@
        aclocal
        automake
        autoconf
-       ./configure --bindir=/usr/games --prefix=/usr --sysconfdir=/etc \
-               --mandir=/usr/share/man --sharedstatedir=/usr/share
+       dh_auto_configure -- --bindir=/usr/games --sharedstatedir=/usr/share
 
 override_dh_auto_build:
        $(MAKE) kobo_scoredir=/$(SCORES)

Reply via email to