Source: gnuit
Version: 4.9.5-3
Tags: patch
User: helm...@debian.org
Usertags: rebootstrap

gnuit fails to cross build from source, because it does not pass the
relevant --host flag to ./configure. debian/rules clearly attempts to do
so, but fails to recognize that make variables are case sensitive. The
attached patch makes it use upper case consistently and thus fixes cross
building. Please consider applying it.

Helmut
diff -u gnuit-4.9.5/debian/rules gnuit-4.9.5/debian/rules
--- gnuit-4.9.5/debian/rules
+++ gnuit-4.9.5/debian/rules
@@ -23,9 +23,9 @@
 
 # FOR AUTOCONF 2.52 AND NEWER ONLY -
 ifeq ($(DEB_BUILD_GNU_TYPE), $(DEB_HOST_GNU_TYPE))
-  confflags += --build $(DEB_HOST_GNU_TYPE)
+  CONFFLAGS += --build $(DEB_HOST_GNU_TYPE)
 else
-  confflags += --build $(DEB_BUILD_GNU_TYPE) --host $(DEB_HOST_GNU_TYPE)
+  CONFFLAGS += --build $(DEB_BUILD_GNU_TYPE) --host $(DEB_HOST_GNU_TYPE)
 endif
 
 ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
diff -u gnuit-4.9.5/debian/changelog gnuit-4.9.5/debian/changelog
--- gnuit-4.9.5/debian/changelog
+++ gnuit-4.9.5/debian/changelog
@@ -1,3 +1,10 @@
+gnuit (4.9.5-3.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTCBFS: Deconfuse CONFFLAGS vs confflags. (Closes: #-1)
+
+ -- Helmut Grohne <hel...@subdivi.de>  Sun, 23 Jul 2017 16:51:46 +0200
+
 gnuit (4.9.5-3) unstable; urgency=low
 
   * Build-Depend on libreadline-dev instead of libreadline5-dev

Reply via email to