From 481e1243e4d9e03d958bf6371468160c90dfac01 Mon Sep 17 00:00:00 2001 From: Piotr Kubaj Date: Mon, 12 Oct 2020 18:25:13 +0000 Subject: [PATCH] Add libunwind for aarch64, powerpc64 and powerpc64le. --- Mk/bsd.ruby.mk | 8 ++++---- lang/ruby25/Makefile | 2 +- lang/ruby26/Makefile | 2 +- lang/ruby27/Makefile | 2 +- lang/ruby30/Makefile | 2 +- 5 files changed, 8 insertions(+), 8 deletions(-) diff --git a/Mk/bsd.ruby.mk b/Mk/bsd.ruby.mk index 3ae0275bd2e2..8047a8a57095 100644 --- a/Mk/bsd.ruby.mk +++ b/Mk/bsd.ruby.mk @@ -149,7 +149,7 @@ RUBY?= ${LOCALBASE}/bin/${RUBY_NAME} # Ruby 2.5 # RUBY_VERSION= 2.5.8 -RUBY_PORTREVISION= 1 +RUBY_PORTREVISION= 2 RUBY_PORTEPOCH= 1 RUBY25= "" # PLIST_SUB helpers @@ -158,7 +158,7 @@ RUBY25= "" # PLIST_SUB helpers # Ruby 2.6 # RUBY_VERSION= 2.6.6 -RUBY_PORTREVISION= 1 +RUBY_PORTREVISION= 2 RUBY_PORTEPOCH= 1 RUBY26= "" # PLIST_SUB helpers @@ -167,7 +167,7 @@ RUBY26= "" # PLIST_SUB helpers # Ruby 2.7 # RUBY_VERSION= 2.7.2 -RUBY_PORTREVISION= 0 +RUBY_PORTREVISION= 1 RUBY_PORTEPOCH= 1 RUBY27= "" # PLIST_SUB helpers @@ -176,7 +176,7 @@ RUBY27= "" # PLIST_SUB helpers # Ruby 3.0 # RUBY_DISTVERSION= 3.0.0-preview1 -RUBY_PORTREVISION= 0 +RUBY_PORTREVISION= 1 RUBY_PORTEPOCH= 1 RUBY30= "" # PLIST_SUB helpers diff --git a/lang/ruby25/Makefile b/lang/ruby25/Makefile index 84f5685c8d7b..000e21c79b18 100644 --- a/lang/ruby25/Makefile +++ b/lang/ruby25/Makefile @@ -93,7 +93,7 @@ CONFIGURE_ARGS+=--disable-dtrace .endif # keep in sync with all platforms where libunwind is available -.if (${ARCH} == amd64 || ${ARCH} == i386) +.if (${ARCH} == aarch64 || ${ARCH} == amd64 || ${ARCH} == i386 || ${ARCH:Mpowerpc64*}) LIB_DEPENDS+= libunwind.so:devel/libunwind .endif diff --git a/lang/ruby26/Makefile b/lang/ruby26/Makefile index 884471906609..7ee1251a5330 100644 --- a/lang/ruby26/Makefile +++ b/lang/ruby26/Makefile @@ -94,7 +94,7 @@ CONFIGURE_ARGS+=--disable-dtrace .endif # keep in sync with all platforms where libunwind is available -.if (${ARCH} == amd64 || ${ARCH} == i386) +.if (${ARCH} == aarch64 || ${ARCH} == amd64 || ${ARCH} == i386 || ${ARCH:Mpowerpc64*}) LIB_DEPENDS+= libunwind.so:devel/libunwind .endif diff --git a/lang/ruby27/Makefile b/lang/ruby27/Makefile index fed65a02db40..d351ff700278 100644 --- a/lang/ruby27/Makefile +++ b/lang/ruby27/Makefile @@ -94,7 +94,7 @@ CONFIGURE_ARGS+=--disable-dtrace .endif # keep in sync with all platforms where libunwind is available -.if (${ARCH} == amd64 || ${ARCH} == i386) +.if (${ARCH} == aarch64 || ${ARCH} == amd64 || ${ARCH} == i386 || ${ARCH:Mpowerpc64*}) LIB_DEPENDS+= libunwind.so:devel/libunwind .endif diff --git a/lang/ruby30/Makefile b/lang/ruby30/Makefile index dab3f8f8606c..095d458e6f4b 100644 --- a/lang/ruby30/Makefile +++ b/lang/ruby30/Makefile @@ -93,7 +93,7 @@ CONFIGURE_ARGS+=--disable-dtrace .endif # keep in sync with all platforms where libunwind is available -.if (${ARCH} == amd64 || ${ARCH} == i386) +.if (${ARCH} == arch64 || ${ARCH} == amd64 || ${ARCH} == i386 || ${ARCH:Mpowerpc64*}) LIB_DEPENDS+= libunwind.so:devel/libunwind .endif