aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordbaio <dbaio@FreeBSD.org>2017-08-26 07:32:36 +0800
committerdbaio <dbaio@FreeBSD.org>2017-08-26 07:32:36 +0800
commit406acf8487c6a98928b7a3dc77f3222f22d02355 (patch)
treeab5507f6ecc3605bfe4c4a1eb134bdfd38427232
parent78d85f27a39b4d9bd5301a8e64ef52cba9ce5a21 (diff)
downloadfreebsd-ports-gnome-406acf8487c6a98928b7a3dc77f3222f22d02355.tar.gz
freebsd-ports-gnome-406acf8487c6a98928b7a3dc77f3222f22d02355.tar.zst
freebsd-ports-gnome-406acf8487c6a98928b7a3dc77f3222f22d02355.zip
net-mgmt/zabbix32-frontend: Remove MYSQL as default option
This fixes PHP 7.0+ support PR: 221779 Approved by: Pakhom Golynga <pg@pakhom.spb.ru> (maintainer)
-rw-r--r--net-mgmt/zabbix3-frontend/Makefile2
-rw-r--r--net-mgmt/zabbix32-frontend/Makefile5
2 files changed, 6 insertions, 1 deletions
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 <bsd.port.options.mk>
.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 <bsd.port.options.mk>
.if ${PORT_OPTIONS:MMYSQL}