Source: pound
Version: 3.0-2
Tags: patch
User: debian-cr...@lists.debian.org
Usertags: ftcbfs

pound fails to cross build from source since the 3.0-2 upload to
unstable, because it does not pass cross flags to cmake. The easiest way
of doing so - using dh_auto_configure - makes pound cross buildable.
Please consider applying the attached patch.

Helmut
diff --minimal -Nru pound-3.0/debian/changelog pound-3.0/debian/changelog
--- pound-3.0/debian/changelog  2020-12-10 11:23:42.000000000 +0100
+++ pound-3.0/debian/changelog  2021-04-19 11:43:30.000000000 +0200
@@ -1,3 +1,10 @@
+pound (3.0-2.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTCBFS: Let dh_auto_configure pass cross flags to cmake. (Closes: #-1)
+
+ -- Helmut Grohne <hel...@subdivi.de>  Mon, 19 Apr 2021 11:43:30 +0200
+
 pound (3.0-2) unstable; urgency=medium
 
   * Fix FTBS on KFreeBSD
diff --minimal -Nru pound-3.0/debian/rules pound-3.0/debian/rules
--- pound-3.0/debian/rules      2020-12-10 11:23:42.000000000 +0100
+++ pound-3.0/debian/rules      2021-04-19 11:43:12.000000000 +0200
@@ -17,7 +17,7 @@
        dh "$@" --with sysuser
 
 override_dh_auto_configure:
-       cd build && cmake ..
+       dh_auto_configure --builddirectory=build
 
 override_dh_auto_build:
        cd build && make

Reply via email to