mirror of
https://git.freebsd.org/ports.git
synced 2025-06-26 15:10:35 -04:00
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)
10 lines
532 B
CMake
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()
|