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
This commit is contained in:
@@ -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: undefined reference to __cxa_
|
||||
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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user