Source: grepcidr
Version: 2.0-1
Tags: patch
User: [email protected]
Usertags: rebootstrap

grepcidr fails to cross build from source, because it does not pass any
cross tools to make. The easiest way of doing so is using dh_auto_build.
That is sufficient for making grepcidr cross buildable. Please consider
applying the attached patch.

Helmut
diff --minimal -Nru grepcidr-2.0/debian/changelog grepcidr-2.0/debian/changelog
--- grepcidr-2.0/debian/changelog       2015-11-28 07:33:43.000000000 +0100
+++ grepcidr-2.0/debian/changelog       2018-11-28 05:52:57.000000000 +0100
@@ -1,3 +1,10 @@
+grepcidr (2.0-1.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTCBFS: Let dh_auto_build pass cross tools to make. (Closes: #-1)
+
+ -- Helmut Grohne <[email protected]>  Wed, 28 Nov 2018 05:52:57 +0100
+
 grepcidr (2.0-1) unstable; urgency=medium
 
   * New upstream release (Closes: #794509)
diff --minimal -Nru grepcidr-2.0/debian/rules grepcidr-2.0/debian/rules
--- grepcidr-2.0/debian/rules   2015-11-28 07:30:28.000000000 +0100
+++ grepcidr-2.0/debian/rules   2018-11-28 05:52:51.000000000 +0100
@@ -12,7 +12,7 @@
        dh $@ 
 
 override_dh_auto_build:
-       $(MAKE) CPPFLAGS="$(CPPFLAGS)" CFLAGS="$(CFLAGS)" LDFLAGS="$(LDFLAGS)"
+       dh_auto_build -- CPPFLAGS="$(CPPFLAGS)" CFLAGS="$(CFLAGS)" 
LDFLAGS="$(LDFLAGS)"
 
 override_dh_auto_install:
        $(MAKE) install DESTDIR=$(CURDIR)/debian/grepcidr PREFIX=/usr

Reply via email to