git: 45945819d90e - main - emulators/qemu: enable on powerpc64le

From: Piotr Kubaj <pkubaj_at_FreeBSD.org>
Date: Mon, 29 Aug 2022 13:21:55 UTC
The branch main has been updated by pkubaj:

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

commit 45945819d90eccfe48a04fba9d16d826f8dcfabb
Author:     Piotr Kubaj <pkubaj@FreeBSD.org>
AuthorDate: 2022-08-28 18:34:47 +0000
Commit:     Piotr Kubaj <pkubaj@FreeBSD.org>
CommitDate: 2022-08-29 13:19:47 +0000

    emulators/qemu: enable on powerpc64le
---
 emulators/qemu/Makefile | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/emulators/qemu/Makefile b/emulators/qemu/Makefile
index e33db767dff6..178a2de935f7 100644
--- a/emulators/qemu/Makefile
+++ b/emulators/qemu/Makefile
@@ -11,10 +11,9 @@ COMMENT=	QEMU CPU Emulator ${${FLAVOR}_COMMENT}
 LICENSE=	GPLv2
 
 .if ${FLAVOR:U} != tools
-ONLY_FOR_ARCHS=	amd64 powerpc64
+ONLY_FOR_ARCHS=	amd64 powerpc64 powerpc64le
 # We need to check if it build with other ARCHS
 # For i386 we have unknown type name 'vm_page_t'
-# ONLY_FOR_ARCHS=	powerpc64le
 .endif
 
 BUILD_DEPENDS=	bash:shells/bash
@@ -208,7 +207,7 @@ MAKE_ARGS+=	ARCH=ppc
 USE_GCC=	yes
 .endif
 
-.if ${ARCH} == "powerpc64"
+.if ${ARCH:Mpowerpc64*}
 CONFIGURE_ARGS+=	--disable-bsd-user
 MAKE_ARGS+=	ARCH=ppc64
 PLIST_SUB+=	BSDUSER="@comment "