aboutsummaryrefslogtreecommitdiff
path: root/net-mgmt/zabbix3-server
diff options
context:
space:
mode:
authorPiotr Kubaj <pkubaj@FreeBSD.org>2019-07-08 12:58:12 +0000
committerPiotr Kubaj <pkubaj@FreeBSD.org>2019-07-08 12:58:12 +0000
commit4284ecd0e276223c869c66779a1780dc802887ea (patch)
tree8fbe7f0139fa70be8486a27a84e5ad11a6a5be57 /net-mgmt/zabbix3-server
parente5f5ec9b3a89adf7eff8d7346f0442ff94cbae3f (diff)
downloadports-4284ecd0e276223c869c66779a1780dc802887ea.tar.gz
ports-4284ecd0e276223c869c66779a1780dc802887ea.zip
net-mgmt/zabbix3-server: fix build with GCC-based architectures
Since the switch to MySQL 5.7, C11-aware compiler is required: /usr/bin/ld: cannot find -latomic The problem only happens with MYSQL option, so add USES=compiler:c11 only when using MYSQL option. Approved by: mentors (implicit approval)
Notes
Notes: svn path=/head/; revision=506217
Diffstat (limited to 'net-mgmt/zabbix3-server')
-rw-r--r--net-mgmt/zabbix3-server/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/net-mgmt/zabbix3-server/Makefile b/net-mgmt/zabbix3-server/Makefile
index 92f3eafc8997..5ffb41dd04f4 100644
--- a/net-mgmt/zabbix3-server/Makefile
+++ b/net-mgmt/zabbix3-server/Makefile
@@ -82,7 +82,7 @@ OPTIONS_SINGLE_ODBC= IODBC UNIXODBC
OPTIONS_SINGLE_SSL= OPENSSL GNUTLS
MYSQL_CONFIGURE_WITH= mysql
-MYSQL_USES+= mysql
+MYSQL_USES+= compiler:c11 mysql
PGSQL_CONFIGURE_WITH= postgresql
PGSQL_USES+= pgsql