ports/devel/qt6-base/files/patch-cmake_FindMySQL.cmake
Jason E. Hale 873f38c4b3 Qt6: Update to 6.8.2
January 31, 2025

We have released Qt 6.8.2 today. As a patch release, Qt 6.8.2 does not
introduce new features but contains more than 450 bug fixes, security
updates, and other improvements on top of Qt 6.8.1 release. See more
information about the most important changes and bug fixes from the
Qt 6.8.2 release note.

Announcement:
https://www.qt.io/blog/qt-6.8.2-released

Release note:
https://code.qt.io/cgit/qt/qtreleasenotes.git/about/qt/6.8.2/release-note.md

MFH:		2025Q1
Security:	72b8729e-e134-11ef-9e76-4ccc6adda413
(cherry picked from commit 8a35ffe0db)
2025-02-02 03:34:09 -05:00

13 lines
528 B
CMake

Use pkgconf to set hints for MariaDB, as well.
--- cmake/FindMySQL.cmake.orig 2024-11-14 11:02:40 UTC
+++ cmake/FindMySQL.cmake
@@ -47,7 +47,7 @@ if(PkgConfig_FOUND AND NOT DEFINED MySQL_ROOT)
endif()
endif()
if(PkgConfig_FOUND AND NOT DEFINED MySQL_ROOT)
- pkg_check_modules(PC_MySQL QUIET "mysqlclient")
+ pkg_search_module(PC_MySQL QUIET "libmariadb" "mysqlclient")
set(MySQL_include_dir_hints ${PC_MySQL_INCLUDEDIR})
set(MySQL_library_hints ${PC_MySQL_LIBDIR})
set(MySQL_library_hints_debug "")