Index: devel/jsoncpp/Makefile =================================================================== --- devel/jsoncpp/Makefile (revision 417902) +++ devel/jsoncpp/Makefile (working copy) @@ -2,8 +2,7 @@ # $FreeBSD$ PORTNAME= jsoncpp -DISTVERSION= 1.7.2 -PORTREVISION= 1 +DISTVERSION= 1.7.3 CATEGORIES= devel MAINTAINER= yuri@rawbw.com @@ -15,7 +14,7 @@ USE_GITHUB= yes GH_ACCOUNT= open-source-parsers -USES= dos2unix scons +USES= compiler:features dos2unix scons USE_LDCONFIG= yes MAKE_ARGS= platform=linux-gcc @@ -22,9 +21,10 @@ .include -.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1000000 -# NOTE Certain newest compiler features unlock some parts of jsoncpp API (ex. see JSON_HAS_RVALUE_REFERENCES). -# Use c++11 above to be most inclusive. +.if ${COMPILER_TYPE} == clang && ${COMPILER_VERSION} >= 33 || \ + ${COMPILER_TYPE} == gcc && ${COMPILER_VERSION} >= 48 +# Certain new compiler features unlock parts of jsoncpp API (ex. see JSON_HAS_RVALUE_REFERENCES). +# Use c++11 above to be the most inclusive. USES+= compiler:c++11-lang CXXFLAGS+= --std=c++11 .endif Index: devel/jsoncpp/distinfo =================================================================== --- devel/jsoncpp/distinfo (revision 417902) +++ devel/jsoncpp/distinfo (working copy) @@ -1,2 +1,3 @@ -SHA256 (open-source-parsers-jsoncpp-1.7.2_GH0.tar.gz) = 2179a7df19c1c6dc87e02c65b847efc914625a9b87df3e443d9610fc70c0f557 -SIZE (open-source-parsers-jsoncpp-1.7.2_GH0.tar.gz) = 205391 +TIMESTAMP = 1467669507 +SHA256 (open-source-parsers-jsoncpp-1.7.3_GH0.tar.gz) = 1cfcad14054039ba97c22531888796cb9369e6353f257aacaad34fda956ada53 +SIZE (open-source-parsers-jsoncpp-1.7.3_GH0.tar.gz) = 205738 Index: devel/jsoncpp/files/patch-include_json_config.h =================================================================== --- devel/jsoncpp/files/patch-include_json_config.h (revision 417902) +++ devel/jsoncpp/files/patch-include_json_config.h (nonexistent) @@ -1,11 +0,0 @@ ---- include/json/config.h.orig 2016-05-09 23:16:22 UTC -+++ include/json/config.h -@@ -77,7 +77,7 @@ - - #endif // defined(_MSC_VER) - --#if defined(_MSC_VER) && _MSC_VER <= 1600 // MSVC <= 2010 -+#if defined(__FreeBSD__) || (defined(_MSC_VER) && _MSC_VER <= 1600) // MSVC <= 2010 - # define JSONCPP_OVERRIDE - #else - # define JSONCPP_OVERRIDE override Property changes on: devel/jsoncpp/files/patch-include_json_config.h ___________________________________________________________________ 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 Index: devel/jsoncpp/pkg-plist =================================================================== --- devel/jsoncpp/pkg-plist (revision 417902) +++ devel/jsoncpp/pkg-plist (working copy) @@ -12,5 +12,5 @@ lib/libjsoncpp.a lib/libjsoncpp.so lib/libjsoncpp.so.1 -lib/libjsoncpp.so.1.7.2 +lib/libjsoncpp.so.1.7.3 libdata/pkgconfig/jsoncpp.pc