Source: lookup
Version: 1.08b-11
Severity: normal
Tags: patch

lookup fails to cross build from source, because it uses the build
architecture compiler. dh_auto_build passes cross compilers to make, so
after switching to it, lookup cross builds successfully. Please consider
applying the attached patch.

Helmut
diff -u lookup-1.08b/debian/control lookup-1.08b/debian/control
--- lookup-1.08b/debian/control
+++ lookup-1.08b/debian/control
@@ -2,7 +2,7 @@
 Section: text
 Priority: optional
 Maintainer: Ludovic Drolez <ldro...@debian.org>
-Build-Depends: debhelper (>> 2.0.0), groff-base
+Build-Depends: debhelper (>= 7), groff-base
 Standards-Version: 3.8.3
 
 Package: lookup
diff -u lookup-1.08b/debian/rules lookup-1.08b/debian/rules
--- lookup-1.08b/debian/rules
+++ lookup-1.08b/debian/rules
@@ -22,7 +22,7 @@
        dh_testdir
 
        # Add here commands to compile the package.
-       $(MAKE) CFLAGS="$(CFLAGS)"
+       dh_auto_build CFLAGS="$(CFLAGS)"
        (cd doc; soelim lookup.man) > lookup.man
 
        touch build-stamp
diff -u lookup-1.08b/debian/changelog lookup-1.08b/debian/changelog
--- lookup-1.08b/debian/changelog
+++ lookup-1.08b/debian/changelog
@@ -1,3 +1,10 @@
+lookup (1.08b-11.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>  Mon, 07 Aug 2017 19:57:12 +0200
+
 lookup (1.08b-11) unstable; urgency=low
 
   * renamed the getline() function to mygetline(). Closes: #552827

Reply via email to