From b3796c3a8ed7997963b2ff2ff57d4690d98cd938 Mon Sep 17 00:00:00 2001 From: Piotr Kubaj Date: Sun, 11 Jul 2021 22:31:29 +0000 Subject: [PATCH] Mk/Uses/qt-dist.mk: make it possible to use GCC on powerpc This uses the same patches that GCC platforms use. It will allow to selectively switch to GCC for some ports that don't build with Clang, eg. because of missing OpenMP support. --- Mk/Uses/qt-dist.mk | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Mk/Uses/qt-dist.mk b/Mk/Uses/qt-dist.mk index df834b215985..ec1c314b175d 100644 --- a/Mk/Uses/qt-dist.mk +++ b/Mk/Uses/qt-dist.mk @@ -177,6 +177,10 @@ _EXTRA_PATCHES_QT5+= ${PORTSDIR}/devel/${_QT_RELNAME}/files/extra-patch-mkspecs_ ${PORTSDIR}/devel/${_QT_RELNAME}/files/extra-patch-mkspecs_common_gcc-base.conf \ ${PORTSDIR}/devel/${_QT_RELNAME}/files/extrapatch-mkspecs_freebsd-g++_qmake.conf USE_GCC= yes +. elif ${ARCH} == powerpc +_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 \ + ${PORTSDIR}/devel/${_QT_RELNAME}/files/extrapatch-mkspecs_freebsd-g++_qmake.conf . endif EXTRA_PATCHES?= ${PORTSDIR}/devel/${_QT_RELNAME}/files/extrapatch-configure \ ${_EXTRA_PATCHES_QT5}