Source: cliquer
Version: 1.21-1
Tags: patch
User: helm...@debian.org
Usertags: rebootstrap

cliquer fails to cross build from source, because it uses the build
architecture compiler. Letting dh_auto_build pass cross compilers to
make fixes that and makes cliquer cross build successfully. Please
consider applying the attached patch.

Helmut
diff --minimal -Nru cliquer-1.21/debian/changelog cliquer-1.21/debian/changelog
--- cliquer-1.21/debian/changelog       2011-03-20 15:28:42.000000000 +0100
+++ cliquer-1.21/debian/changelog       2017-11-21 19:40:34.000000000 +0100
@@ -1,3 +1,10 @@
+cliquer (1.21-1.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTCBFS: Let dh_auto_build pass cross compilers to make. (Closes: #-1)
+
+ -- Helmut Grohne <hel...@subdivi.de>  Tue, 21 Nov 2017 19:40:34 +0100
+
 cliquer (1.21-1) unstable; urgency=low
 
   * Initial release (Closes: 617947).
diff --minimal -Nru cliquer-1.21/debian/rules cliquer-1.21/debian/rules
--- cliquer-1.21/debian/rules   2011-03-20 15:28:42.000000000 +0100
+++ cliquer-1.21/debian/rules   2017-11-21 19:40:31.000000000 +0100
@@ -19,7 +19,7 @@
 build-indep:
 
 build-arch-stamp:
-       $(MAKE) CFLAGS='$(CFLAGS)' CPPFLAGS='$(CPPFLAGS)' LDFLAGS='$(LDFLAGS)' 
prefix=/usr
+       dh_auto_build -- CFLAGS='$(CFLAGS)' CPPFLAGS='$(CPPFLAGS)' 
LDFLAGS='$(LDFLAGS)' prefix=/usr
        touch $@
 
 clean:
-- 
debian-science-maintainers mailing list
debian-science-maintainers@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/debian-science-maintainers

Reply via email to