git: b3796c3a8ed7 - main - Mk/Uses/qt-dist.mk: make it possible to use GCC on powerpc

Piotr Kubaj pkubaj at FreeBSD.org
Sun Jul 11 22:31:40 UTC 2021


The branch main has been updated by pkubaj:

URL: https://cgit.FreeBSD.org/ports/commit/?id=b3796c3a8ed7997963b2ff2ff57d4690d98cd938

commit b3796c3a8ed7997963b2ff2ff57d4690d98cd938
Author:     Piotr Kubaj <pkubaj at FreeBSD.org>
AuthorDate: 2021-07-11 22:31:29 +0000
Commit:     Piotr Kubaj <pkubaj at FreeBSD.org>
CommitDate: 2021-07-11 22:31:29 +0000

    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}


More information about the dev-commits-ports-main mailing list