Skip to content
Snippets Groups Projects
Commit 0b947cb6 authored by Alex Dupre's avatar Alex Dupre
Browse files

lang/solidity: move OSVERSION check after <bsd.port.options.mk>.

parent 3fb0bd0a
Branches
Tags
No related merge requests found
......@@ -32,10 +32,6 @@ 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" \
......@@ -45,6 +41,12 @@ CMAKE_ARGS+= -DUSE_LD_GOLD=OFF -DTESTS=OFF \
PLIST_FILES= bin/solc \
bin/yul-phaser
.include <bsd.port.options.mk>
.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400079
CXXFLAGS+= -Wno-unqualified-std-cast-call
.endif
pre-patch:
@${CP} ${FILESDIR}/fmtlib.cmake ${FILESDIR}/jsoncpp.cmake ${WRKSRC}/cmake/
@${REINPLACE_CMD} '/EthCcache/d' ${WRKSRC}/CMakeLists.txt
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment