svn commit: r449611 - head/misc/sword

Jan Beich jbeich at FreeBSD.org
Mon Sep 11 08:23:04 UTC 2017


Author: jbeich
Date: Mon Sep 11 08:23:03 2017
New Revision: 449611
URL: https://svnweb.freebsd.org/changeset/ports/449611

Log:
  misc/sword: switch to C++11, required by ICU >= 59
  
  In file included from ../src/mgr/swmgr.cpp:102:
  In file included from ../include/utf8transliterator.h:41:
  /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/misc/sword/Makefile   (contents, props changed)

Modified: head/misc/sword/Makefile
==============================================================================
--- head/misc/sword/Makefile	Mon Sep 11 08:22:51 2017	(r449610)
+++ head/misc/sword/Makefile	Mon Sep 11 08:23:03 2017	(r449611)
@@ -3,7 +3,7 @@
 
 PORTNAME=	sword
 PORTVERSION=	1.7.4
-PORTREVISION=	5
+PORTREVISION=	6
 CATEGORIES=	misc
 MASTER_SITES=	ftp://ftp.crosswire.org/pub/sword/source/v${PORTVERSION:R}/ \
 		http://crosswire.org/ftpmirror/pub/sword/source/v${PORTVERSION:R}/
@@ -21,7 +21,8 @@ BROKEN_powerpc64=	does not compile: libicui18n.so: und
 GNU_CONFIGURE=	yes
 CONFIGURE_ARGS=	--with-conf --with-zlib
 INSTALL_TARGET=	install-strip
-USES=		gmake libtool pathfix pkgconfig
+USES=		compiler:c++11-lib gmake libtool pathfix pkgconfig
+USE_CXXSTD=	gnu++11
 USE_LDCONFIG=	yes
 SUB_FILES=	pkg-message
 


More information about the svn-ports-all mailing list