svn commit: r506211 - head/databases/py-mysqlclient

Piotr Kubaj pkubaj at FreeBSD.org
Mon Jul 8 12:17:05 UTC 2019


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


More information about the svn-ports-head mailing list