Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 10 May 2024 09:18:49 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 277922] Mk/bsd.default-versions.mk: Change default version of MySQL to MariaDB 10.11 (mysql=10.11m)
Message-ID:  <bug-277922-7788-AX7stD19eH@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-277922-7788@https.bugs.freebsd.org/bugzilla/>
References:  <bug-277922-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D277922

--- Comment #18 from Vladimir Druzenko <vvd@FreeBSD.org> ---
(In reply to Vladimir Druzenko from comment #17)
Maybe better to patch MySQL/MariaDB detection in qt6:
devel/qt6-base/files/patch-cmake_FindMySQL.cmake:
--- cmake/FindMySQL.cmake.orig
+++ cmake/FindMySQL.cmake
@@ -44,6 +44,9 @@ if(NOT DEFINED MySQL_ROOT)
 endif()
 if(PkgConfig_FOUND AND NOT DEFINED MySQL_ROOT)
     pkg_check_modules(PC_MySQL QUIET "mysqlclient")
+    if(NOT DEFINED MySQL_ROOT)
+        pkg_check_modules(PC_MySQL QUIET "libmariadb")
+    endif()
     set(MySQL_include_dir_hints ${PC_MySQL_INCLUDEDIR})
     set(MySQL_library_hints ${PC_MySQL_LIBDIR})
     set(MySQL_library_hints_debug "")

--=20
You are receiving this mail because:
You are on the CC list for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-277922-7788-AX7stD19eH>