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

Bug#915167: unadf FTCBFS: does not pass cross tools to make



Source: unadf
Version: 0.7.11a-4
Tags: patch
User: helmutg@debian.org
Usertags: rebootstrap

unadf fails to cross build from source, because it does not pass cross
tools to make. The easiest way of doing so is using dh_auto_build. That
is sufficient for making unadf cross buildable. Please consider applying
the attached patch.

Helmut
diff --minimal -Nru unadf-0.7.11a/debian/changelog unadf-0.7.11a/debian/changelog
--- unadf-0.7.11a/debian/changelog	2016-09-24 17:43:06.000000000 +0200
+++ unadf-0.7.11a/debian/changelog	2018-12-01 13:32:53.000000000 +0100
@@ -1,3 +1,10 @@
+unadf (0.7.11a-4.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTCBFS: Let dh_auto_build pass cross tools to make. (Closes: #-1)
+
+ -- Helmut Grohne <helmut@subdivi.de>  Sat, 01 Dec 2018 13:32:53 +0100
+
 unadf (0.7.11a-4) unstable; urgency=high
 
   * Orphan package with security issues.
diff --minimal -Nru unadf-0.7.11a/debian/rules unadf-0.7.11a/debian/rules
--- unadf-0.7.11a/debian/rules	2016-09-19 04:43:24.000000000 +0200
+++ unadf-0.7.11a/debian/rules	2018-12-01 13:32:52.000000000 +0100
@@ -4,8 +4,8 @@
 	dh $@ --parallel
 
 override_dh_auto_build:
-	$(MAKE) -C Lib
-	$(MAKE) -C Demo
+	dh_auto_build --sourcedirectory=Lib
+	dh_auto_build --sourcedirectory=Demo
 
 override_dh_auto_clean:
 	[ ! -f Lib/adf_salv.o ] || $(MAKE) -C Lib clean

Reply to: