From b1588497a3beec8eb194d691081b4877771467ff Mon Sep 17 00:00:00 2001 From: Roger Leigh Date: Thu, 31 Aug 2017 23:10:24 +0100 Subject: [PATCH 02/13] textproc/xerces-c3: Reverse dependencies require C++11 for char16_t --- cad/freecad/Makefile | 1 + deskutils/kdepim4-runtime/Makefile | 3 ++- devel/libepp-nicbr/Makefile | 4 +++- devel/libkolab/Makefile | 3 ++- devel/xmltooling/Makefile | 3 ++- devel/xsd/Makefile | 3 ++- editors/xmlcopyeditor/Makefile | 3 ++- emulators/open-vm-tools/Makefile | 3 ++- games/enigma/Makefile | 3 ++- games/glest/Makefile | 3 ++- games/py-fife/Makefile | 3 ++- graphics/appleseed/Makefile | 3 ++- graphics/cegui/Makefile | 1 + graphics/gdal/Makefile | 3 ++- graphics/mitsuba/Makefile | 3 ++- net/pktanon/Makefile | 3 ++- security/apache-xml-security-c/Makefile | 3 ++- security/opensaml2/Makefile | 3 ++- security/shibboleth2-sp/Makefile | 3 ++- sysutils/passwordsafe/Makefile | 3 ++- textproc/amberfish/Makefile | 3 ++- textproc/libkolabxml/Makefile | 3 ++- textproc/xalan-c/Makefile | 3 ++- textproc/xerces-c3/Makefile | 1 + textproc/xqilla/Makefile | 3 ++- 25 files changed, 48 insertions(+), 22 deletions(-) diff --git a/cad/freecad/Makefile b/cad/freecad/Makefile index bfc582edb368..b1338d76ddb4 100644 --- a/cad/freecad/Makefile +++ b/cad/freecad/Makefile @@ -37,6 +37,7 @@ GH_TAGNAME= d28bae3 USES= dos2unix compiler:c++11-lib cmake:outsource fortran jpeg \ python localbase +USE_CXXSTD= c++11 USE_XORG= ice sm x11 xext xt USE_GL= gl glu USE_QT4= qmake_build corelib gui moc_build network opengl rcc_build \ diff --git a/deskutils/kdepim4-runtime/Makefile b/deskutils/kdepim4-runtime/Makefile index ffdf545b1dad..96219e337ede 100644 --- a/deskutils/kdepim4-runtime/Makefile +++ b/deskutils/kdepim4-runtime/Makefile @@ -20,7 +20,8 @@ LIB_DEPENDS= libboost_thread.so:devel/boost-libs \ CONFLICTS_INSTALL= kdepim-runtime44-4.* -USES= cmake:outsource kde:4 shared-mime-info tar:xz +USES= cmake:outsource compiler:c++11-lang kde:4 shared-mime-info tar:xz +USE_CXXSTD= c++11 USE_GNOME= libxml2 libxslt:build USE_KDE= kdelibs pimlibs \ akonadi automoc4 diff --git a/devel/libepp-nicbr/Makefile b/devel/libepp-nicbr/Makefile index e7bdba424034..49d247546f9f 100644 --- a/devel/libepp-nicbr/Makefile +++ b/devel/libepp-nicbr/Makefile @@ -15,7 +15,9 @@ LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libxerces-c.so:textproc/xerces-c3 -USES= ssl +USES= autoreconf compiler:c++11-lang ssl +USE_CXXSTD= c++11 + GNU_CONFIGURE= yes CONFIGURE_ENV= ac_cv_header_cppunit_TestRunner_h=no CONFIGURE_ARGS= --with-xerces-c=${LOCALBASE} \ diff --git a/devel/libkolab/Makefile b/devel/libkolab/Makefile index 0ed2e31f0c3f..1bb4cf2eea80 100644 --- a/devel/libkolab/Makefile +++ b/devel/libkolab/Makefile @@ -25,7 +25,8 @@ CMAKE_ARGS= -DBUILD_TESTS:BOOL=OFF \ -DPHP_BINDINGS:BOOL=OFF \ -DPYTHON_BINDINGS:BOOL=OFF \ -DUSE_LIBCALENDARING:BOOL=OFF -USES= cmake:outsource kde:4 +USES= cmake:outsource compiler:c++11-lang kde:4 +USE_CXXSTD= c++11 USE_KDE= automoc4 kdelibs pimlibs USE_LDCONFIG= yes USE_QT4= corelib dbus gui network svg xml \ diff --git a/devel/xmltooling/Makefile b/devel/xmltooling/Makefile index 00170bb47cbe..64f47359d59b 100644 --- a/devel/xmltooling/Makefile +++ b/devel/xmltooling/Makefile @@ -19,7 +19,8 @@ BUILD_DEPENDS= boost-libs>=0:devel/boost-libs GNU_CONFIGURE= yes CONFIGURE_ARGS+=--with-log4shib=${LOCALBASE} --with-openssl=${OPENSSLBASE} --with-curl=${LOCALBASE} --disable-doxygen-doc -USES= gmake libtool pkgconfig tar:bzip2 ssl +USES= compiler:c++11-lang gmake libtool pkgconfig tar:bzip2 ssl +USE_CXXSTD= c++11 USE_LDCONFIG= yes PORTDOCS= * diff --git a/devel/xsd/Makefile b/devel/xsd/Makefile index a159b57f44cd..b72a9a6d49cb 100644 --- a/devel/xsd/Makefile +++ b/devel/xsd/Makefile @@ -33,7 +33,8 @@ MAKE_ARGS= EXTERNAL_LIBCUTL=y \ install_prefix=${STAGEDIR}${PREFIX} \ install_man_dir=${STAGEDIR}${MANPREFIX}/man \ verbose=1 -USES= gmake tar:bzip2 +USES= compiler:c++11-lang gmake tar:bzip2 +USE_CXXSTD= c++11 post-patch: # Use devel/build instead of the port's bundled copy. diff --git a/editors/xmlcopyeditor/Makefile b/editors/xmlcopyeditor/Makefile index 9cddf7377d77..2dd7e389f8ea 100644 --- a/editors/xmlcopyeditor/Makefile +++ b/editors/xmlcopyeditor/Makefile @@ -23,7 +23,8 @@ LIB_DEPENDS= libxerces-c.so.3:textproc/xerces-c3 \ USE_WX= 2.8+ WX_COMPS= wx contrib WX_CONF_ARGS= absolute -USES= dos2unix gettext gmake iconv libtool +USES= compiler:c++11-lang dos2unix gettext gmake iconv libtool +USE_CXXSTD= c++11 USE_GNOME= intltool GNU_CONFIGURE= yes diff --git a/emulators/open-vm-tools/Makefile b/emulators/open-vm-tools/Makefile index c1ab26c2192a..4b4ee03903c8 100644 --- a/emulators/open-vm-tools/Makefile +++ b/emulators/open-vm-tools/Makefile @@ -45,7 +45,8 @@ OPENSSL_CONFIGURE_WITH= ssl WRKSRC_SUBDIR= open-vm-tools GNU_CONFIGURE= yes -USES= autoreconf:-iv fuse gettext-runtime kmod libtool localbase pathfix pkgconfig +USES= autoreconf:-iv compiler:c++11-lang fuse gettext-runtime kmod libtool localbase pathfix pkgconfig +USE_CXXSTD= c++11 USE_GNOME= glib20 USE_GITHUB= yes diff --git a/games/enigma/Makefile b/games/enigma/Makefile index b1aebd24c123..d4afb2369bb4 100644 --- a/games/enigma/Makefile +++ b/games/enigma/Makefile @@ -18,7 +18,8 @@ LIB_DEPENDS= libxerces-c.so.3:textproc/xerces-c3 \ libcurl.so:ftp/curl BUILD_DEPENDS= convert:graphics/ImageMagick -USES= gmake localbase pkgconfig +USES= compiler:c++11-lang gmake localbase pkgconfig +USE_CXXSTD= c++11 USE_SDL= image mixer sdl ttf GNU_CONFIGURE= yes CONFIGURE_ARGS= --with-system-enet diff --git a/games/glest/Makefile b/games/glest/Makefile index 9618acb293ee..57d32fb0c1e0 100644 --- a/games/glest/Makefile +++ b/games/glest/Makefile @@ -17,8 +17,9 @@ LIB_DEPENDS= libxerces-c.so:textproc/xerces-c3 \ BUILD_DEPENDS= jam:devel/jam RUN_DEPENDS= ${LOCALBASE}/${DATADIR_REL}/servers.ini:games/glest-data -USES= dos2unix openal:al,alut pkgconfig zip lua:51 +USES= compiler:c++11-lang dos2unix openal:al,alut pkgconfig zip lua:51 USE_AUTOTOOLS= automake:env autoconf:env +USE_CXXSTD= c++11 USE_SDL= yes USE_GL= yes GNU_CONFIGURE= yes diff --git a/games/py-fife/Makefile b/games/py-fife/Makefile index d1e19bffc448..0d9f83e4d1e5 100644 --- a/games/py-fife/Makefile +++ b/games/py-fife/Makefile @@ -19,7 +19,8 @@ LIB_DEPENDS= libvorbisfile.so:audio/libvorbis \ BROKEN_powerpc64= fails to compile: fifePYTHON_wrap.cxx: relocation truncated to fit -USES= openal:al pkgconfig cmake:outsource +USES= compiler:c++11-lang openal:al pkgconfig cmake:outsource +USE_CXXSTD= c++11 USE_GL= gl USE_SDL= sdl2 ttf2 image2 USE_XORG= xcursor diff --git a/graphics/appleseed/Makefile b/graphics/appleseed/Makefile index cbbf8f0c468b..3e9cb9362c44 100644 --- a/graphics/appleseed/Makefile +++ b/graphics/appleseed/Makefile @@ -22,7 +22,8 @@ GH_ACCOUNT= ${PORTNAME}hq ONLY_FOR_ARCHS= i386 amd64 ONLY_FOR_ARCHS_REASON= not ported to it yet -USES= cmake:outsource +USES= cmake:outsource compiler:c++11-lang +USE_CXXSTD= c++11 USE_QT4= moc_build qmake_build rcc_build uic_build opengl LDFLAGS+= -lboost_atomic diff --git a/graphics/cegui/Makefile b/graphics/cegui/Makefile index f22102fad8e8..9c726853e8cc 100644 --- a/graphics/cegui/Makefile +++ b/graphics/cegui/Makefile @@ -18,6 +18,7 @@ CMAKE_ARGS= -DCEGUI_SAMPLES_ENABLED:BOOL=OFF \ -DCEGUI_BUILD_TESTS=OFF USE_LDCONFIG= yes USES= compiler:c++11-lib cmake execinfo pkgconfig tar:bzip2 +USE_CXXSTD= c++11 PORTDOCS= * diff --git a/graphics/gdal/Makefile b/graphics/gdal/Makefile index 36363954ca24..06d9d7629709 100644 --- a/graphics/gdal/Makefile +++ b/graphics/gdal/Makefile @@ -51,7 +51,8 @@ LDFLAGS+= ${ICONV_LIB} MAKE_JOBS_UNSAFE= yes MAKEFILE= GNUmakefile USE_LDCONFIG= yes -USES= gmake iconv jpeg localbase tar:xz +USES= compiler:c++11-lang gmake iconv jpeg localbase tar:xz +USE_CXXSTD= c++11 PLIST_SUB= MAJOR_VER=${PORTVERSION:R:R} PORTVERSION=${PORTVERSION} PORTDATA= * diff --git a/graphics/mitsuba/Makefile b/graphics/mitsuba/Makefile index ed7504dc529c..23e33a1c3d47 100644 --- a/graphics/mitsuba/Makefile +++ b/graphics/mitsuba/Makefile @@ -23,7 +23,8 @@ LIB_DEPENDS= libboost_system.so:devel/boost-libs \ ONLY_FOR_ARCHS= i386 amd64 ONLY_FOR_ARCHS_REASON= uses SSE instructions -USES= cmake jpeg tar:bzip2 +USES= cmake compiler:c++11-lang jpeg tar:bzip2 +USE_CXXSTD= c++11 USE_GL= glew USE_QT4= moc_build qmake_build rcc_build uic_build \ gui opengl network xml xmlpatterns diff --git a/net/pktanon/Makefile b/net/pktanon/Makefile index 9cdb9450e2ce..912dc27383e9 100644 --- a/net/pktanon/Makefile +++ b/net/pktanon/Makefile @@ -13,7 +13,8 @@ COMMENT= Network trace anonymizer LIB_DEPENDS= libboost_regex.so:devel/boost-libs \ libxerces-c.so.3:textproc/xerces-c3 -USES= dos2unix +USES= compiler:c++11-lang dos2unix +USE_CXXSTD= c++11 GNU_CONFIGURE= yes CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib -lboost_system diff --git a/security/apache-xml-security-c/Makefile b/security/apache-xml-security-c/Makefile index 900b14c9d2ee..ecbccd4548fe 100644 --- a/security/apache-xml-security-c/Makefile +++ b/security/apache-xml-security-c/Makefile @@ -16,7 +16,8 @@ LIB_DEPENDS+= libxerces-c.so.3:textproc/xerces-c3 GNU_CONFIGURE= yes CONFIGURE_ARGS+=--with-xerces=${LOCALBASE} -USES= gmake libtool tar:bzip2 ssl +USES= compiler:c++11-lang gmake libtool tar:bzip2 ssl +USE_CXXSTD= c++11 USE_LDCONFIG= yes CONFIGURE_ARGS+=--with-openssl=${OPENSSLBASE} diff --git a/security/opensaml2/Makefile b/security/opensaml2/Makefile index cd523d78c723..cf8c3c2d28a4 100644 --- a/security/opensaml2/Makefile +++ b/security/opensaml2/Makefile @@ -22,7 +22,8 @@ BUILD_DEPENDS= boost-libs>=0:devel/boost-libs GNU_CONFIGURE= yes CONFIGURE_ARGS+=--with-log4shib=${LOCALBASE} --with-openssl=${OPENSSLBASE} \ --with-xmltooling=${LOCALBASE} --disable-doxygen-doc -USES= gmake libtool pkgconfig tar:bzip2 +USES= compiler:c++11-lang gmake libtool pkgconfig tar:bzip2 +USE_CXXSTD= c++11 USE_LDCONFIG= yes OPTIONS_DEFINE= DOCS diff --git a/security/shibboleth2-sp/Makefile b/security/shibboleth2-sp/Makefile index 845190b2f980..7abb4e145586 100644 --- a/security/shibboleth2-sp/Makefile +++ b/security/shibboleth2-sp/Makefile @@ -19,7 +19,8 @@ LIB_DEPENDS= libsaml.so:security/opensaml2 \ libxerces-c.so:textproc/xerces-c3 \ libxml-security-c.so:security/apache-xml-security-c -USES= gmake tar:bzip2 ssl +USES= compiler:c++11-lang gmake tar:bzip2 ssl +USE_CXXSTD= c++11 GNU_CONFIGURE= yes MAKE_ENV= NOKEYGEN=YES USE_LDCONFIG= yes diff --git a/sysutils/passwordsafe/Makefile b/sysutils/passwordsafe/Makefile index 663e39268e01..bf6556a6814a 100644 --- a/sysutils/passwordsafe/Makefile +++ b/sysutils/passwordsafe/Makefile @@ -19,7 +19,8 @@ NOT_FOR_ARCHS_REASON= Cannot determine whether the target CPU is big or little e CONFLICTS= pwsafe-[0-9]* -USES= gmake +USES= compiler:c++11-lang gmake +USE_CXXSTD= c++11 USE_GITHUB= yes USE_WX= 3.0+ USE_XORG= x11 xtst diff --git a/textproc/amberfish/Makefile b/textproc/amberfish/Makefile index 44e4ccfdc447..259bf527c002 100644 --- a/textproc/amberfish/Makefile +++ b/textproc/amberfish/Makefile @@ -16,7 +16,8 @@ LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libxerces-c.so:textproc/xerces-c3 -USES= gmake makeinfo +USES= compiler:c++11-lang gmake makeinfo +USE_CXXSTD= c++11 GNU_CONFIGURE= yes ALL_TARGET= all html diff --git a/textproc/libkolabxml/Makefile b/textproc/libkolabxml/Makefile index a78e1757e18e..36048e70088d 100644 --- a/textproc/libkolabxml/Makefile +++ b/textproc/libkolabxml/Makefile @@ -27,7 +27,8 @@ CMAKE_ARGS= -DBUILD_TESTS:BOOL=OFF \ -DJAVA_BINDINGS:BOOL=OFF \ -DPHP_BINDINGS:BOOL=OFF \ -DPYTHON_BINDINGS:BOOL=OFF -USES= cmake:outsource +USES= cmake:outsource compiler:c++11-lang +USE_CXXSTD= c++11 USE_LDCONFIG= yes PLIST_SUB= SHLIB_VER=${PORTVERSION} diff --git a/textproc/xalan-c/Makefile b/textproc/xalan-c/Makefile index 4ad8c4b20eef..be1ba00cf4af 100644 --- a/textproc/xalan-c/Makefile +++ b/textproc/xalan-c/Makefile @@ -15,7 +15,8 @@ LICENSE= APACHE20 LIB_DEPENDS= libxerces-c.so:textproc/xerces-c3 GNU_CONFIGURE= yes -USES= gmake libtool localbase pathfix +USES= compiler:c++11-lang gmake libtool localbase pathfix +USE_CXXSTD= c++11 USE_LDCONFIG= yes MAKE_JOBS_UNSAFE= yes diff --git a/textproc/xerces-c3/Makefile b/textproc/xerces-c3/Makefile index 3f941aaef03e..baf88fc51f06 100644 --- a/textproc/xerces-c3/Makefile +++ b/textproc/xerces-c3/Makefile @@ -26,6 +26,7 @@ DOXYGEN_BUILD_DEPENDS= doxygen:devel/doxygen \ dot:graphics/graphviz USES= cmake:outsource compiler:c++11-lang cpe iconv pathfix +USE_CXXSTD= c++11 LIB_DEPENDS+= libcurl.so:ftp/curl diff --git a/textproc/xqilla/Makefile b/textproc/xqilla/Makefile index d20159759273..b04e2856d623 100644 --- a/textproc/xqilla/Makefile +++ b/textproc/xqilla/Makefile @@ -17,7 +17,8 @@ LICENSE_FILE= ${WRKSRC}/LICENSE LIB_DEPENDS= libxerces-c.so:textproc/xerces-c3 \ libtidy.so:www/tidy-lib -USES= libtool +USES= compiler:c++11-lang libtool +USE_CXXSTD= c++11 GNU_CONFIGURE= yes CONFIGURE_ARGS= --with-xerces=${LOCALBASE} \ --with-faxpp=no \ -- 2.14.1