svn commit: r506217 - head/net-mgmt/zabbix3-server

Piotr Kubaj pkubaj at FreeBSD.org
Mon Jul 8 12:58:13 UTC 2019


Author: pkubaj
Date: Mon Jul  8 12:58:12 2019
New Revision: 506217
URL: https://svnweb.freebsd.org/changeset/ports/506217

Log:
  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)

Modified:
  head/net-mgmt/zabbix3-server/Makefile

Modified: head/net-mgmt/zabbix3-server/Makefile
==============================================================================
--- head/net-mgmt/zabbix3-server/Makefile	Mon Jul  8 12:57:49 2019	(r506216)
+++ head/net-mgmt/zabbix3-server/Makefile	Mon Jul  8 12:58:12 2019	(r506217)
@@ -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


More information about the svn-ports-head mailing list