Source: sbrsh
Version: 7.6.1
Tags: patch
User: debian-cr...@lists.debian.org
Usertags: ftcbfs

sbrsh successfully performs a cross build, but the resulting package
contains binaries for the build architecture. The easiest way of fixing
that is using dh_auto_build. Please consider applying the attached
patch.

Helmut
diff --minimal -Nru sbrsh-7.6.1/debian/changelog 
sbrsh-7.6.1+nmu1/debian/changelog
--- sbrsh-7.6.1/debian/changelog        2009-03-09 09:38:54.000000000 +0100
+++ sbrsh-7.6.1+nmu1/debian/changelog   2021-06-16 13:24:00.000000000 +0200
@@ -1,3 +1,10 @@
+sbrsh (7.6.1+nmu1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTCBFS: Let dh_auto_build pass cross tools to make. (Closes: #-1)
+
+ -- Helmut Grohne <hel...@subdivi.de>  Wed, 16 Jun 2021 13:24:00 +0200
+
 sbrsh (7.6.1) unstable; urgency=low
 
   * Add limits.h include, closes: #518849
diff --minimal -Nru sbrsh-7.6.1/debian/control sbrsh-7.6.1+nmu1/debian/control
--- sbrsh-7.6.1/debian/control  2009-03-09 09:39:32.000000000 +0100
+++ sbrsh-7.6.1+nmu1/debian/control     2021-06-16 13:23:39.000000000 +0200
@@ -2,7 +2,7 @@
 Section: net
 Priority: extra
 Maintainer: Riku Voipio <riku.voi...@iki.fi>
-Build-Depends: debhelper (>= 5)
+Build-Depends: debhelper (>= 7)
 Standards-Version: 3.8.0
 
 Package: sbrshd
diff --minimal -Nru sbrsh-7.6.1/debian/rules sbrsh-7.6.1+nmu1/debian/rules
--- sbrsh-7.6.1/debian/rules    2009-03-09 09:39:56.000000000 +0100
+++ sbrsh-7.6.1+nmu1/debian/rules       2021-06-16 13:23:59.000000000 +0200
@@ -6,10 +6,10 @@
 build: sbrshd sbrsh
 
 sbrshd:
-       $(MAKE) sbrshd
+       dh_auto_build -- sbrshd
 
 sbrsh:
-       $(MAKE) sbrsh
+       dh_auto_build -- sbrsh
 
 binary: binary-arch
 

Reply via email to