Source: net-acct
Version: 0.71-9.1
Tags: patch
User: debian-cr...@lists.debian.org
Usertags: ftcbfs

net-acct fails to cross build from source, because it does not pass
cross tools to make. The easiest way of fixing that - using
dh_auto_build - makes net-acct cross buildable. Please consider applying
the attached patch.

Helmut
diff --minimal -Nru net-acct-0.71/debian/changelog 
net-acct-0.71/debian/changelog
--- net-acct-0.71/debian/changelog      2019-04-02 19:59:09.000000000 +0200
+++ net-acct-0.71/debian/changelog      2019-06-20 19:13:54.000000000 +0200
@@ -1,3 +1,10 @@
+net-acct (0.71-9.2) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTCBFS: Let dh_auto_build pass cross tools to make. (Closes: #-1)
+
+ -- Helmut Grohne <hel...@subdivi.de>  Thu, 20 Jun 2019 19:13:54 +0200
+
 net-acct (0.71-9.1) unstable; urgency=medium
 
   * Non-maintainer upload.
diff --minimal -Nru net-acct-0.71/debian/rules net-acct-0.71/debian/rules
--- net-acct-0.71/debian/rules  2009-10-29 23:23:21.000000000 +0100
+++ net-acct-0.71/debian/rules  2019-06-20 19:13:32.000000000 +0200
@@ -9,7 +9,7 @@
 
 .PHONY: override_dh_auto_build
 override_dh_auto_build:
-       $(MAKE) -C src MASQ=-DREMAP_MASQUERADE
+       dh_auto_build --sourcedirectory=src -- MASQ=-DREMAP_MASQUERADE
        cp src/naccttab.sample debian/naccttab
 
 .PHONY: override_dh_auto_clean

Reply via email to