Source: tcp-wrappers
Version: 7.6.q-29
Tags: patch
Severity: important
User: debian-cr...@lists.debian.org
Usertags: ftcbfs

tcp-wrappers fails to cross build from source, because the last upload
removed support for doing so. Please consider applying the attached
patch.

Helmut
diff --minimal -Nru tcp-wrappers-7.6.q/debian/changelog 
tcp-wrappers-7.6.q/debian/changelog
--- tcp-wrappers-7.6.q/debian/changelog 2019-11-24 23:29:52.000000000 +0100
+++ tcp-wrappers-7.6.q/debian/changelog 2019-11-25 20:51:29.000000000 +0100
@@ -1,3 +1,10 @@
+tcp-wrappers (7.6.q-29.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTCBFS: Let dh_auto_build pass cross tools to make. (Closes: #-1)
+
+ -- Helmut Grohne <hel...@subdivi.de>  Mon, 25 Nov 2019 20:51:29 +0100
+
 tcp-wrappers (7.6.q-29) unstable; urgency=medium
 
   * Moved the library from /lib/ to /usr/lib/. (Closes: #941047)
diff --minimal -Nru tcp-wrappers-7.6.q/debian/rules 
tcp-wrappers-7.6.q/debian/rules
--- tcp-wrappers-7.6.q/debian/rules     2019-11-24 20:46:34.000000000 +0100
+++ tcp-wrappers-7.6.q/debian/rules     2019-11-25 20:51:28.000000000 +0100
@@ -24,7 +24,7 @@
        dh_clean shared/
 
 override_dh_auto_build:
-       $(MAKE) $(CROSS) COPTS="$(CFLAGS) $(CPPFLAGS)" LDOPTS="$(LDFLAGS)" 
$(build_target)
+       dh_auto_build -- COPTS="$(CFLAGS) $(CPPFLAGS)" LDOPTS="$(LDFLAGS)" 
$(build_target)
 
 override_dh_installdocs:
        dh_installdocs --link-doc=libwrap0

Reply via email to