databases/py-mysqlclient uses both C99 constructs and doesn't understand
"-Wno-unused-result"

This switches it to use ports-gcc on base-gcc arches. This fixes the build
for sparc64.

ok?

--Kurt

Index: Makefile
===================================================================
RCS file: /cvs/ports/databases/py-mysqlclient/Makefile,v
retrieving revision 1.16
diff -u -r1.16 Makefile
--- Makefile    11 Dec 2020 16:11:42 -0000      1.16
+++ Makefile    14 Dec 2020 15:41:48 -0000
@@ -18,6 +18,9 @@
 
 MASTER_SITES =         ${MASTER_SITE_PYPI:=m/mysqlclient/}
 
+COMPILER =             base-clang ports-gcc
+COMPILER_LANGS =       c
+
 MODULES =              lang/python
 MODPY_SETUPTOOLS =     Yes
 MODPY_PYTEST =         Yes

Reply via email to