Source: htslib
Version: 1.5-1
Tags: patch
User: helm...@debian.org
Usertags: rebootstrap

htslib fails to cross build from source, because it configures for the
build architecture by failing to pass --host configure. Deferring that
task to dh_auto_configure easily fixes the cross build. Please consider
applying the attached patch.

Helmut
diff --minimal -Nru htslib-1.5/debian/changelog htslib-1.5/debian/changelog
--- htslib-1.5/debian/changelog 2017-08-04 04:56:42.000000000 +0200
+++ htslib-1.5/debian/changelog 2017-10-26 21:05:01.000000000 +0200
@@ -1,3 +1,10 @@
+htslib (1.5-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>  Thu, 26 Oct 2017 21:05:01 +0200
+
 htslib (1.5-1) unstable; urgency=medium
 
   * Team upload
diff --minimal -Nru htslib-1.5/debian/rules htslib-1.5/debian/rules
--- htslib-1.5/debian/rules     2017-08-04 04:56:19.000000000 +0200
+++ htslib-1.5/debian/rules     2017-10-26 21:04:59.000000000 +0200
@@ -19,7 +19,7 @@
 
 override_dh_auto_configure:
        autoconf
-       ./configure --enable-libcurl
+       dh_auto_configure -- --enable-libcurl
 
 override_dh_auto_build:
        dh_auto_build -- \

Reply via email to