git: 17732ee11b83 - main - net-mgmt/zabbix6-server: Split mariadb options

From: Cy Schubert <cy_at_FreeBSD.org>
Date: Mon, 09 May 2022 22:12:24 UTC
The branch main has been updated by cy:

URL: https://cgit.FreeBSD.org/ports/commit/?id=17732ee11b834fdf1b1095157836147c905d91cf

commit 17732ee11b834fdf1b1095157836147c905d91cf
Author:     Cy Schubert <cy@FreeBSD.org>
AuthorDate: 2022-05-09 21:58:45 +0000
Commit:     Cy Schubert <cy@FreeBSD.org>
CommitDate: 2022-05-09 22:12:18 +0000

    net-mgmt/zabbix6-server: Split mariadb options
    
    Zabbix 6 supports mariadb 10.5 and 10.6. Allow the user to select one or
    the other.
---
 net-mgmt/zabbix6-server/Makefile | 13 +++++++++----
 1 file changed, 9 insertions(+), 4 deletions(-)

diff --git a/net-mgmt/zabbix6-server/Makefile b/net-mgmt/zabbix6-server/Makefile
index 2efac521d809..bc1e5df2b6b3 100644
--- a/net-mgmt/zabbix6-server/Makefile
+++ b/net-mgmt/zabbix6-server/Makefile
@@ -77,17 +77,22 @@ NMAP_DESC=		Build/install nmap for o/s detection
 SSH_DESC=		Support for SSH-based checks
 UNIXODBC_DESC=		Support for database checks via ODBC
 LIBXML2_DESC=		Support for libxml2 (required by monitoring VMware)
+MYSQL_DESC=		MySQL 8.0 database support
 
 OPTIONS_SINGLE=		DB SSL
-OPTIONS_SINGLE_DB?=	MDB MYSQL PGSQL ORACLE
+OPTIONS_SINGLE_DB?=	MDB5 MDB6 MYSQL PGSQL ORACLE
 OPTIONS_SINGLE_SSL=	OPENSSL GNUTLS
 
 MYSQL_CONFIGURE_ON=	--with-mysql
 MYSQL_USES+=		compiler:c11 mysql:80
 
-MDB_CONFIGURE_ON=	--with-mysql=${LOCALBASE}/bin/mysql_config
-MDB_USES+=		compiler:c11 mysql:106m
-MDB_DESC=		Mariadb 10.6 database support
+MDB5_CONFIGURE_ON=	--with-mysql=${LOCALBASE}/bin/mysql_config
+MDB5_USES+=		compiler:c11 mysql:105m
+MDB5_DESC=		Mariadb 10.5 database support
+
+MDB6_CONFIGURE_ON=	--with-mysql=${LOCALBASE}/bin/mysql_config
+MDB6_USES+=		compiler:c11 mysql:106m
+MDB6_DESC=		Mariadb 10.6 database support
 
 PGSQL_CONFIGURE_WITH=	postgresql
 PGSQL_USES+=		pgsql