git: 6cab9b5adf6d - main - science/xcfun: fix build on GCC-based systems
Mark Linimon
linimon at FreeBSD.org
Mon Jun 7 11:40:31 UTC 2021
The branch main has been updated by linimon:
URL: https://cgit.FreeBSD.org/ports/commit/?id=6cab9b5adf6da8186d4cf679dfc3cae4e094f513
commit 6cab9b5adf6da8186d4cf679dfc3cae4e094f513
Author: Mark Linimon <linimon at FreeBSD.org>
AuthorDate: 2021-06-07 11:38:43 +0000
Commit: Mark Linimon <linimon at FreeBSD.org>
CommitDate: 2021-06-07 11:38:43 +0000
science/xcfun: fix build on GCC-based systems
by adding compiler:c++11-lang to USES:
CMake Error in /wrkdirs/usr/ports/science/xcfun/work/.build/CMakeFiles/CMakeTmp/CMakeLists.txt:
Target "cmTC_6be99" requires the language dialect "CXX11" , but CMake does
not know the compile flags to use to enable it.
---
science/xcfun/Makefile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/science/xcfun/Makefile b/science/xcfun/Makefile
index f09d643933d2..2b57fa857a8e 100644
--- a/science/xcfun/Makefile
+++ b/science/xcfun/Makefile
@@ -10,7 +10,7 @@ COMMENT= Exchange-correlation functionals with arbitrary-order derivatives
LICENSE= MPL20
LICENSE_FILE= ${WRKSRC}/LICENSE.md
-USES= cmake
+USES= cmake compiler:c++11-lang
USE_LDCONFIG= yes
USE_GITHUB= yes
More information about the dev-commits-ports-all
mailing list