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

Bug#960293: cldump FTCBFS: does not pass cross tools to make



Source: cldump
Version: 0.11~dfsg-2
Tags: patch
User: debian-cross@lists.debian.org
Usertags: ftcbfs

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

Helmut
diff --minimal -Nru cldump-0.11~dfsg/debian/changelog cldump-0.11~dfsg/debian/changelog
--- cldump-0.11~dfsg/debian/changelog	2020-05-09 20:03:29.000000000 +0200
+++ cldump-0.11~dfsg/debian/changelog	2020-05-11 14:18:09.000000000 +0200
@@ -1,3 +1,9 @@
+cldump (0.11~dfsg-3) UNRELEASED; urgency=medium
+
+  * Fix FTCBFS: Let dh_auto_build pass cross tools to make. (Closes: #-1)
+
+ -- Helmut Grohne <helmut@subdivi.de>  Mon, 11 May 2020 14:18:09 +0200
+
 cldump (0.11~dfsg-2) unstable; urgency=medium
 
   * QA upload.
diff --minimal -Nru cldump-0.11~dfsg/debian/rules cldump-0.11~dfsg/debian/rules
--- cldump-0.11~dfsg/debian/rules	2020-05-09 20:03:29.000000000 +0200
+++ cldump-0.11~dfsg/debian/rules	2020-05-11 14:18:08.000000000 +0200
@@ -13,10 +13,7 @@
 
 build-stamp:
 	dh_testdir
-
-	# Add here commands to compile the package.
-	$(MAKE) -C src
-
+	dh_auto_build -Dsrc
 	touch build-stamp
 
 clean:

Reply to: