From 7f58c18bfb7128bb9bd3f9f78521ffe4ba5919ce Mon Sep 17 00:00:00 2001 From: "Danilo G. Baio" Date: Fri, 25 Aug 2017 23:32:36 +0000 Subject: [PATCH] net-mgmt/zabbix32-frontend: Remove MYSQL as default option This fixes PHP 7.0+ support PR: 221779 Approved by: Pakhom Golynga (maintainer) --- net-mgmt/zabbix3-frontend/Makefile | 2 ++ net-mgmt/zabbix32-frontend/Makefile | 5 ++++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/net-mgmt/zabbix3-frontend/Makefile b/net-mgmt/zabbix3-frontend/Makefile index c6a8e387e0a2..10cd5d72efb5 100644 --- a/net-mgmt/zabbix3-frontend/Makefile +++ b/net-mgmt/zabbix3-frontend/Makefile @@ -26,6 +26,8 @@ OPTIONS_DEFINE= MYSQL MYSQLI PGSQL SQLITE ORACLE OPTIONS_DEFAULT= MYSQLI MYSQLI_DESC= MySQLI backend +MYSQL_VARS= IGNORE_WITH_PHP+=70 71 + .include .if ${PORT_OPTIONS:MMYSQL} diff --git a/net-mgmt/zabbix32-frontend/Makefile b/net-mgmt/zabbix32-frontend/Makefile index 60dd7e19e51d..87d3b8a7640a 100644 --- a/net-mgmt/zabbix32-frontend/Makefile +++ b/net-mgmt/zabbix32-frontend/Makefile @@ -2,6 +2,7 @@ # $FreeBSD$ PORTNAME= zabbix32 +PORTREVISION= 1 CATEGORIES= net-mgmt PKGNAMESUFFIX= -frontend @@ -17,9 +18,11 @@ USE_PHP= bcmath ctype dom gd gettext json ldap mbstring pcre \ USES+= php:web OPTIONS_DEFINE= MYSQL MYSQLI PGSQL SQLITE ORACLE -OPTIONS_DEFAULT= MYSQL MYSQLI +OPTIONS_DEFAULT= MYSQLI MYSQLI_DESC= MySQLI backend +MYSQL_VARS= IGNORE_WITH_PHP+=70 71 + .include .if ${PORT_OPTIONS:MMYSQL}