Source: lyskom-server
Version: 2.1.2-16
Tags: patch
User: debian-cr...@lists.debian.org
Usertags: ftcbfs

lyskom-server fails to cross build from source, because it does not pass
--host to ./configure. The easiest way of doing so - using
dh_auto_configure - makes lyskom-server cross buildable. Please consider
applying the attached patch.

Helmut
diff --minimal -Nru lyskom-server-2.1.2/debian/changelog 
lyskom-server-2.1.2/debian/changelog
--- lyskom-server-2.1.2/debian/changelog        2019-01-30 21:43:04.000000000 
+0100
+++ lyskom-server-2.1.2/debian/changelog        2021-04-14 08:12:42.000000000 
+0200
@@ -1,3 +1,11 @@
+lyskom-server (2.1.2-16.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTCBFS: Let dh_auto_configure pass --host to ./configure. (Closes:
+    #-1)
+
+ -- Helmut Grohne <hel...@subdivi.de>  Wed, 14 Apr 2021 08:12:42 +0200
+
 lyskom-server (2.1.2-16) unstable; urgency=low
 
   * Update Russian Debconf translations (Closes: #920891). Thanks to Lev
diff --minimal -Nru lyskom-server-2.1.2/debian/rules 
lyskom-server-2.1.2/debian/rules
--- lyskom-server-2.1.2/debian/rules    2019-01-30 21:43:04.000000000 +0100
+++ lyskom-server-2.1.2/debian/rules    2021-04-14 08:12:42.000000000 +0200
@@ -10,9 +10,7 @@
 configure-stamp:
        dh_testdir
        dh_autoreconf
-       ./configure --prefix=/usr \
-         --mandir=/usr/share/man \
-         --infodir=/usr/share/info \
+       dh_auto_configure -- \
          --sysconfdir=/etc/lyskom-server \
          --localstatedir=/var/lib/lyskom-server --enable-ipv6 \
          $(shell dpkg-buildflags --export=configure)

Reply via email to