From cae80332c8b021676922690c645c1542e106657f Mon Sep 17 00:00:00 2001 From: Hans de Graaff Date: Fri, 21 Oct 2011 06:48:24 +0000 Subject: [PATCH] Add support for Rubinius (rbx) target. --- eclass/ruby-ng.eclass | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/eclass/ruby-ng.eclass b/eclass/ruby-ng.eclass index 7d47ecdf64e1..87b9ca915b92 100644 --- a/eclass/ruby-ng.eclass +++ b/eclass/ruby-ng.eclass @@ -1,6 +1,6 @@ # Copyright 1999-2011 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/ruby-ng.eclass,v 1.40 2011/10/05 17:46:20 graaff Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/ruby-ng.eclass,v 1.41 2011/10/21 06:48:24 graaff Exp $ # @ECLASS: ruby-ng.eclass # @MAINTAINER: @@ -19,6 +19,7 @@ # * ruby19 - Ruby (MRI) 1.9.x # * ree18 - Ruby Enterprise Edition 1.8.x # * jruby - JRuby +# * rbx - Rubinius # # This eclass does not define the implementation of the configure, # compile, test, or install phases. Instead, the default phases are @@ -115,6 +116,10 @@ ruby_implementation_depend() { rubypn="dev-java/jruby" rubyslot="" ;; + rbx) + rubypn="dev-lang/rubinius" + rubyslot="" + ;; *) die "$1: unknown Ruby implementation" esac @@ -611,6 +616,9 @@ ruby_get_implementation() { *jruby*) echo "jruby" ;; + *rubinius*) + echo "rbx" + ;; *) echo "mri" ;; -- 2.26.2