Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 11 Sep 2017 08:23:25 +0000 (UTC)
From:      Jan Beich <jbeich@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r449613 - head/www/cppcms
Message-ID:  <201709110823.v8B8NPrg017411@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: jbeich
Date: Mon Sep 11 08:23:25 2017
New Revision: 449613
URL: https://svnweb.freebsd.org/changeset/ports/449613

Log:
  www/cppcms: switch to C++11, required by ICU >= 59
  
  In file included from /wrkdirs/usr/ports/www/cppcms/work/cppcms-1.0.5/booster/lib/locale/src/encoding/codepage.cpp:19:
  In file included from /wrkdirs/usr/ports/www/cppcms/work/cppcms-1.0.5/booster/lib/locale/src/encoding/uconv_codepage.ipp:13:
  In file included from /wrkdirs/usr/ports/www/cppcms/work/cppcms-1.0.5/booster/lib/locale/src/encoding/../icu/uconv.h:10:
  /usr/local/include/unicode/unistr.h:3025:7: error: delegating constructors are permitted only in C++11
        UnicodeString(ConstChar16Ptr(text)) {}
        ^~~~~~~~~~~~~
  /usr/local/include/unicode/unistr.h:3087:7: error: delegating constructors are permitted only in C++11
        UnicodeString(ConstChar16Ptr(text), length) {}
        ^~~~~~~~~~~~~
  /usr/local/include/unicode/unistr.h:3180:7: error: delegating constructors are permitted only in C++11
        UnicodeString(Char16Ptr(buffer), buffLength, buffCapacity) {}
        ^~~~~~~~~~~~~
  
  PR:		218788

Modified:
  head/www/cppcms/Makefile   (contents, props changed)

Modified: head/www/cppcms/Makefile
==============================================================================
--- head/www/cppcms/Makefile	Mon Sep 11 08:23:14 2017	(r449612)
+++ head/www/cppcms/Makefile	Mon Sep 11 08:23:25 2017	(r449613)
@@ -2,7 +2,7 @@
 
 PORTNAME=	cppcms
 PORTVERSION=	1.0.5
-PORTREVISION=	7
+PORTREVISION=	8
 CATEGORIES=	www
 MASTER_SITES=	SF/cppcms/${PORTNAME}/${PORTVERSION}
 
@@ -15,7 +15,8 @@ LIB_DEPENDS=	libpcre.so:devel/pcre
 
 BROKEN_powerpc64=	Does not build: error: 'localeconv_l' was not declared in this scope
 
-USES=		cmake python:2 shebangfix tar:bzip2 ssl
+USES=		cmake compiler:c++11-lib python:2 shebangfix tar:bzip2 ssl
+USE_CXXSTD=	gnu++11
 USE_LDCONFIG=	yes
 SHEBANG_FILES=	bin/cppcms_tmpl_cc
 



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