-- Found PythonInterp: /usr/local/bin/python3.9 (found version "3.9.10") 

The tests then use python.
Zap ports-clang while here.

OK?

Index: Makefile
===================================================================
RCS file: /cvs/ports/devel/gtest/Makefile,v
retrieving revision 1.25
diff -u -p -r1.25 Makefile
--- Makefile    31 Oct 2021 16:09:26 -0000      1.25
+++ Makefile    7 Feb 2022 22:10:09 -0000
@@ -32,9 +32,12 @@ SEPARATE_BUILD =     Yes
 
 WANTLIB =              m ${COMPILER_LIBCXX}
 
-COMPILER =             base-clang ports-gcc base-gcc
+COMPILER =             base-clang base-gcc
+
+MODULES =              devel/cmake \
+                       lang/python
+MODPY_RUNDEP =         No
 
-MODULES +=             devel/cmake
 CONFIGURE_ARGS =       -DBUILD_SHARED_LIBS=ON \
                        -Dgtest_build_tests=ON
 

Reply via email to