Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 8 Jul 2019 12:17:04 +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: r506211 - head/databases/py-mysqlclient
Message-ID:  <201907081217.x68CH4cF021255@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: pkubaj
Date: Mon Jul  8 12:17:04 2019
New Revision: 506211
URL: https://svnweb.freebsd.org/changeset/ports/506211

Log:
  databases/py-mysqlclient: fix build with GCC-based architectures
  
  Since the switch to MySQL 5.7, C11-aware compiler is required:
  /usr/bin/ld: cannot find -latomic
  
  Approved by:	mentors (implicit approval)

Modified:
  head/databases/py-mysqlclient/Makefile

Modified: head/databases/py-mysqlclient/Makefile
==============================================================================
--- head/databases/py-mysqlclient/Makefile	Mon Jul  8 11:52:24 2019	(r506210)
+++ head/databases/py-mysqlclient/Makefile	Mon Jul  8 12:17:04 2019	(r506211)
@@ -12,7 +12,7 @@ COMMENT=	MySQL database connector for Python
 LICENSE=	GPLv2
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
-USES=		iconv mysql python ssl
+USES=		compiler:c11 iconv mysql python ssl
 USE_PYTHON=	distutils autoplist
 USE_GITHUB=	yes
 GH_ACCOUNT=	pymysql



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