Source: packeth
Version: 2.1-0.2
Tags: patch
User: debian-cr...@lists.debian.org
Usertags: ftcbfs

packeth fails to cross build from source, because it does not pass cross
tools to make. The easiest way of doing so - using dh_auto_build - makes
packeth cross buildable. I'm attaching a patch for your convenience.

Helmut
diff --minimal -Nru packeth-2.1/debian/changelog packeth-2.1/debian/changelog
--- packeth-2.1/debian/changelog        2023-10-01 14:56:11.000000000 +0200
+++ packeth-2.1/debian/changelog        2024-01-01 09:10:15.000000000 +0100
@@ -1,3 +1,10 @@
+packeth (2.1-0.3) 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, 01 Jan 2024 09:10:15 +0100
+
 packeth (2.1-0.2) unstable; urgency=medium
 
   * Non-maintainer upload
diff --minimal -Nru packeth-2.1/debian/rules packeth-2.1/debian/rules
--- packeth-2.1/debian/rules    2023-09-20 19:54:49.000000000 +0200
+++ packeth-2.1/debian/rules    2024-01-01 09:10:03.000000000 +0100
@@ -12,7 +12,7 @@
        dh_auto_clean
 
 override_dh_auto_build:
-       cd cli && $(MAKE)
+       dh_auto_build --sourcedirectory=cli
 
 override_dh_auto_install:
        cp -r pixmaps cli/

Reply via email to