Source: cruft-ng
Version: 0.9.60
Tags: patch
User: [email protected]
Usertags: ftcbfs

cruft-ng 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 cruft-ng cross buildable. Consider applying the attached patch.

Helmut
diff --minimal -Nru cruft-ng-0.9.60/debian/changelog 
cruft-ng-0.9.60+nmu1/debian/changelog
--- cruft-ng-0.9.60/debian/changelog    2023-12-19 00:49:41.000000000 +0100
+++ cruft-ng-0.9.60+nmu1/debian/changelog       2023-12-30 08:54:47.000000000 
+0100
@@ -1,3 +1,10 @@
+cruft-ng (0.9.60+nmu1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTCBFS: Let dh_auto_build pass cross tools to make. (Closes: #-1)
+
+ -- Helmut Grohne <[email protected]>  Sat, 30 Dec 2023 08:54:47 +0100
+
 cruft-ng (0.9.60) unstable; urgency=medium
 
   * add new rules for ulogd2, oss-compat,
diff --minimal -Nru cruft-ng-0.9.60/debian/rules 
cruft-ng-0.9.60+nmu1/debian/rules
--- cruft-ng-0.9.60/debian/rules        2023-01-28 13:11:55.000000000 +0100
+++ cruft-ng-0.9.60+nmu1/debian/rules   2023-12-30 08:54:45.000000000 +0100
@@ -25,11 +25,11 @@
 override_dh_auto_build-arch:
        ./ruleset.sh $(DEB_DISTRIBUTION)
 ifeq ($(DEB_DISTRIBUTION),$(filter $(DEB_DISTRIBUTION),buster xenial focal))
-       make cruftold cpigsold
+       dh_auto_build -- cruftold cpigsold
        mv cruftold cruft
        mv cpigsold cpigs
 else
-       make cruft cpigs
+       dh_auto_build -- cruft cpigs
 endif
 
 

Reply via email to