diff options
Diffstat (limited to 'eclass')
-rw-r--r-- | eclass/ruby-ng.eclass | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/eclass/ruby-ng.eclass b/eclass/ruby-ng.eclass index 2c3d539ed847..407e3077f0b5 100644 --- a/eclass/ruby-ng.eclass +++ b/eclass/ruby-ng.eclass @@ -1,6 +1,6 @@ # Copyright 1999-2009 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/ruby-ng.eclass,v 1.8 2010/01/15 12:58:20 flameeyes Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/ruby-ng.eclass,v 1.9 2010/04/02 20:26:21 a3li Exp $ # # @ECLASS: ruby-ng.eclass # @MAINTAINER: @@ -244,7 +244,16 @@ _ruby_each_implementation() { # only proceed if it's requested use ruby_targets_${_ruby_implementation} || continue - RUBY=$(type -p $_ruby_implementation 2>/dev/null) + local _ruby_name=$_ruby_implementation + + # Add all USE_RUBY values where the flag name diverts from the binary here + case $_ruby_implementation in + ree18) + _ruby_name=rubyee18 + ;; + esac + + RUBY=$(type -p $_ruby_name 2>/dev/null) invoked=yes if [[ -n "$1" ]]; then |