Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 11 Sep 2016 08:59:04 +0000 (UTC)
From:      Bernard Spil <brnrd@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-branches@freebsd.org
Subject:   svn commit: r421808 - in branches/2016Q3/devel/jsoncpp: . files
Message-ID:  <201609110859.u8B8x4Bh092356@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: brnrd
Date: Sun Sep 11 08:59:04 2016
New Revision: 421808
URL: https://svnweb.freebsd.org/changeset/ports/421808

Log:
  MFH: r417988 r418065
  
  devel/jsoncpp: Fix build on 10.3
  
    - Change OS version checks to compiler checks
  
  PR:		209954
  Submitted by:	Mathieu Simon <freebsd@simweb.ch>
  
  devel/jsoncpp: Update to 1.7.3
  
    - Update to version 1.7.3 [2]
    - Fix compiler issues [1]
  
  PR:		209945
  Submitted by:	Mathieu Simon <freebsd@simweb.ch> [1]
  Reviewed by:	yuri@rawbw.com (maintainer) [2]
  
  Approved by:	ports-secteam (junovitch)

Deleted:
  branches/2016Q3/devel/jsoncpp/files/patch-include_json_config.h
Modified:
  branches/2016Q3/devel/jsoncpp/Makefile
  branches/2016Q3/devel/jsoncpp/distinfo
  branches/2016Q3/devel/jsoncpp/pkg-plist
Directory Properties:
  branches/2016Q3/   (props changed)

Modified: branches/2016Q3/devel/jsoncpp/Makefile
==============================================================================
--- branches/2016Q3/devel/jsoncpp/Makefile	Sun Sep 11 08:19:43 2016	(r421807)
+++ branches/2016Q3/devel/jsoncpp/Makefile	Sun Sep 11 08:59:04 2016	(r421808)
@@ -2,8 +2,7 @@
 # $FreeBSD$
 
 PORTNAME=	jsoncpp
-DISTVERSION=	1.7.2
-PORTREVISION=	1
+DISTVERSION=	1.7.3
 CATEGORIES=	devel
 
 MAINTAINER=	yuri@rawbw.com
@@ -15,16 +14,17 @@ LICENSE_FILE=	${WRKSRC}/LICENSE
 USE_GITHUB=	yes
 GH_ACCOUNT=	open-source-parsers
 
-USES=		dos2unix scons
+USES=		compiler:features dos2unix scons
 USE_LDCONFIG=	yes
 
 MAKE_ARGS=	platform=linux-gcc
 
 .include <bsd.port.pre.mk>
 
-.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

Modified: branches/2016Q3/devel/jsoncpp/distinfo
==============================================================================
--- branches/2016Q3/devel/jsoncpp/distinfo	Sun Sep 11 08:19:43 2016	(r421807)
+++ branches/2016Q3/devel/jsoncpp/distinfo	Sun Sep 11 08:59:04 2016	(r421808)
@@ -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

Modified: branches/2016Q3/devel/jsoncpp/pkg-plist
==============================================================================
--- branches/2016Q3/devel/jsoncpp/pkg-plist	Sun Sep 11 08:19:43 2016	(r421807)
+++ branches/2016Q3/devel/jsoncpp/pkg-plist	Sun Sep 11 08:59:04 2016	(r421808)
@@ -12,5 +12,5 @@ include/jsoncpp/json/writer.h
 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201609110859.u8B8x4Bh092356>