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

Bug#928860: libjconv FTCBFS: does not pass cross tools to make



Source: libjconv
Version: 2.8-7
Tags: patch
User: helmutg@debian.org
Usertags: rebootstrap

libjconv fails to cross build from source, because it does not pass
cross tools to make. The easiest way of doing so - using dh_auto_build -
makes libjconv cross buildable. Please consider applying the attached
patch.

Helmut
diff --minimal -Nru libjconv-2.8/debian/changelog libjconv-2.8/debian/changelog
--- libjconv-2.8/debian/changelog	2016-07-11 03:00:39.000000000 +0200
+++ libjconv-2.8/debian/changelog	2019-05-12 09:47:41.000000000 +0200
@@ -1,3 +1,9 @@
+libjconv (2.8-8) UNRELEASED; urgency=medium
+
+  * Fix FTCBFS: Let dh_auto_build pass cross tools to make. (Closes: #-1)
+
+ -- Helmut Grohne <helmut@subdivi.de>  Sun, 12 May 2019 09:47:41 +0200
+
 libjconv (2.8-7) unstable; urgency=medium
 
   * QA upload.
diff --minimal -Nru libjconv-2.8/debian/rules libjconv-2.8/debian/rules
--- libjconv-2.8/debian/rules	2016-07-11 02:43:33.000000000 +0200
+++ libjconv-2.8/debian/rules	2019-05-12 09:47:10.000000000 +0200
@@ -22,7 +22,7 @@
 build-arch:
 	dh_testdir
 
-	$(MAKE) MAJOR=$(major)
+	dh_auto_build -- MAJOR=$(major)
 
 build: build-indep build-arch
 

Reply to: