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

Bug#987286: trueprint FTCBFS: does not pass --host to ./configure



Source: trueprint
Version: 5.4-3
Tags: patch
User: debian-cross@lists.debian.org
Usertags: ftcbfs

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

Helmut
diff --minimal -Nru trueprint-5.4/debian/changelog trueprint-5.4/debian/changelog
--- trueprint-5.4/debian/changelog	2019-12-23 15:46:03.000000000 +0100
+++ trueprint-5.4/debian/changelog	2021-04-19 11:47:38.000000000 +0200
@@ -1,3 +1,9 @@
+trueprint (5.4-5) UNRELEASED; urgency=medium
+
+  * Fix FTCBFS: Let dh_auto_configure pass --host to ./configure. (Closes: #-1)
+
+ -- Helmut Grohne <helmut@subdivi.de>  Mon, 19 Apr 2021 11:47:38 +0200
+
 trueprint (5.4-4) unstable; urgency=medium
 
   * QA upload.
diff --minimal -Nru trueprint-5.4/debian/rules trueprint-5.4/debian/rules
--- trueprint-5.4/debian/rules	2019-12-23 15:46:03.000000000 +0100
+++ trueprint-5.4/debian/rules	2021-04-19 11:47:36.000000000 +0200
@@ -8,7 +8,7 @@
 	dh $@
 
 override_dh_auto_configure:
-	./configure --prefix=/usr --libdir=/etc/trueprint
+	dh_auto_configure -- --libdir=/etc/trueprint
 
 override_dh_auto_install:
 	dh_auto_install

Reply to: