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

Bug#928244: dosck FTCBFS: ancient configure does not recognize --host



Source: doschk
Version: 1.1-7
Tags: patch
User: helmutg@debian.org
Usertags: rebootstrap

doschk fails to cross build from source, because its configure is so old
that it does not support the --host flag. As such the host architecture
is communicated via the compiler by exporting CC. The attached patch
implements that and makes doschk cross buildable. Please consider
applying it.

Helmut
diff -u doschk-1.1/debian/changelog doschk-1.1/debian/changelog
--- doschk-1.1/debian/changelog
+++ doschk-1.1/debian/changelog
@@ -1,3 +1,9 @@
+doschk (1.1-8) UNRELEASED; urgency=medium
+
+  * Fix FTCBFS: Communicate CC to ./configure. (Closes: #-1)
+
+ -- Helmut Grohne <helmut@subdivi.de>  Tue, 30 Apr 2019 16:35:31 +0200
+
 doschk (1.1-7) unstable; urgency=medium
 
   * debian/control: Orphan package.
diff -u doschk-1.1/debian/rules doschk-1.1/debian/rules
--- doschk-1.1/debian/rules
+++ doschk-1.1/debian/rules
@@ -2,6 +2,9 @@
 # debian/rules for doschk, modified by Ben Pfaff from original by Joey
 # Hess.
 
+-include /usr/share/dpkg/buildtools.mk
+export CC
+
 build: build-stamp
 build-stamp:
 	dh_testdir

Reply to: