Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 9 May 2022 18:11:14 GMT
From:      Cy Schubert <cy@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 35e739b646c0 - main - net-mgmt/zabbix6-server: Fix mariadb opton
Message-ID:  <202205091811.249IBE0n086062@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by cy:

URL: https://cgit.FreeBSD.org/ports/commit/?id=35e739b646c05e5ee5823f9d411f3e6f0362b2a4

commit 35e739b646c05e5ee5823f9d411f3e6f0362b2a4
Author:     Cy Schubert <cy@FreeBSD.org>
AuthorDate: 2022-05-02 22:10:33 +0000
Commit:     Cy Schubert <cy@FreeBSD.org>
CommitDate: 2022-05-09 17:48:48 +0000

    net-mgmt/zabbix6-server: Fix mariadb opton
    
    Mariadb option failed to build properly.
    
    PR:             262438
    Fixes:          9d8cb8eb28c5e8f7be50841c27d54cb23db20db1
    MFH:            2022Q2
---
 net-mgmt/zabbix6-server/Makefile | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/net-mgmt/zabbix6-server/Makefile b/net-mgmt/zabbix6-server/Makefile
index 0e0ada950900..56467ad7a0da 100644
--- a/net-mgmt/zabbix6-server/Makefile
+++ b/net-mgmt/zabbix6-server/Makefile
@@ -79,12 +79,16 @@ UNIXODBC_DESC=		Support for database checks via ODBC
 LIBXML2_DESC=		Support for libxml2 (required by monitoring VMware)
 
 OPTIONS_SINGLE=		DB SSL
-OPTIONS_SINGLE_DB?=	MYSQL PGSQL ORACLE
+OPTIONS_SINGLE_DB?=	MDB MYSQL PGSQL ORACLE
 OPTIONS_SINGLE_SSL=	OPENSSL GNUTLS
 
-MYSQL_CONFIGURE_WITH=	mysql
+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
+
 PGSQL_CONFIGURE_WITH=	postgresql
 PGSQL_USES+=		pgsql
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202205091811.249IBE0n086062>