Index: Mk/Uses/qt-dist.mk =================================================================== --- Mk/Uses/qt-dist.mk (revision 481501) +++ Mk/Uses/qt-dist.mk (working copy) @@ -196,6 +196,11 @@ _EXTRA_PATCHES_QT5= ${PORTSDIR}/devel/${_QT_RELNAME}/files/extrapatch-mkspecs_features_create__cmake.prf \ ${PORTSDIR}/devel/${_QT_RELNAME}/files/extrapatch-mkspecs_features_qt__module.prf \ ${PORTSDIR}/devel/${_QT_RELNAME}/files/extrapatch-mkspecs_common_bsd_bsd.conf +. if ${ARCH:Mmips*} || ${ARCH:Mpowerpc*} || ${ARCH} == sparc64 +_EXTRA_PATCHES_QT5+= ${PORTSDIR}/devel/${_QT_RELNAME}/files/extra-patch-mkspecs_common_g++-base.conf \ + ${PORTSDIR}/devel/${_QT_RELNAME}/files/extra-patch-mkspecs_common_gcc-base.conf +USE_GCC= yes +. endif . endif EXTRA_PATCHES?= ${PORTSDIR}/devel/${_QT_RELNAME}/files/extrapatch-configure \ ${_EXTRA_PATCHES_QT4} ${_EXTRA_PATCHES_QT5} @@ -268,6 +273,14 @@ # other QtBase ports. See below. _QT5_BASE= core dbus gui network sql widgets +.if ${_QT_VER:M5} +post-patch: gcc-post-patch +gcc-post-patch: + ${REINPLACE_CMD} 's|%%LOCALBASE%%|${LOCALBASE}|' ${WRKSRC}/mkspecs/common/gcc-base.conf + ${REINPLACE_CMD} 's|%%GCC_DEFAULT%%|${GCC_DEFAULT}|' ${WRKSRC}/mkspecs/common/gcc-base.conf \ + ${WRKSRC}/mkspecs/common/g++-base.conf +.endif + pre-configure: qtbase-pre-configure qtbase-pre-configure: . for tool in ${_QT_TOOLS} Index: accessibility/qt5-speech/Makefile =================================================================== --- accessibility/qt5-speech/Makefile (revision 481501) +++ accessibility/qt5-speech/Makefile (working copy) @@ -10,7 +10,7 @@ LIB_DEPENDS= libspeechd.so:accessibility/speech-dispatcher -USES= pkgconfig qmake:outsource qt-dist:5,speech +USES= compiler:c++11-lang pkgconfig qmake:outsource qt-dist:5,speech USE_QT= core gui buildtools_build qmake_build .include Index: archivers/quazip/Makefile =================================================================== --- archivers/quazip/Makefile (revision 481501) +++ archivers/quazip/Makefile (working copy) @@ -24,7 +24,7 @@ USE_QT= corelib moc_build network_build qmake_build rcc_build uic_build CMAKE_ARGS= -DBUILD_WITH_QT4:BOOL=TRUE . else -USES+= qt:5 +USES+= compiler:c++11-lang qt:5 USE_QT= core buildtools_build qmake_build CMAKE_ARGS= -DBUILD_WITH_QT4:BOOL=FALSE QTVER_SUFFIX= 5 Index: comms/qt5-sensors/Makefile =================================================================== --- comms/qt5-sensors/Makefile (revision 481501) +++ comms/qt5-sensors/Makefile (working copy) @@ -9,7 +9,7 @@ COMMENT= Qt sensors module USE_QT= core qml quick buildtools_build -USES= qmake:norecursive qt-dist:5,sensors +USES= compiler:c++11-lang qmake:norecursive qt-dist:5,sensors USE_LDCONFIG= ${PREFIX}/${QT_LIBDIR_REL} Index: comms/qt5-serialport/Makefile =================================================================== --- comms/qt5-serialport/Makefile (revision 481501) +++ comms/qt5-serialport/Makefile (working copy) @@ -9,7 +9,7 @@ COMMENT= Qt functions to access serial ports USE_QT= core buildtools_build -USES= qmake qt-dist:5,serialport +USES= compiler:c++11-lang libtool qmake qt-dist:5,serialport USE_LDCONFIG= ${PREFIX}/${QT_LIBDIR_REL} .include Index: databases/qt5-sql/Makefile =================================================================== --- databases/qt5-sql/Makefile (revision 481501) +++ databases/qt5-sql/Makefile (working copy) @@ -8,7 +8,7 @@ MAINTAINER= kde@FreeBSD.org COMMENT= Qt SQL database integration module -USES= qmake:no_env qt-dist:5,base +USES= compiler:c++11-lang qmake:no_env qt-dist:5,base USE_QT= core qmake_build buildtools_build HAS_CONFIGURE= yes CONFIGURE_ARGS= -no-gui -no-xcb Index: devel/qscintilla2-qt5/Makefile =================================================================== --- devel/qscintilla2-qt5/Makefile (revision 481501) +++ devel/qscintilla2-qt5/Makefile (working copy) @@ -9,7 +9,7 @@ MAINTAINER= kde@FreeBSD.org COMMENT= Qt 5 port of the Scintilla C++ editor class -USES= qmake pyqt:5 qt:5 +USES= compiler:c++11-lang gl qmake pyqt:5 qt:5 USE_GL= gl USE_PYQT= # USE_QT= buildtools_build core gui printsupport widgets Index: devel/qt5/Makefile.sqldrivers =================================================================== --- devel/qt5/Makefile.sqldrivers (revision 481501) +++ devel/qt5/Makefile.sqldrivers (working copy) @@ -8,7 +8,7 @@ MAINTAINER?= kde@FreeBSD.org COMMENT?= Qt ${DB_DESC} database plugin -USES+= qmake:no_env qt-dist:5,base +USES+= compiler:c++11-lang qmake:no_env qt-dist:5,base USE_QT+= core sql qmake_build buildtools_build HAS_CONFIGURE= yes CONFIGURE_ARGS+=-no-gui -no-xcb Index: devel/qt5/files/extra-patch-mkspecs_common_g++-base.conf =================================================================== --- devel/qt5/files/extra-patch-mkspecs_common_g++-base.conf (nonexistent) +++ devel/qt5/files/extra-patch-mkspecs_common_g++-base.conf (working copy) @@ -0,0 +1,20 @@ +--- mkspecs/common/g++-base.conf.orig 2018-09-21 12:02:35 UTC ++++ mkspecs/common/g++-base.conf +@@ -8,14 +8,14 @@ + # you can use the manual test in tests/manual/mkspecs. + # + +-QMAKE_COMPILER = gcc ++QMAKE_COMPILER = gcc%%GCC_DEFAULT%% + +-QMAKE_CC = gcc ++QMAKE_CC = gcc%%GCC_DEFAULT%% + + QMAKE_LINK_C = $$QMAKE_CC + QMAKE_LINK_C_SHLIB = $$QMAKE_CC + +-QMAKE_CXX = g++ ++QMAKE_CXX = g++%%GCC_DEFAULT%% + + QMAKE_LINK = $$QMAKE_CXX + QMAKE_LINK_SHLIB = $$QMAKE_CXX Property changes on: devel/qt5/files/extra-patch-mkspecs_common_g++-base.conf ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: devel/qt5/files/extra-patch-mkspecs_common_gcc-base.conf =================================================================== --- devel/qt5/files/extra-patch-mkspecs_common_gcc-base.conf (nonexistent) +++ devel/qt5/files/extra-patch-mkspecs_common_gcc-base.conf (working copy) @@ -0,0 +1,11 @@ +--- mkspecs/common/gcc-base.conf.orig 2018-09-21 12:20:28 UTC ++++ mkspecs/common/gcc-base.conf +@@ -73,7 +73,7 @@ QMAKE_CXXFLAGS_LTCG = $$QMAKE_CFLAGS_LTCG + QMAKE_CXXFLAGS_LTCG_FATOBJECTS = $$QMAKE_CFLAGS_LTCG_FATOBJECTS + QMAKE_CXXFLAGS_DISABLE_LTCG = $$QMAKE_CFLAGS_DISABLE_LTCG + +-QMAKE_LFLAGS += ++QMAKE_LFLAGS += -Wl,-rpath=%%LOCALBASE%%/lib/gcc%%GCC_DEFAULT%% + QMAKE_LFLAGS_DEBUG += + QMAKE_LFLAGS_APP += + QMAKE_LFLAGS_RELEASE += Property changes on: devel/qt5/files/extra-patch-mkspecs_common_gcc-base.conf ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: devel/qt5-assistant/Makefile =================================================================== --- devel/qt5-assistant/Makefile (revision 481501) +++ devel/qt5-assistant/Makefile (working copy) @@ -10,7 +10,7 @@ USE_QT= core gui help network printsupport sql widgets \ buildtools_build sql-sqlite3_run -USES= qmake qt-dist:5,tools +USES= compiler:c++11-lang qmake qt-dist:5,tools DESKTOP_ENTRIES="Qt 5 Assistant" "" \ "${PREFIX}/share/pixmaps/assistant-qt5.png" \ Index: devel/qt5-buildtools/Makefile =================================================================== --- devel/qt5-buildtools/Makefile (revision 481501) +++ devel/qt5-buildtools/Makefile (working copy) @@ -8,7 +8,7 @@ MAINTAINER= kde@FreeBSD.org COMMENT= Qt build tools -USES= perl5 qmake:no_env qt-dist:5,base +USES= compiler:c++11-lang libtool perl5 qmake:no_env qt-dist:5,base HAS_CONFIGURE= yes CONFIGURE_ARGS= -no-gui -no-xcb USE_LDCONFIG= ${PREFIX}/${QT_LIBDIR_REL} Index: devel/qt5-concurrent/Makefile =================================================================== --- devel/qt5-concurrent/Makefile (revision 481501) +++ devel/qt5-concurrent/Makefile (working copy) @@ -8,7 +8,7 @@ MAINTAINER= kde@FreeBSD.org COMMENT= Qt multi-threading module -USES= qmake:no_env qt-dist:5,base +USES= compiler:c++11-lang qmake:no_env qt-dist:5,base USE_QT= core qmake_build buildtools_build HAS_CONFIGURE= yes CONFIGURE_ARGS= -no-gui -no-xcb Index: devel/qt5-core/Makefile =================================================================== --- devel/qt5-core/Makefile (revision 481501) +++ devel/qt5-core/Makefile (working copy) @@ -11,7 +11,7 @@ LIB_DEPENDS= libicui18n.so:devel/icu \ libpcre2-posix.so:devel/pcre2 -USES= qmake:no_env qt-dist:5,base +USES= compiler:c++11-lang gnome qmake:no_env qt-dist:5,base USE_GNOME= glib20 USE_QT= qmake_build buildtools_build HAS_CONFIGURE= yes Index: devel/qt5-dbus/Makefile =================================================================== --- devel/qt5-dbus/Makefile (revision 481501) +++ devel/qt5-dbus/Makefile (working copy) @@ -10,7 +10,7 @@ LIB_DEPENDS= libdbus-1.so:devel/dbus -USES= qmake:no_env qt-dist:5,base +USES= compiler:c++11-lang qmake:no_env qt-dist:5,base USE_QT= core qmake_build buildtools_build HAS_CONFIGURE= yes CONFIGURE_ARGS= -no-gui -no-xcb Index: devel/qt5-designer/Makefile =================================================================== --- devel/qt5-designer/Makefile (revision 481501) +++ devel/qt5-designer/Makefile (working copy) @@ -10,7 +10,7 @@ USE_QT= assistant_run core gui network printsupport quick uiplugin \ widgets xml buildtools_build -USES= qmake qt-dist:5,tools +USES= compiler:c++11-lang qmake qt-dist:5,tools USE_LDCONFIG= ${PREFIX}/${QT_LIBDIR_REL} DESKTOP_ENTRIES="Qt 5 Designer" "" \ Index: devel/qt5-help/Makefile =================================================================== --- devel/qt5-help/Makefile (revision 481501) +++ devel/qt5-help/Makefile (working copy) @@ -10,7 +10,7 @@ USE_QT= core gui network sql widgets \ buildtools_build sql-sqlite3_run -USES= qmake qt-dist:5,tools +USES= compiler:c++11-lang qmake qt-dist:5,tools USE_LDCONFIG= ${PREFIX}/${QT_LIBDIR_REL} BUILD_WRKSRC= ${WRKSRC}/src/assistant Index: devel/qt5-linguisttools/Makefile =================================================================== --- devel/qt5-linguisttools/Makefile (revision 481501) +++ devel/qt5-linguisttools/Makefile (working copy) @@ -9,7 +9,7 @@ COMMENT= Qt localization tools USE_QT= core xml buildtools_build qml_build -USES= qmake qt-dist:5,tools +USES= compiler:c++11-lang qmake qt-dist:5,tools BUILD_WRKSRC= ${WRKSRC}/src/linguist INSTALL_WRKSRC= ${WRKSRC}/src/linguist Index: devel/qt5-location/Makefile =================================================================== --- devel/qt5-location/Makefile (revision 481501) +++ devel/qt5-location/Makefile (working copy) @@ -9,7 +9,7 @@ COMMENT= Qt location module USE_QT= concurrent core dbus gui network qml quick buildtools_build -USES= qmake:norecursive qt-dist:5,location +USES= compiler:c++11-lang qmake:norecursive qt-dist:5,location USE_LDCONFIG= ${PREFIX}/${QT_LIBDIR_REL} Index: devel/qt5-qdbus/Makefile =================================================================== --- devel/qt5-qdbus/Makefile (revision 481501) +++ devel/qt5-qdbus/Makefile (working copy) @@ -8,7 +8,7 @@ MAINTAINER= kde@FreeBSD.org COMMENT= Qt command-line interface to D-Bus -USES= qmake qt-dist:5,tools +USES= compiler:c++11-lang qmake qt-dist:5,tools USE_QT= core dbus xml buildtools_build BUILD_WRKSRC= ${WRKSRC}/src/${PORTNAME}/${PORTNAME} Index: devel/qt5-qmake/Makefile =================================================================== --- devel/qt5-qmake/Makefile (revision 481501) +++ devel/qt5-qmake/Makefile (working copy) @@ -30,8 +30,6 @@ QMAKESPEC= freebsd-${QMAKE_COMPILER} INSTALL_TARGET= sub-qmake-qmake-aux-pro-install_subtargets install_mkspecs -BROKEN_powerpc64= fails to compile: error: unrecognized command line option -std=c++11 - BUILD_WRKSRC= ${WRKSRC}/${PORTNAME} post-patch: Index: devel/qt5-script/Makefile =================================================================== --- devel/qt5-script/Makefile (revision 481501) +++ devel/qt5-script/Makefile (working copy) @@ -8,10 +8,8 @@ MAINTAINER= kde@FreeBSD.org COMMENT= Qt 4-compatible scripting module -BROKEN_powerpc64= Does not build - USE_QT= core buildtools_build -USES= qmake qt-dist:5,script +USES= compiler:c++11-lang qmake qt-dist:5,script # Keep make(1) from descending into src/script/obj/ (qmake:outsource # doesn't work). MAKE_ENV= MAKEOBJDIR=. Index: devel/qt5-scripttools/Makefile =================================================================== --- devel/qt5-scripttools/Makefile (revision 481501) +++ devel/qt5-scripttools/Makefile (working copy) @@ -9,7 +9,7 @@ COMMENT= Qt Script additional components USE_QT= core gui script widgets buildtools_build -USES= qmake qt-dist:5,script +USES= compiler:c++11-lang qmake qt-dist:5,script USE_LDCONFIG= ${PREFIX}/${QT_LIBDIR_REL} BUILD_WRKSRC= ${WRKSRC}/src/${PORTNAME} Index: devel/qt5-testlib/Makefile =================================================================== --- devel/qt5-testlib/Makefile (revision 481501) +++ devel/qt5-testlib/Makefile (working copy) @@ -8,7 +8,7 @@ MAINTAINER= kde@FreeBSD.org COMMENT= Qt unit testing module -USES= qmake:no_env qt-dist:5,base +USES= compiler:c++11-lang qmake:no_env qt-dist:5,base USE_QT= core qmake_build buildtools_build HAS_CONFIGURE= yes CONFIGURE_ARGS= -no-gui -no-xcb Index: devel/qt5-uitools/Makefile =================================================================== --- devel/qt5-uitools/Makefile (revision 481501) +++ devel/qt5-uitools/Makefile (working copy) @@ -9,7 +9,7 @@ COMMENT= Qt Designer UI forms support module USE_QT= core gui uiplugin widgets buildtools_build -USES= qmake qt-dist:5,tools +USES= compiler:c++11-lang qmake qt-dist:5,tools USE_LDCONFIG= ${PREFIX}/${QT_LIBDIR_REL} BUILD_WRKSRC= ${WRKSRC}/src/designer/src/${PORTNAME} Index: graphics/qt5-imageformats/Makefile =================================================================== --- graphics/qt5-imageformats/Makefile (revision 481501) +++ graphics/qt5-imageformats/Makefile (working copy) @@ -14,6 +14,6 @@ libwebp.so:graphics/webp USE_QT= core gui buildtools_build -USES= localbase qmake qt-dist:5,imageformats +USES= compiler:c++11-lang localbase qmake qt-dist:5,imageformats .include Index: graphics/qt5-opengl/Makefile =================================================================== --- graphics/qt5-opengl/Makefile (revision 481501) +++ graphics/qt5-opengl/Makefile (working copy) @@ -8,7 +8,7 @@ MAINTAINER= kde@FreeBSD.org COMMENT= Qt 5-compatible OpenGL support module -USES= qmake:no_env qt-dist:5,base +USES= compiler:c++11-lang gl qmake:no_env qt-dist:5,base USE_GL= gl USE_QT= core gui widgets qmake_build buildtools_build HAS_CONFIGURE= yes Index: graphics/qt5-svg/Makefile =================================================================== --- graphics/qt5-svg/Makefile (revision 481501) +++ graphics/qt5-svg/Makefile (working copy) @@ -9,7 +9,7 @@ COMMENT= Qt SVG support module USE_QT= core gui widgets buildtools_build -USES= qmake qt-dist:5,svg +USES= compiler:c++11-lang qmake qt-dist:5,svg USE_LDCONFIG= ${PREFIX}/${QT_LIBDIR_REL} .include Index: lang/qt5-qml/Makefile =================================================================== --- lang/qt5-qml/Makefile (revision 481501) +++ lang/qt5-qml/Makefile (working copy) @@ -8,10 +8,8 @@ MAINTAINER= kde@FreeBSD.org COMMENT= Qt QML and JavaScript language module -BROKEN_powerpc64= Does not build - USE_QT= core network buildtools_build -USES= python:build qmake qt-dist:5,declarative +USES= compiler:c++11-lang python:build qmake qt-dist:5,declarative USE_LDCONFIG= ${PREFIX}/${QT_LIBDIR_REL} BUILD_WRKSRC= ${WRKSRC}/src Index: multimedia/phonon/Makefile =================================================================== --- multimedia/phonon/Makefile (revision 481501) +++ multimedia/phonon/Makefile (working copy) @@ -22,7 +22,7 @@ qt4_PLIST= ${.CURDIR}/pkg-plist.qt4 qt5_PLIST= ${.CURDIR}/pkg-plist.qt5 -USES= cmake pathfix tar:xz +USES= cmake compiler:c++11-lang pathfix tar:xz CMAKE_ON= PHONON_INSTALL_QT_EXTENSIONS_INTO_SYSTEM_QT \ PHONON_NO_PLATFORMPLUGIN CMAKE_OFF= PHONON_BUILD_DESIGNER_PLUGIN:BOOL=OFF Index: multimedia/qt5-multimedia/Makefile =================================================================== --- multimedia/qt5-multimedia/Makefile (revision 481501) +++ multimedia/qt5-multimedia/Makefile (working copy) @@ -11,7 +11,8 @@ # LICENSE set via USES_QT5 (bsd.qt.mk) -USES= pkgconfig qmake:norecursive qt-dist:5,multimedia +USES= compiler:c++11-lang gl gnome pkgconfig qmake:norecursive \ + qt-dist:5,multimedia USE_GL= gl USE_GNOME= glib20 USE_QT= core gui network opengl qml quick widgets \ Index: net/qoauth-qt5/Makefile =================================================================== --- net/qoauth-qt5/Makefile (revision 481501) +++ net/qoauth-qt5/Makefile (working copy) @@ -16,7 +16,7 @@ LIB_DEPENDS= libqca-qt5.so:devel/qca@qt5 -USES= qmake:outsource qt:5 +USES= compiler:c++11-lang qmake:outsource qt:5 USE_LDCONFIG= yes USE_QT= core network testlib buildtools_build qmake_build Index: net/qt5-network/Makefile =================================================================== --- net/qt5-network/Makefile (revision 481501) +++ net/qt5-network/Makefile (working copy) @@ -13,7 +13,7 @@ RUN_DEPENDS= ${LOCALBASE}/share/certs/ca-root-nss.crt:security/ca_root_nss -USES= qmake:no_env qt-dist:5,base ssl +USES= compiler:c++11-lang qmake:no_env qt-dist:5,base ssl USE_QT= core buildtools_build HAS_CONFIGURE= yes CONFIGURE_ARGS= -no-gui -no-xcb Index: net-im/telepathy-qt4/Makefile =================================================================== --- net-im/telepathy-qt4/Makefile (revision 481408) +++ net-im/telepathy-qt4/Makefile (working copy) @@ -22,7 +22,7 @@ USE_GNOME= glib20 libxslt:build USE_GSTREAMER= yes -USES= cmake:outsource gettext pathfix pkgconfig python:2.7,build +USES= cmake:outsource gettext gnome pathfix pkgconfig python:2.7,build CMAKE_ARGS= -DENABLE_EXAMPLES:BOOL=False \ -DENABLE_FARSIGHT:BOOL=False \ -DENABLE_FARSTREAM:BOOL=True \ @@ -35,7 +35,7 @@ moc_build qmake_build rcc_build uic_build SHLIB_SUFFIX= 2 . else -USES+= qt:5 +USES+= compiler:c++11-lang qt:5 USE_QT= core dbus gui network xml \ buildtools_build qmake_build testlib_build widgets_build SHLIB_SUFFIX= 0 Index: print/qt5-printsupport/Makefile =================================================================== --- print/qt5-printsupport/Makefile (revision 481501) +++ print/qt5-printsupport/Makefile (working copy) @@ -8,7 +8,7 @@ MAINTAINER= kde@FreeBSD.org COMMENT= Qt print support module -USES= qmake:no_env qt-dist:5,base +USES= compiler:c++11-lang qmake:no_env qt-dist:5,base USE_QT= core gui widgets qmake_build buildtools_build HAS_CONFIGURE= yes USE_LDCONFIG= ${PREFIX}/${QT_LIBDIR_REL} Index: sysutils/qt5-qtpaths/Makefile =================================================================== --- sysutils/qt5-qtpaths/Makefile (revision 481501) +++ sysutils/qt5-qtpaths/Makefile (working copy) @@ -8,7 +8,7 @@ MAINTAINER= kde@FreeBSD.org COMMENT= Command line client to QStandardPaths -USES= qmake:outsource qt-dist:5,tools +USES= compiler:c++11-lang qmake:outsource qt-dist:5,tools USE_QT= core PLIST_FILES= ${QT_BINDIR}/qtpaths Index: sysutils/signon-plugin-oauth2/Makefile =================================================================== --- sysutils/signon-plugin-oauth2/Makefile (revision 481501) +++ sysutils/signon-plugin-oauth2/Makefile (working copy) @@ -11,7 +11,7 @@ LIB_DEPENDS= libsignon-qt5.so:sysutils/signon-qt5 -USES= pkgconfig python qmake qt:5 +USES= compiler:c++11-lang pkgconfig python qmake qt:5 USE_QT= core network testlib \ buildtools_build qmake_build USE_LDCONFIG= ${PREFIX}/lib/signon Index: sysutils/signon-qt5/Makefile =================================================================== --- sysutils/signon-qt5/Makefile (revision 481501) +++ sysutils/signon-qt5/Makefile (working copy) @@ -12,7 +12,8 @@ LICENSE= LGPL20 LICENSE_FILE= ${WRKSRC}/COPYING -USES= gettext pathfix pkgconfig python qmake qt:5 tar:bz2 +USES= compiler:c++11-lang gettext pathfix pkgconfig python qmake \ + qt:5 tar:bz2 USE_QT= core dbus gui network sql testlib xml \ buildtools_build qmake_build Index: textproc/qt5-xml/Makefile =================================================================== --- textproc/qt5-xml/Makefile (revision 481501) +++ textproc/qt5-xml/Makefile (working copy) @@ -8,7 +8,7 @@ MAINTAINER= kde@FreeBSD.org COMMENT= Qt SAX and DOM implementations -USES= qmake:no_env qt-dist:5,base +USES= compiler:c++11-lang qmake:no_env qt-dist:5,base USE_QT= core qmake_build buildtools_build HAS_CONFIGURE= yes CONFIGURE_ARGS= -no-gui -no-xcb Index: textproc/qt5-xmlpatterns/Makefile =================================================================== --- textproc/qt5-xmlpatterns/Makefile (revision 481501) +++ textproc/qt5-xmlpatterns/Makefile (working copy) @@ -8,10 +8,8 @@ MAINTAINER= kde@FreeBSD.org COMMENT= Qt support for XPath, XQuery, XSLT and XML Schema -BROKEN_powerpc64= Does not build - USE_QT= core network buildtools_build -USES= qmake:norecursive qt-dist:5,xmlpatterns +USES= compiler:c++11-lang qmake:norecursive qt-dist:5,xmlpatterns USE_LDCONFIG= ${PREFIX}/${QT_LIBDIR_REL} .include Index: www/qt5-webchannel/Makefile =================================================================== --- www/qt5-webchannel/Makefile (revision 481501) +++ www/qt5-webchannel/Makefile (working copy) @@ -9,7 +9,7 @@ COMMENT= Qt 5 library for integration of C++/QML with HTML/js clients USE_QT= buildtools_build core qml quick -USES= qmake:norecursive qt-dist:5,webchannel +USES= compiler:c++11-lang qmake:norecursive qt-dist:5,webchannel USE_LDCONFIG= ${PREFIX}/${QT_LIBDIR_REL} # The default EXTRACT_AFTER_ARGS value excludes examples/ from the extracted Index: x11/qt5-x11extras/Makefile =================================================================== --- x11/qt5-x11extras/Makefile (revision 481501) +++ x11/qt5-x11extras/Makefile (working copy) @@ -9,7 +9,7 @@ COMMENT= Qt platform-specific features for X11-based systems USE_QT= core gui -USES= qmake qt-dist:5,x11extras +USES= compiler:c++11-lang qmake qt-dist:5,x11extras USE_LDCONFIG= ${PREFIX}/${QT_LIBDIR_REL} .include Index: x11-themes/kf5-breeze-icons/Makefile =================================================================== --- x11-themes/kf5-breeze-icons/Makefile (revision 481501) +++ x11-themes/kf5-breeze-icons/Makefile (working copy) @@ -10,7 +10,7 @@ LICENSE= LGPL3+ LICENSE_FILE= ${WRKSRC}/COPYING-ICONS -USES= cmake:outsource kde:5 qt:5 tar:xz +USES= cmake:outsource compiler:c++11-lang kde:5 qt:5 tar:xz USE_KDE= ecm USE_QT= buildtools_build core qmake_build testlib Index: x11-toolkits/qt5-gui/Makefile =================================================================== --- x11-toolkits/qt5-gui/Makefile (revision 481501) +++ x11-toolkits/qt5-gui/Makefile (working copy) @@ -22,7 +22,7 @@ libxkbcommon.so:x11/libxkbcommon RUN_DEPENDS= xdg-open:devel/xdg-utils -USES= jpeg localbase qmake:no_env qt-dist:5,base +USES= compiler:c++11-lang jpeg localbase qmake:no_env qt-dist:5,base USE_GL= gl egl USE_GNOME= glib20 USE_QT= core dbus network qmake_build buildtools_build Index: x11-toolkits/qt5-quick/Makefile =================================================================== --- x11-toolkits/qt5-quick/Makefile (revision 481501) +++ x11-toolkits/qt5-quick/Makefile (working copy) @@ -11,7 +11,8 @@ USE_GL= gl USE_QT= core gui network qml sql testlib \ widgets xmlpatterns buildtools_build -USES= python:build qmake:norecursive qt-dist:5,declarative +USES= compiler:c++11-lang gl python:build qmake:norecursive \ + qt-dist:5,declarative USE_LDCONFIG= ${PREFIX}/${QT_LIBDIR_REL} CONFLICTS= qt5-declarative-render2d-* Index: x11-toolkits/qt5-quickcontrols/Makefile =================================================================== --- x11-toolkits/qt5-quickcontrols/Makefile (revision 481501) +++ x11-toolkits/qt5-quickcontrols/Makefile (working copy) @@ -10,7 +10,7 @@ BROKEN_armv6= fails to install: pkg-static: Unable to access file ApplicationWindow.qmlc: No such file or directory -USES= qmake qt-dist:5,quickcontrols +USES= compiler:c++11-lang qmake qt-dist:5,quickcontrols USE_QT= core gui qml quick widgets \ buildtools_build USE_LDCONFIG= ${PREFIX}/${QT_LIBDIR_REL} Index: x11-toolkits/qt5-quickcontrols2/Makefile =================================================================== --- x11-toolkits/qt5-quickcontrols2/Makefile (revision 481501) +++ x11-toolkits/qt5-quickcontrols2/Makefile (working copy) @@ -10,7 +10,7 @@ BROKEN_armv6= fails to install: pkg-static: Unable to access file DayOfWeekRow.qmlc: No such file or directory -USES= qmake:norecursive qt-dist:5 +USES= compiler:c++11-lang qmake:norecursive qt-dist:5 USE_QT= core gui qml quick widgets \ buildtools_build QT_DIST= ${PORTNAME} Index: x11-toolkits/qt5-virtualkeyboard/Makefile =================================================================== --- x11-toolkits/qt5-virtualkeyboard/Makefile (revision 481501) +++ x11-toolkits/qt5-virtualkeyboard/Makefile (working copy) @@ -10,7 +10,7 @@ LIB_DEPENDS= libhunspell-1.6.so:textproc/hunspell -USES= qmake qt-dist:5,virtualkeyboard +USES= compiler:c++11-lang qmake qt-dist:5,virtualkeyboard USE_QT= core network gui widgets svg qml quick buildtools_build USE_LDCONFIG= ${PREFIX}/${QT_LIBDIR_REL} Index: x11-toolkits/qt5-widgets/Makefile =================================================================== --- x11-toolkits/qt5-widgets/Makefile (revision 481501) +++ x11-toolkits/qt5-widgets/Makefile (working copy) @@ -8,7 +8,7 @@ MAINTAINER= kde@FreeBSD.org COMMENT= Qt C++ widgets module -USES= qmake:no_env qt-dist:5,base +USES= compiler:c++11-lang qmake:no_env qt-dist:5,base USE_QT= core gui qmake_build buildtools_build USE_XORG= x11 HAS_CONFIGURE= yes