Source: remem
Version: 2.12-7
Tags: patch
User: helm...@debian.org
Usertags: rebootstrap

remem 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 remem cross buildable. Please consider applying the attached
patch.

Helmut
diff -u remem-2.12/debian/rules remem-2.12/debian/rules
--- remem-2.12/debian/rules
+++ remem-2.12/debian/rules
@@ -4,7 +4,7 @@
 
 build:
        dh_testdir
-       ./configure --mandir='$${prefix}/share/man' --prefix='/usr' \
+       dh_auto_configure -- \
                --with-lispdir='/usr/share/emacs/site-lisp'
        make
        touch build
diff -u remem-2.12/debian/control remem-2.12/debian/control
--- remem-2.12/debian/control
+++ remem-2.12/debian/control
@@ -2,7 +2,7 @@
 Section: misc
 Priority: optional
 Maintainer: Javier Fernandez-Sanguino Pen~a <j...@computer.org>
-Build-Depends: debhelper (>= 4.1.16), libpcre3-dev, flex, po-debconf
+Build-Depends: debhelper (>= 7), libpcre3-dev, flex, po-debconf
 Standards-Version: 3.7.2
 Homepage: http://www.remem.org
 
diff -u remem-2.12/debian/changelog remem-2.12/debian/changelog
--- remem-2.12/debian/changelog
+++ remem-2.12/debian/changelog
@@ -1,3 +1,10 @@
+remem (2.12-7.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTCBFS: Let dh_auto_configure pass --host to ./configure. (Closes: #-1)
+
+ -- Helmut Grohne <hel...@subdivi.de>  Mon, 20 May 2019 17:15:40 +0200
+
 remem (2.12-7) unstable; urgency=low
 
   * Po-debconf translation updates:

Reply via email to