diff options
author | pkubaj <pkubaj@FreeBSD.org> | 2019-07-08 20:58:12 +0800 |
---|---|---|
committer | pkubaj <pkubaj@FreeBSD.org> | 2019-07-08 20:58:12 +0800 |
commit | 2609bbe889ae5ffe91163755dbe39537f28d22b4 (patch) | |
tree | 8fbe7f0139fa70be8486a27a84e5ad11a6a5be57 /net-mgmt | |
parent | d934d006f8130b7eebb57e43413093e6642f1d2a (diff) | |
download | freebsd-ports-gnome-2609bbe889ae5ffe91163755dbe39537f28d22b4.tar.gz freebsd-ports-gnome-2609bbe889ae5ffe91163755dbe39537f28d22b4.tar.zst freebsd-ports-gnome-2609bbe889ae5ffe91163755dbe39537f28d22b4.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)
Diffstat (limited to 'net-mgmt')
-rw-r--r-- | net-mgmt/zabbix3-server/Makefile | 2 |
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 |