git: 4602f4db0d9a - main - devel/googletest: convert TEST option to USES=cmake:testing
Jan Beich
jbeich at FreeBSD.org
Tue May 18 00:54:57 UTC 2021
The branch main has been updated by jbeich:
URL: https://cgit.FreeBSD.org/ports/commit/?id=4602f4db0d9a9d3ef40ffdb2788ddb8f272c03fb
commit 4602f4db0d9a9d3ef40ffdb2788ddb8f272c03fb
Author: Jan Beich <jbeich at FreeBSD.org>
AuthorDate: 2021-05-17 13:49:04 +0000
Commit: Jan Beich <jbeich at FreeBSD.org>
CommitDate: 2021-05-18 00:47:14 +0000
devel/googletest: convert TEST option to USES=cmake:testing
---
devel/googletest/Makefile | 11 ++---------
1 file changed, 2 insertions(+), 9 deletions(-)
diff --git a/devel/googletest/Makefile b/devel/googletest/Makefile
index 4418dd565234..7710751ec812 100644
--- a/devel/googletest/Makefile
+++ b/devel/googletest/Makefile
@@ -15,20 +15,13 @@ LICENSE_FILE= ${WRKSRC}/LICENSE
USE_GITHUB= yes
GH_ACCOUNT= google
-USES= cmake compiler:c++11-lib
+USES= cmake:testing compiler:c++11-lib python:test
USE_LDCONFIG= yes
CMAKE_ON= BUILD_SHARED_LIBS
-
-OPTIONS_DEFINE= TEST
-
-TEST_USES= python:build
-TEST_CMAKE_BOOL= gtest_build_tests gmock_build_tests
-TEST_TEST_TARGET= test
+CMAKE_TESTING_ON= gtest_build_tests gmock_build_tests
post-install:
# Drop unused not preprocessed headers
${FIND} ${STAGEDIR}${PREFIX} -name '*.pump' -delete
-pre-install-TEST-on: do-test
-
.include <bsd.port.mk>
More information about the dev-commits-ports-all
mailing list