Source: memlockd
Version: 1.2
Tags: patch
User: debian-cr...@lists.debian.org
Usertags: ftcbfs

memlockd 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 memlockd cross buildable. Please consider applying
the attached patch.

Helmut
diff --minimal -Nru memlockd-1.2/debian/changelog 
memlockd-1.2+nmu1/debian/changelog
--- memlockd-1.2/debian/changelog       2016-12-14 03:55:24.000000000 +0100
+++ memlockd-1.2+nmu1/debian/changelog  2019-12-15 17:34:11.000000000 +0100
@@ -1,3 +1,10 @@
+memlockd (1.2+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>  Sun, 15 Dec 2019 17:34:11 +0100
+
 memlockd (1.2) unstable; urgency=low
 
   * debian/control: Add dh-systemd (>= 1.4) to Build-Depends - required to use
diff --minimal -Nru memlockd-1.2/debian/rules memlockd-1.2+nmu1/debian/rules
--- memlockd-1.2/debian/rules   2016-12-14 03:55:12.000000000 +0100
+++ memlockd-1.2+nmu1/debian/rules      2019-12-15 17:34:07.000000000 +0100
@@ -34,7 +34,7 @@
        dh_testdir
 
        # Add here commands to compile the package.
-       $(MAKE) CXXFLAGS=-O2
+       dh_auto_build -- CXXFLAGS=-O2
        #docbook-to-man debian/memlockd.sgml > memlockd.1
 
        touch $@

Reply via email to