git: 828299c91a3a - main - editors/emacs-devel: fix build on powerpc64*

From: Piotr Kubaj <pkubaj_at_FreeBSD.org>
Date: Fri, 22 Oct 2021 12:09:07 UTC
The branch main has been updated by pkubaj:

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

commit 828299c91a3ae2f5f1d46c240f5304deb85abb98
Author:     Piotr Kubaj <pkubaj@FreeBSD.org>
AuthorDate: 2021-10-22 11:42:15 +0000
Commit:     Piotr Kubaj <pkubaj@FreeBSD.org>
CommitDate: 2021-10-22 11:42:15 +0000

    editors/emacs-devel: fix build on powerpc64*
    
    Building with clang randomly crashes:
    Select coding system (default raw-text): Debugger entered--Lisp error: (end-of-file "Error reading from stdin")
---
 editors/emacs-devel/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/editors/emacs-devel/Makefile b/editors/emacs-devel/Makefile
index e0cb65197276..a2b3112691f8 100644
--- a/editors/emacs-devel/Makefile
+++ b/editors/emacs-devel/Makefile
@@ -213,7 +213,7 @@ XWIDGETS_CONFIGURE_WITH=	xwidgets
 _GCC_PORT!=	${BSDMAKE} -V_GCC_PORT USE_GCC=11+ _GCC_PORT_CHOSEN=yes
 .endif
 
-.if ${ARCH} == powerpc64le
+.if ${ARCH:Mpowerpc64*}
 USE_GCC=	yes
 .endif