git: a4781a12220e - main - lang/ruby30: enable libunwind on powerpc

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

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

commit a4781a12220e51f01fea3fe97be8e4913ca74e18
Author:     Piotr Kubaj <pkubaj@FreeBSD.org>
AuthorDate: 2023-04-26 11:33:48 +0000
Commit:     Piotr Kubaj <pkubaj@FreeBSD.org>
CommitDate: 2023-04-26 12:53:34 +0000

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

diff --git a/Mk/Uses/ruby.mk b/Mk/Uses/ruby.mk
index 9aee42814ac0..bce78c7ed640 100644
--- a/Mk/Uses/ruby.mk
+++ b/Mk/Uses/ruby.mk
@@ -149,7 +149,7 @@ RUBY?=			${LOCALBASE}/bin/ruby${RUBY_SUFFIX}
 # Ruby 3.0
 #
 RUBY_DISTVERSION=	3.0.6
-RUBY_PORTREVISION=	0
+RUBY_PORTREVISION=	1
 .      elif ${RUBY_VER} == 3.1
 #
 # Ruby 3.1
diff --git a/lang/ruby30/Makefile b/lang/ruby30/Makefile
index e3fc6cc8ab7d..7a6038bc3bb8 100644
--- a/lang/ruby30/Makefile
+++ b/lang/ruby30/Makefile
@@ -91,7 +91,7 @@ _SUF2=	,${PORTEPOCH}
 #.endif
 
 # keep in sync with all platforms where libunwind is available
-.if ${ARCH} == aarch64 || ${ARCH} == amd64 || ${ARCH} == armv7 || ${ARCH} == i386 || ${ARCH} == powerpc64 || ${ARCH} == powerpc64le
+.if ${ARCH} == aarch64 || ${ARCH} == amd64 || ${ARCH} == armv7 || ${ARCH} == i386 || ${ARCH} == powerpc || ${ARCH} == powerpc64 || ${ARCH} == powerpc64le
 LIB_DEPENDS+=	libunwind.so:devel/libunwind
 .endif