git: 1deb43e44340 - main - astro/phd2: unbreak build after 4aec6e124381
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 06 May 2023 23:09:12 UTC
The branch main has been updated by jbeich:
URL: https://cgit.FreeBSD.org/ports/commit/?id=1deb43e4434079dfc50839ccd9a1a2ec0fe5f81d
commit 1deb43e4434079dfc50839ccd9a1a2ec0fe5f81d
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:50 +0000
astro/phd2: unbreak build after 4aec6e124381
In file included from contributions/MPI_IS_gaussian_process/tests/gaussian_process/gaussian_process_test.cpp:38:
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
---
astro/phd2/Makefile | 1 +
1 file changed, 1 insertion(+)
diff --git a/astro/phd2/Makefile b/astro/phd2/Makefile
index a4eea19ffa7e..fafef741dc30 100644
--- a/astro/phd2/Makefile
+++ b/astro/phd2/Makefile
@@ -21,6 +21,7 @@ USES= cmake eigen:3 gettext ninja pkgconfig xorg
USE_GITHUB= yes
GH_ACCOUNT= OpenPHDGuiding
+USE_CXXSTD= c++14 # googletest 1.13
USE_WX= 3.2+
USE_XORG= x11