git: 7504cd137ce8 - main - lang/ruby31: enable libunwind on powerpc

From: Piotr Kubaj <pkubaj_at_FreeBSD.org>
Date: Wed, 26 Apr 2023 12:53:49 UTC
The branch main has been updated by pkubaj:

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

commit 7504cd137ce8aad85cfd7a17aa5492b4aca9dfbe
Author:     Piotr Kubaj <pkubaj@FreeBSD.org>
AuthorDate: 2023-04-26 11:47:19 +0000
Commit:     Piotr Kubaj <pkubaj@FreeBSD.org>
CommitDate: 2023-04-26 12:53:35 +0000

    lang/ruby31: enable libunwind on powerpc
---
 Mk/Uses/ruby.mk      | 2 +-
 lang/ruby31/Makefile | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/Mk/Uses/ruby.mk b/Mk/Uses/ruby.mk
index bce78c7ed640..91b9f0147ed5 100644
--- a/Mk/Uses/ruby.mk
+++ b/Mk/Uses/ruby.mk
@@ -155,7 +155,7 @@ RUBY_PORTREVISION=	1
 # Ruby 3.1
 #
 RUBY_DISTVERSION=	3.1.4
-RUBY_PORTREVISION=	0
+RUBY_PORTREVISION=	1
 
 .      elif ${RUBY_VER} == 3.2
 #
diff --git a/lang/ruby31/Makefile b/lang/ruby31/Makefile
index bc417479ab8c..c5e25adab9cb 100644
--- a/lang/ruby31/Makefile
+++ b/lang/ruby31/Makefile
@@ -92,7 +92,7 @@ _SUF2=		,${PORTEPOCH}
 
 # keep in sync with all platforms where libunwind is available
 .if ${ARCH} == aarch64 || ${ARCH} == amd64 || ${ARCH} == armv7 || ${ARCH} == \
-	i386 || ${ARCH} == powerpc64 || ${ARCH} == powerpc64le
+	i386 || ${ARCH} == powerpc || ${ARCH} == powerpc64 || ${ARCH} == powerpc64le
 LIB_DEPENDS+=	libunwind.so:devel/libunwind
 .endif