Index: head/lang/solidity/Makefile =================================================================== --- head/lang/solidity/Makefile (revision 490638) +++ head/lang/solidity/Makefile (revision 490639) @@ -1,36 +1,40 @@ # Created by: Alex Dupre # $FreeBSD$ PORTNAME= solidity -PORTVERSION= 0.4.25 -PORTREVISION= 2 +PORTVERSION= 0.5.2 CATEGORIES= lang MASTER_SITES= https://github.com/ethereum/solidity/releases/download/v${PORTVERSION}/ DISTNAME= ${PORTNAME}_${PORTVERSION} MAINTAINER= ale@FreeBSD.org COMMENT= Solidity Contract-Oriented Programming Language LICENSE= GPLv3 BUILD_DEPENDS= boost-libs>=0:devel/boost-libs LIB_DEPENDS= libjsoncpp.so:devel/jsoncpp -OPTIONS_DEFINE= SMT -SMT_DESC= SMT Checker -SMT_LIB_DEPENDS=libz3.so:math/z3 - USES= cmake compiler:c++14-lang + +OPTIONS_DEFINE= Z3 CVC4 +OPTIONS_DEFAULT= Z3 CVC4 +Z3_DESC= SMT Checker via Z3 +CVC4_DESC= SMT Checker via CVC4 +Z3_LIB_DEPENDS= libz3.so:math/z3 +CVC4_LIB_DEPENDS= libcvc4.so:math/cvc4 +Z3_CMAKE_OFF= USE_Z3 +CVC4_CMAKE_OFF= USE_CVC4 CMAKE_ARGS+= -DUSE_LD_GOLD=OFF -DTESTS=OFF \ -DJSONCPP_INCLUDE_DIR:STRING="${LOCALBASE}/include/jsoncpp" \ -DJSONCPP_LIB_DIR:STRING="${LOCALBASE}/lib" PLIST_FILES= bin/solc pre-patch: @${CP} ${FILESDIR}/jsoncpp.cmake ${WRKSRC}/cmake/ @${REINPLACE_CMD} '/EthCcache/d' ${WRKSRC}/CMakeLists.txt @${REINPLACE_CMD} '/-Werror/d' ${WRKSRC}/cmake/EthCompilerSettings.cmake .include Index: head/lang/solidity/distinfo =================================================================== --- head/lang/solidity/distinfo (revision 490638) +++ head/lang/solidity/distinfo (revision 490639) @@ -1,3 +1,3 @@ -TIMESTAMP = 1539260201 -SHA256 (solidity_0.4.25.tar.gz) = 8172c126973eae1d9d6c7b5071910a9c7475ac64df3945f755cee66104add72d -SIZE (solidity_0.4.25.tar.gz) = 1159514 +TIMESTAMP = 1547820080 +SHA256 (solidity_0.5.2.tar.gz) = 95dd71f2e2ca2064bfcdc4104455f6cacb315dc29a27d5f6a7f7ef8eb0ec2ee7 +SIZE (solidity_0.5.2.tar.gz) = 1371077 Index: head/lang/solidity/files/patch-libevmasm_Assembly.cpp =================================================================== --- head/lang/solidity/files/patch-libevmasm_Assembly.cpp (revision 490638) +++ head/lang/solidity/files/patch-libevmasm_Assembly.cpp (nonexistent) @@ -1,20 +0,0 @@ ---- libevmasm/Assembly.cpp.orig 2018-05-16 14:30:44 UTC -+++ libevmasm/Assembly.cpp -@@ -264,7 +264,7 @@ Json::Value Assembly::assemblyJSON(Strin - createJsonValue("PUSH [ErrorTag]", i.location().start, i.location().end, "")); - else - collection.append( -- createJsonValue("PUSH [tag]", i.location().start, i.location().end, string(i.data()))); -+ createJsonValue("PUSH [tag]", i.location().start, i.location().end, dev::toString(i.data()))); - break; - case PushSub: - collection.append( -@@ -290,7 +290,7 @@ Json::Value Assembly::assemblyJSON(Strin - break; - case Tag: - collection.append( -- createJsonValue("tag", i.location().start, i.location().end, string(i.data()))); -+ createJsonValue("tag", i.location().start, i.location().end, dev::toString(i.data()))); - collection.append( - createJsonValue("JUMPDEST", i.location().start, i.location().end)); - break; Property changes on: head/lang/solidity/files/patch-libevmasm_Assembly.cpp ___________________________________________________________________ Deleted: fbsd:nokeywords ## -1 +0,0 ## -yes \ No newline at end of property Deleted: svn:eol-style ## -1 +0,0 ## -native \ No newline at end of property Deleted: svn:mime-type ## -1 +0,0 ## -text/plain \ No newline at end of property