git: a821b221e3df - main - games/iortcw: fixup for the previous powerpc* fix

From: Piotr Kubaj <pkubaj_at_FreeBSD.org>
Date: Fri, 10 May 2024 16:20:21 UTC
The branch main has been updated by pkubaj:

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

commit a821b221e3df175d49252c0ada1a2aa25941712b
Author:     Piotr Kubaj <pkubaj@FreeBSD.org>
AuthorDate: 2024-05-07 13:39:20 +0000
Commit:     Piotr Kubaj <pkubaj@FreeBSD.org>
CommitDate: 2024-05-10 16:19:46 +0000

    games/iortcw: fixup for the previous powerpc* fix
    
    The previous fix fixed powerpc64le, but broke powerpc and powerpc64.
---
 games/iortcw/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/games/iortcw/Makefile b/games/iortcw/Makefile
index 86dff84e9df0..401e3cbc8640 100644
--- a/games/iortcw/Makefile
+++ b/games/iortcw/Makefile
@@ -30,7 +30,7 @@ MAKE_ARGS=	BINDIR="${STAGEDIR}${PREFIX}/bin" \
 
 LDFLAGS_i386=	-Wl,-znotext
 
-PLIST_SUB=	ARCH="${ARCH:S/amd64/x86_64/:S/i386/x86/}" \
+PLIST_SUB=	ARCH="${ARCH:S/amd64/x86_64/:S/i386/x86/:S/powerpc$/ppc/:S/powerpc64$/ppc64/}" \
 		WOLFDIR="${WOLFDIR}"
 
 SUB_FILES=	iowolfded iowolfmp iowolfsp pkg-message