git: 6ca0412c95f1 - main - net-mgmt/zabbix74-server: Fix build with MariaDB

From: Juraj Lutter <otis_at_FreeBSD.org>
Date: Tue, 01 Sep 2026 12:37:32 UTC
The branch main has been updated by otis:

URL: https://cgit.FreeBSD.org/ports/commit/?id=6ca0412c95f17ecad04859bf3d1ee2758e3dca23

commit 6ca0412c95f17ecad04859bf3d1ee2758e3dca23
Author:     Juraj Lutter <otis@FreeBSD.org>
AuthorDate: 2026-09-01 12:09:02 +0000
Commit:     Juraj Lutter <otis@FreeBSD.org>
CommitDate: 2026-09-01 12:09:02 +0000

    net-mgmt/zabbix74-server: Fix build with MariaDB
    
    Synchronize with all supported MariaDB versions.
    
    PR:             298091
---
 net-mgmt/zabbix74-server/Makefile               | 6 +++++-
 net-mgmt/zabbix74-server/files/zabbix_server.in | 6 ++++--
 2 files changed, 9 insertions(+), 3 deletions(-)

diff --git a/net-mgmt/zabbix74-server/Makefile b/net-mgmt/zabbix74-server/Makefile
index db961af80aaf..72d952c5b378 100644
--- a/net-mgmt/zabbix74-server/Makefile
+++ b/net-mgmt/zabbix74-server/Makefile
@@ -78,7 +78,7 @@ SUB_FILES=	pkg-message
 OPTIONS_DEFAULT+=	CURL FPING IPMI IPV6 MYSQLDV OPENSSL SNMP SSH UNIXODBC
 OPTIONS_DEFINE=		CURL FPING IPMI IPV6 LDAP NMAP PCRE2 SNMP SSH UNIXODBC
 OPTIONS_SINGLE+=	DB SSL
-OPTIONS_SINGLE_DB=	MDB1011 MDB114 MDB118 MYSQL MYSQLDV PGSQL
+OPTIONS_SINGLE_DB=	MDB1011 MDB114 MDB118 MDB123 MYSQL MYSQLDV PGSQL
 .if ${ZABBIX_BUILD} == "proxy"
 OPTIONS_SINGLE_DB+=	SQLITE
 .endif
@@ -121,6 +121,10 @@ MDB118_CONFIGURE_ON=	--with-mysql=${LOCALBASE}/bin/mysql_config
 MDB118_USES+=		compiler:c11 mysql:118m
 MDB118_DESC=		Mariadb 11.8 database support
 
+MDB123_CONFIGURE_ON=	--with-mysql=${LOCALBASE}/bin/mysql_config
+MDB123_USES+=		compiler:c11 mysql:123m
+MDB123_DESC=		Mariadb 12.3 database support
+
 PGSQL_CONFIGURE_WITH=	postgresql
 PGSQL_USES+=		pgsql
 
diff --git a/net-mgmt/zabbix74-server/files/zabbix_server.in b/net-mgmt/zabbix74-server/files/zabbix_server.in
index 8a1fa48a890c..676cf4d5fc45 100644
--- a/net-mgmt/zabbix74-server/files/zabbix_server.in
+++ b/net-mgmt/zabbix74-server/files/zabbix_server.in
@@ -5,8 +5,10 @@
 %%PGSQL%%# REQUIRE: postgresql
 %%MYSQL%%# REQUIRE: mysql
 %%MYSQLDV%%# REQUIRE: mysql
-%%MDB5%%# REQUIRE: mysql
-%%MDB6%%# REQUIRE: mysql
+%%MDB1011%%# REQUIRE: mysql
+%%MDB114%%# REQUIRE: mysql
+%%MDB118%%# REQUIRE: mysql
+%%MDB123%%# REQUIRE: mysql
 # KEYWORD: shutdown
 #
 # Add the following lines to /etc/rc.conf.local or /etc/rc.conf to