git: 4cc8205e2faa - main - lang/solidity: try to fix build on -CURRENT
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 13 Feb 2023 09:26:44 UTC
The branch main has been updated by ale:
URL: https://cgit.FreeBSD.org/ports/commit/?id=4cc8205e2faada337e0e7cd2bc7e8c621fdef9f3
commit 4cc8205e2faada337e0e7cd2bc7e8c621fdef9f3
Author: Alex Dupre <ale@FreeBSD.org>
AuthorDate: 2023-02-13 09:25:51 +0000
Commit: Alex Dupre <ale@FreeBSD.org>
CommitDate: 2023-02-13 09:26:33 +0000
lang/solidity: try to fix build on -CURRENT
---
lang/solidity/Makefile | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/lang/solidity/Makefile b/lang/solidity/Makefile
index 0b72c964c980..17fe363ea043 100644
--- a/lang/solidity/Makefile
+++ b/lang/solidity/Makefile
@@ -32,6 +32,10 @@ Z3_CMAKE_OFF= USE_Z3
CVC4_CMAKE_OFF= USE_CVC4
CVC4_BROKEN= solidity uses cvc4 which has been succeeded by cvc5
+.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400079
+CXXFLAGS= -Wno-unqualified-std-cast-call
+.endif
+
CMAKE_ARGS+= -DUSE_LD_GOLD=OFF -DTESTS=OFF \
-DRANGE_V3_INCLUDE_DIR="${LOCALBASE}/include" \
-DJSONCPP_INCLUDE_DIR:STRING="${LOCALBASE}/include/jsoncpp" \