ports/devel/qt6-base/files/patch-cmake_QtPkgConfigHelpers.cmake
Jason E. Hale 8efd8ab39b devel/qt6-base: Enable building with non-base SSL
Fix detection of desired SSL provider. Previously, qt6-base was only
using OpenSSL from base, but this change allows users to build against
whichever SSL provider they have chosen via DEFAULT_VERSIONS.

LibreSSL support has also been added and is largely based on patches
obtained from the OpenBSD ports tree. Fixes [1].

Subsequently, refresh old patches.

PR:		269316 [1]
Reported by:	<tjlegg@gmail.com> [1]
MFH:		2023Q4 (after 1 week)
2023-10-24 17:26:04 -04:00

10 lines
532 B
CMake

--- cmake/QtPkgConfigHelpers.cmake.orig 2023-09-21 19:24:26 UTC
+++ cmake/QtPkgConfigHelpers.cmake
@@ -159,6 +159,6 @@ function(qt_internal_generate_pkg_config_file module)
# This is inspired by https://gitlab.kitware.com/cmake/cmake/-/issues/20842
target_sources(${module} PRIVATE "${final_pc_path}")
- qt_install(FILES "${final_pc_path}" DESTINATION "${install_dir}")
+ qt_install(FILES "${final_pc_path}" DESTINATION "${CMAKE_INSTALL_PREFIX}/libdata/pkgconfig")
endforeach()
endfunction()