Source: gri
Version: 2.12.26-1
Tags: patch
User: helm...@debian.org
Usertags: rebootstrap

gri fails to cross build from source, because debian/rules does not pass
--host to ./configure. The easiest way of doing so is letting
dh_auto_configure do it and that makes gri cross buildable. Please
consider applying the attached patch.

Helmut
diff --minimal -Nru gri-2.12.26/debian/changelog gri-2.12.26/debian/changelog
--- gri-2.12.26/debian/changelog        2017-08-15 17:20:56.000000000 +0200
+++ gri-2.12.26/debian/changelog        2018-06-09 22:02:13.000000000 +0200
@@ -1,3 +1,10 @@
+gri (2.12.26-1.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTCBFS: Let dh_auto_configure pass --host to ./configure. (Closes: #-1)
+
+ -- Helmut Grohne <hel...@subdivi.de>  Sat, 09 Jun 2018 22:02:13 +0200
+
 gri (2.12.26-1) unstable; urgency=medium
 
   * New upstream release.
diff --minimal -Nru gri-2.12.26/debian/control gri-2.12.26/debian/control
--- gri-2.12.26/debian/control  2017-08-15 17:20:56.000000000 +0200
+++ gri-2.12.26/debian/control  2018-06-09 22:01:23.000000000 +0200
@@ -2,7 +2,7 @@
 Section: science
 Priority: optional
 Maintainer: Peter S Galbraith <p...@debian.org>
-Build-Depends: debhelper (>= 0), libnetcdf-dev, libreadline-dev, 
texlive-latex-base, texlive-generic-recommended, texinfo, imagemagick, info, 
ghostscript, gsfonts
+Build-Depends: debhelper (>= 7), libnetcdf-dev, libreadline-dev, 
texlive-latex-base, texlive-generic-recommended, texinfo, imagemagick, info, 
ghostscript, gsfonts
 Homepage: http://gri.sourceforge.net/
 Standards-Version: 3.9.8
 
diff --minimal -Nru gri-2.12.26/debian/rules gri-2.12.26/debian/rules
--- gri-2.12.26/debian/rules    2017-08-15 17:20:56.000000000 +0200
+++ gri-2.12.26/debian/rules    2018-06-09 22:02:11.000000000 +0200
@@ -76,7 +76,7 @@
 Makefile:
 # To test on g++-3.0 :
 #      CC=gcc-3.0 CXX=g++-3.0 ./configure --prefix=/usr
-       ./configure --prefix=/usr --enable-linux_debian
+       dh_auto_configure -- --enable-linux_debian
 
 # Build architecture-independent files here (no need to be root).
 build-indep: debian/gri_merge.1 Makefile

Reply via email to