Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 8 Jul 2019 12:58:13 +0000 (UTC)
From:      Piotr Kubaj <pkubaj@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r506217 - head/net-mgmt/zabbix3-server
Message-ID:  <201907081258.x68CwDZ0042192@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201907081258.x68CwDZ0042192>