ports/devel/qt6-base/files/patch-cmake_QtRpathHelpers.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

11 lines
473 B
CMake

--- cmake/QtRpathHelpers.cmake.orig 2023-09-21 19:24:26 UTC
+++ cmake/QtRpathHelpers.cmake
@@ -8,6 +8,8 @@ function(qt_internal_get_relative_rpath_base_token out
set(rpath_rel_base "@loader_path")
elseif(LINUX OR SOLARIS OR FREEBSD OR HURD OR OPENBSD)
set(rpath_rel_base "$ORIGIN")
+ elseif(CMAKE_SYSTEM_NAME MATCHES "FreeBSD")
+ set(rpath_rel_base "$ORIGIN")
else()
set(rpath_rel_base "NO_KNOWN_RPATH_REL_BASE")
endif()