Source: qt6-networkauth
Version: 6.4.2-1
Tags: patch
User: debian-cr...@lists.debian.org
Usertags: ftcbfs

Hi,

yeah, this is another package missing QT_HOST_PATH and it's the same
obvious patch as usual. Attached.

Helmut
diff --minimal -Nru qt6-networkauth-6.4.2/debian/changelog 
qt6-networkauth-6.4.2/debian/changelog
--- qt6-networkauth-6.4.2/debian/changelog      2023-01-26 23:03:37.000000000 
+0100
+++ qt6-networkauth-6.4.2/debian/changelog      2023-03-30 14:02:57.000000000 
+0200
@@ -1,3 +1,10 @@
+qt6-networkauth (6.4.2-1.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTCBFS: Pass QT_HOST_PATH. (Closes: #-1)
+
+ -- Helmut Grohne <hel...@subdivi.de>  Thu, 30 Mar 2023 14:02:57 +0200
+
 qt6-networkauth (6.4.2-1) unstable; urgency=medium
 
   [ Patrick Franz ]
diff --minimal -Nru qt6-networkauth-6.4.2/debian/rules 
qt6-networkauth-6.4.2/debian/rules
--- qt6-networkauth-6.4.2/debian/rules  2022-12-30 16:46:01.000000000 +0100
+++ qt6-networkauth-6.4.2/debian/rules  2023-03-30 14:02:56.000000000 +0200
@@ -3,13 +3,19 @@
 
 export DEB_BUILD_MAINT_OPTIONS = hardening=+all optimize=+lto
 
+extra_cmake_args=
+ifneq ($(DEB_BUILD_ARCH),$(DEB_HOST_ARCH))
+extra_cmake_args += -DQT_HOST_PATH=/usr
+endif
+
 %:
        dh $@ --buildsystem=cmake+ninja --with pkgkde_symbolshelper
 
 override_dh_auto_configure:
        dh_auto_configure -- \
                --log-level=STATUS \
-               -DCMAKE_LIBRARY_PATH=$(DEB_HOST_MULTIARCH)
+               -DCMAKE_LIBRARY_PATH=$(DEB_HOST_MULTIARCH) \
+               $(extra_cmake_args)
 
 execute_after_dh_auto_install:
        # Reproducible builds: remove build paths from .prl files

Reply via email to