git: a1c6e265295f - main - x11-wm/gamescope: unexpand powerpc* after 6a56ecb3558d

From: Jan Beich <jbeich_at_FreeBSD.org>
Date: Thu, 21 Sep 2023 11:41:59 UTC
The branch main has been updated by jbeich:

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

commit a1c6e265295f19411bc46f14aaa1a7c534e5d075
Author:     Jan Beich <jbeich@FreeBSD.org>
AuthorDate: 2023-09-21 11:19:37 +0000
Commit:     Jan Beich <jbeich@FreeBSD.org>
CommitDate: 2023-09-21 11:40:39 +0000

    x11-wm/gamescope: unexpand powerpc* after 6a56ecb3558d
    
    Remove endian suffix instead of hardcoding ARCH abbreviations. Meson
    doesn't infer endianess from ARCH while FreeBSD removed big-endian
    except for PowerPC and inconsitently used "el" and "le" as suffix.
    For example, gamescope requires modern compiler and KMS-based GPU
    drivers, so "armeb", "mips64el", "sparc64" were never supported.
---
 x11-wm/gamescope/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/x11-wm/gamescope/Makefile b/x11-wm/gamescope/Makefile
index 7c8f2026f3db..8ce98dfe1e78 100644
--- a/x11-wm/gamescope/Makefile
+++ b/x11-wm/gamescope/Makefile
@@ -37,7 +37,7 @@ GH_TUPLE=	nothings:stb:5736b15:stb/subprojects/stb \
 		Joshua-Ashton:vkroots:2675710:vkroots/subprojects/vkroots
 MESON_ARGS=	--force-fallback-for= # allow system wlroots + libliftoff
 MESON_ARGS+=	-Denable_openvr_support=false # https://github.com/ValveSoftware/openvr/pull/564
-MESON_ARCH_FAMILY=	${ARCH:S/amd/x86_/:S/i3/x/:C/v[67]//:S/powerpc64le/ppc64/:S/powerpc64/ppc64/:S/powerpc/ppc/}
+MESON_ARCH_FAMILY=	${ARCH:S/amd/x86_/:S/i3/x/:C/v[67]//:S/power/p/:S/le$//}
 PLIST_FILES=	bin/${PORTNAME} \
 		lib/libVkLayer_FROG_${PORTNAME}_wsi.so \
 		share/vulkan/implicit_layer.d/VkLayer_FROG_${PORTNAME}_wsi.${MESON_ARCH_FAMILY}.json