git: ef89b9e9b9bc - main - science/mbdyn: FIx build with clang16 by adding USE_CXXSTD
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 20 Jul 2023 18:12:54 UTC
The branch main has been updated by yuri:
URL: https://cgit.FreeBSD.org/ports/commit/?id=ef89b9e9b9bc4c03c618a48548ce17879ed647d5
commit ef89b9e9b9bc4c03c618a48548ce17879ed647d5
Author: Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2023-07-18 14:21:39 +0000
Commit: Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2023-07-18 14:21:39 +0000
science/mbdyn: FIx build with clang16 by adding USE_CXXSTD
Reported by: fallout
---
science/mbdyn/Makefile | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/science/mbdyn/Makefile b/science/mbdyn/Makefile
index f95b130809cd..7f34c109bcb3 100644
--- a/science/mbdyn/Makefile
+++ b/science/mbdyn/Makefile
@@ -11,7 +11,7 @@ WWW= https://www.mbdyn.org/
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/COPYING
-BROKEN_powerpc= Does not compile on powerpc
+BROKEN_powerpc= does not compile on powerpc
BUILD_DEPENDS= libatomic_ops>0:devel/libatomic_ops
LIB_DEPENDS= libltdl.so:devel/libltdl \
@@ -20,6 +20,7 @@ LIB_DEPENDS= libltdl.so:devel/libltdl \
USES= compiler:c++11-lib fortran gmake libtool:build localbase
USE_LDCONFIG= yes
+USE_CXXSTD= c++14 # fix build breakage with clang16 due to use of deprecated feature 'dynamic exception specifications', see https://public.gitlab.polimi.it/DAER/mbdyn/-/issues/339
CPPFLAGS+= -fpermissive -I${LOCALBASE}/include/suitesparse