Source: cvsgraph
Version: 1.7.0-5
Tags: patch
User: debian-cr...@lists.debian.org
Usertags: ftcbfs

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

Helmut
diff --minimal -Nru cvsgraph-1.7.0/debian/changelog 
cvsgraph-1.7.0/debian/changelog
--- cvsgraph-1.7.0/debian/changelog     2018-08-26 15:11:15.000000000 +0200
+++ cvsgraph-1.7.0/debian/changelog     2020-08-09 19:58:33.000000000 +0200
@@ -1,3 +1,10 @@
+cvsgraph (1.7.0-5.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTCBFS: Let dh_auto_configure pass --host to ./configure. (Closes: #-1)
+
+ -- Helmut Grohne <hel...@subdivi.de>  Sun, 09 Aug 2020 19:58:33 +0200
+
 cvsgraph (1.7.0-5) unstable; urgency=low
 
   * Change libgd build dependency to libgd-dev (closes: #880765).
diff --minimal -Nru cvsgraph-1.7.0/debian/rules cvsgraph-1.7.0/debian/rules
--- cvsgraph-1.7.0/debian/rules 2013-09-04 17:26:23.000000000 +0200
+++ cvsgraph-1.7.0/debian/rules 2020-08-09 19:58:32.000000000 +0200
@@ -14,8 +14,7 @@
 configure-stamp:
        dh_testdir
        dh_autoreconf
-       # Add here commands to configure the package.
-       ./configure --prefix=/usr --mandir=\$${prefix}/share/man 
--infodir=\$${prefix}/share/info --sysconfdir=/etc/cvsgraph
+       dh_auto_configure -- --sysconfdir=/etc/cvsgraph
 
        touch configure-stamp
 

Reply via email to