Date: Sun, 21 Jul 2024 12:22:53 GMT From: Po-Chuan Hsieh <sunpoet@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: 0032555b893c - main - devel/googletest: Use C++17 explicitly Message-ID: <202407211222.46LCMrTA036576@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=0032555b893c91d09cee85a165060da8a74ed6ca commit 0032555b893c91d09cee85a165060da8a74ed6ca Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org> AuthorDate: 2024-07-21 12:21:42 +0000 Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org> CommitDate: 2024-07-21 12:22:34 +0000 devel/googletest: Use C++17 explicitly Do not bump PORTREVISION because Clang 16+ already uses C++17 by default. The resulting shared libraries are identical. --- devel/googletest/Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/devel/googletest/Makefile b/devel/googletest/Makefile index 976976af712f..6c4f56b03700 100644 --- a/devel/googletest/Makefile +++ b/devel/googletest/Makefile @@ -11,7 +11,7 @@ WWW= https://google.github.io/googletest/ \ LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE -USES= cmake:testing compiler:c++14-lang pathfix python:test +USES= cmake:testing compiler:c++17-lang pathfix python:test CMAKE_OFF= GTEST_HAS_ABSL \ gmock_build_tests \ @@ -24,6 +24,7 @@ CMAKE_ON= BUILD_GMOCK \ INSTALL_GTEST CMAKE_TESTING_ON= gmock_build_tests gtest_build_tests PATHFIX_CMAKELISTSTXT= internal_utils.cmake +USE_CXXSTD= c++17 USE_LDCONFIG= yes PLIST_SUB= PORTVERSION=${PORTVERSION}
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202407211222.46LCMrTA036576>