Index: Makefile =================================================================== --- Makefile (revision 481274) +++ Makefile (working copy) @@ -15,7 +15,8 @@ BUILD_DEPENDS= bash:shells/bash LIB_DEPENDS= libbotan-2.so:security/botan2 -USES= desktop-file-utils gl gmake pkgconfig qt:5 shared-mime-info shebangfix +USES= compiler:c++11-lang desktop-file-utils gl gmake pkgconfig qt:5 \ + shared-mime-info shebangfix USE_GL= gl USE_QT= core gui widgets buildtools_build qmake_build SHEBANG_FILES= deps/libencryptmsg/configure @@ -28,6 +29,12 @@ PORTDOCS= * +.include + +.if ${ARCH:Mmips*} || ${ARCH:Mpowerpc*} || ${ARCH} == sparc64 +EXTRA_PATCHES= ${PATCHDIR}/extra-patch-build_Makefile.qt__ui +.endif + do-build: cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} MAKE=${MAKE_CMD} \ ./configure.sh --all --use-system-libs @@ -50,4 +57,4 @@ @${MKDIR} ${STAGEDIR}${DOCSDIR} cd ${WRKSRC}/docs && ${COPYTREE_SHARE} . ${STAGEDIR}/${DOCSDIR} -.include +.include