Source: spell
Version: 1.0-24
Tags: patch
User: [email protected]
Usertags: rebootstrap

spell fails to cross build from source, because its ./configure ignores
the CC assignment carefully crafted in the Debian packaging. Passing the
CC variable as an environment variable instead of a command line
variable fixes the cross build. Please consider applying the attached
patch.

Helmut
diff -u spell-1.0/debian/rules spell-1.0/debian/rules
--- spell-1.0/debian/rules
+++ spell-1.0/debian/rules
@@ -23,7 +23,7 @@
 config.status: configure patch-stamp
        dh_testdir
 
-       CFLAGS="$(CFLAGS)" ./configure $(CROSS) --prefix=/usr 
--mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info
+       CFLAGS="$(CFLAGS)" $(CROSS) ./configure --prefix=/usr 
--mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info
 
 build: build-stamp
 build-stamp: config.status
diff -u spell-1.0/debian/changelog spell-1.0/debian/changelog
--- spell-1.0/debian/changelog
+++ spell-1.0/debian/changelog
@@ -1,3 +1,10 @@
+spell (1.0-24.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTCBFS: Pass CC via environment (Closes: #-1)
+
+ -- Helmut Grohne <[email protected]>  Wed, 11 Jan 2017 09:12:54 +0100
+
 spell (1.0-24) unstable; urgency=low
 
   * Support also aspell (Closes: #381511)

Reply via email to