[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#836549: mythes FTCBFS: fails to passs --host to configure



Source: mythes
Version: 2:1.2.4-1
Tags: patch
User: helmutg@debian.org
Usertags: rebootstrap

mythes fails to cross build from source, because it does not pass a
suitable --host to ./configure and thus fails finding required
dependencies. The attached patch solves that by using dh_auto_configure,
which knows when to supply --host. Please consider applying the patch.

Helmut
diff --minimal -Nru mythes-1.2.4/debian/changelog mythes-1.2.4/debian/changelog
--- mythes-1.2.4/debian/changelog	2014-06-27 12:19:57.000000000 +0200
+++ mythes-1.2.4/debian/changelog	2016-09-03 23:29:57.000000000 +0200
@@ -1,3 +1,10 @@
+mythes (2:1.2.4-1.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTCBFS: Use dh_auto_configure to supply cross flags (closes: #-1)
+
+ -- Helmut Grohne <helmut@subdivi.de>  Sat, 03 Sep 2016 23:29:37 +0200
+
 mythes (2:1.2.4-1) unstable; urgency=ilow
 
   * New upstream release
diff --minimal -Nru mythes-1.2.4/debian/rules mythes-1.2.4/debian/rules
--- mythes-1.2.4/debian/rules	2014-06-27 12:19:16.000000000 +0200
+++ mythes-1.2.4/debian/rules	2016-09-03 23:29:36.000000000 +0200
@@ -24,7 +24,7 @@
 configure-stamp:
 	dh_testdir
 	dh_autotools-dev_updateconfig
-	./configure --prefix=/usr --enable-static
+	dh_auto_configure -- --enable-static
 	touch configure-stamp
 
 

Reply to: