From 5a3497d4327a29c85e7eb6d1923189833d6ae8b0 Mon Sep 17 00:00:00 2001
From: Toomas Soome <tsoome@me.com>
Date: Sat, 11 Apr 2020 10:48:31 +0200
Subject: [PATCH] ruby-23: fix sparc build

---
 components/ruby/ruby-23/Makefile |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/components/ruby/ruby-23/Makefile b/components/ruby/ruby-23/Makefile
index debf9e9..f6d38dd 100644
--- a/components/ruby/ruby-23/Makefile
+++ b/components/ruby/ruby-23/Makefile
@@ -30,6 +30,7 @@
 
 COMPONENT_NAME=		ruby
 COMPONENT_VERSION=	2.3.8
+COMPONENT_REVISION=	1
 COMPONENT_PROJECT_URL=	http://www.ruby-lang.org/
 COMPONENT_SRC=		$(COMPONENT_NAME)-$(COMPONENT_VERSION)
 COMPONENT_ARCHIVE=	$(COMPONENT_SRC).tar.xz
@@ -49,7 +50,7 @@
 RUBY_LIB_VER=2.3.0
 
 PROTORUBYDIR=$(PROTO_DIR)/usr/ruby/$(RUBY_VER)
-PROTO_RBCONFIG_FILE=$(PROTORUBYDIR)/lib/ruby/$(RUBY_LIB_VER)/i386-solaris$(SOLARIS_VERSION)/rbconfig.rb
+PROTO_RBCONFIG_FILE=$(PROTORUBYDIR)/lib/ruby/$(RUBY_LIB_VER)/$(MACH)-solaris$(SOLARIS_VERSION)/rbconfig.rb
 
 # these macros are used in the package manifest
 PKG_MACROS+=	RUBY_VER=$(RUBY_VER) RUBY_LIB_VER=$(RUBY_LIB_VER)

--
Gitblit v1.9.3