git: dc535da1b7c6 - main - science/orthanc-mysql: unbreak build after 4aec6e124381
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 06 May 2023 23:09:13 UTC
The branch main has been updated by jbeich:
URL: https://cgit.FreeBSD.org/ports/commit/?id=dc535da1b7c62ba79b1f9342988c36748abb2e26
commit dc535da1b7c62ba79b1f9342988c36748abb2e26
Author: Jan Beich <jbeich@FreeBSD.org>
AuthorDate: 2023-05-06 21:43:21 +0000
Commit: Jan Beich <jbeich@FreeBSD.org>
CommitDate: 2023-05-06 23:06:51 +0000
science/orthanc-mysql: unbreak build after 4aec6e124381
In file included from MySQL/UnitTests/UnitTestsMain.cpp:32:
In file included from MySQL/UnitTests/../../Framework/Plugins/IndexUnitTests.h:32:
In file included from /usr/local/include/gtest/gtest.h:64:
In file included from /usr/local/include/gtest/gtest-assertion-result.h:46:
In file included from /usr/local/include/gtest/gtest-message.h:57:
/usr/local/include/gtest/internal/gtest-port.h:270:2: error: C++ versions less than C++14 are not supported.
#error C++ versions less than C++14 are not supported.
^
Reported by: pkg-fallout
---
science/orthanc-mysql/Makefile | 1 +
1 file changed, 1 insertion(+)
diff --git a/science/orthanc-mysql/Makefile b/science/orthanc-mysql/Makefile
index 2284bea6bb6f..0c799a3f9a23 100644
--- a/science/orthanc-mysql/Makefile
+++ b/science/orthanc-mysql/Makefile
@@ -27,6 +27,7 @@ LIB_DEPENDS= libboost_filesystem.so:devel/boost-libs \
RUN_DEPENDS= Orthanc:science/orthanc
USES= cmake localbase mysql:client python:build ssl
+USE_CXXSTD= c++14 # googletest 1.13
USE_LDCONFIG= yes
WRKSRC= ${WRKDIR}/OrthancMySQL-${PORTVERSION}