[Bug 277922] Mk/bsd.default-versions.mk: Change default version of MySQL to MariaDB 10.11 (mysql=10.11m)

From: <bugzilla-noreply_at_freebsd.org>
Date: Thu, 09 May 2024 12:34:28 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=277922

--- Comment #17 from Vladimir Druzenko <vvd@FreeBSD.org> ---
(In reply to Jason E. Hale from comment #16)
MariDB installs symlink libmysqlclient.so => libmariadb.so.3:
Patch can be modified:
--- databases/qt6-base_sqldriver/Makefile.orig
+++ databases/qt6-base_sqldriver/Makefile
@@ -31,7 +31,7 @@ sqlite_CMAKE_ON=      QT_FEATURE_system_sqlite
 ${FLAVOR}_PLIST=       ${.CURDIR}/pkg-plist.${FLAVOR}

 .if ${FLAVOR:U} == mysql
-IGNORE_WITH_MYSQL=     105m 106m 1011m
+CMAKE_ARGS+=   -DMySQL_LIBRARY=${LOCALBASE}/lib/mysql/libmysqlclient.so
 .endif

 .include <bsd.port.mk>

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