The build of devel/keystone/python fails with
-- Looking for __atomic_fetch_add_4 in atomic - not found
CMake Error at llvm/cmake/modules/CheckAtomic.cmake:36 (message):
  Host compiler appears to require libatomic, but cannot find it.

Adding a COMPILER line to use ports-gcc on base-gcc arches fixes it.

ok?

--Kurt

Index: python/Makefile
===================================================================
RCS file: /cvs/ports/devel/keystone/python/Makefile,v
retrieving revision 1.6
diff -u -p -r1.6 Makefile
--- python/Makefile     8 Aug 2020 07:39:25 -0000       1.6
+++ python/Makefile     9 Aug 2020 19:52:30 -0000
@@ -10,6 +10,8 @@ MODULES =      devel/cmake \
               lang/python
 MODPY_SETUPTOOLS =Yes
 
+COMPILER =     base-clang ports-gcc ports-clang
+
 WRKDIST =       ${WRKDIR}/${DISTNAME}/bindings/python
 
 FLAVORS =       python3

Reply via email to