Source: hacktv
Version: 0+git20240812+ds-1
Tags: patch
User: debian-cr...@lists.debian.org
Usertags: ftcbfs

hacktv fails to cross build from source, because it uses the
non-standard variable PKGCONF for pkgconf (formerly pkg-config) and
debhelper only passes PKG_CONFIG. I'm attaching a patch that performs
the renaming for your convenience.

Helmut
diff --minimal -Nru hacktv-0+git20240812+ds/debian/changelog 
hacktv-0+git20240812+ds/debian/changelog
--- hacktv-0+git20240812+ds/debian/changelog    2024-08-12 14:19:43.000000000 
+0200
+++ hacktv-0+git20240812+ds/debian/changelog    2024-10-18 21:42:12.000000000 
+0200
@@ -1,3 +1,10 @@
+hacktv (0+git20240812+ds-1.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTCBFS: Seed PKGCONF variable into the build. (Closes: #-1)
+
+ -- Helmut Grohne <hel...@subdivi.de>  Fri, 18 Oct 2024 21:42:12 +0200
+
 hacktv (0+git20240812+ds-1) unstable; urgency=medium
 
   * New upstream version. (Closes: #1072422)
diff --minimal -Nru hacktv-0+git20240812+ds/debian/rules 
hacktv-0+git20240812+ds/debian/rules
--- hacktv-0+git20240812+ds/debian/rules        2024-08-12 14:19:43.000000000 
+0200
+++ hacktv-0+git20240812+ds/debian/rules        2024-10-18 21:42:10.000000000 
+0200
@@ -19,7 +19,7 @@
        dh $@ --sourcedirectory=src
 
 override_dh_auto_build:
-       dh_auto_build -- CROSS_HOST=$(DEB_HOST_GNU_TYPE)-
+       dh_auto_build -- 'PKGCONF=$$(or $$(PKG_CONFIG),pkg-config)'
 
 override_dh_auto_test:
        @echo skipping test

Reply via email to