diff options
author | Alex Legler <a3li@gentoo.org> | 2009-01-18 17:06:32 +0000 |
---|---|---|
committer | Alex Legler <a3li@gentoo.org> | 2009-01-18 17:06:32 +0000 |
commit | 1a017fe3e34c150f2c8d66af97f787d079a07382 (patch) | |
tree | 1f5074af05790acd6fd7a23eae1be447150095c4 /eclass/ruby.eclass | |
parent | Sparc stable, Bug #255394. (diff) | |
download | gentoo-2-1a017fe3e34c150f2c8d66af97f787d079a07382.tar.gz gentoo-2-1a017fe3e34c150f2c8d66af97f787d079a07382.tar.bz2 gentoo-2-1a017fe3e34c150f2c8d66af97f787d079a07382.zip |
ruby.eclass: Removing extra "ruby" build target and adding rubyee blacklist check to fix bug 253790.
Diffstat (limited to 'eclass/ruby.eclass')
-rw-r--r-- | eclass/ruby.eclass | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/eclass/ruby.eclass b/eclass/ruby.eclass index 565b929817df..9c52e4674d0a 100644 --- a/eclass/ruby.eclass +++ b/eclass/ruby.eclass @@ -1,6 +1,6 @@ # Copyright 1999-2004 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/ruby.eclass,v 1.72 2008/12/13 10:03:54 graaff Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/ruby.eclass,v 1.73 2009/01/18 17:06:32 a3li Exp $ # # @ECLASS: ruby.eclass # @MAINTAINER: @@ -234,12 +234,13 @@ prepall() { [[ ! -x /usr/bin/ruby16 ]] && export USE_RUBY=${USE_RUBY/ruby16/} [[ ! -x /usr/bin/ruby18 ]] && export USE_RUBY=${USE_RUBY/ruby18/} [[ ! -x /usr/bin/ruby19 ]] && export USE_RUBY=${USE_RUBY/ruby19/} + [[ ! -x /usr/bin/rubyee ]] && export USE_RUBY=${USE_RUBY/rubyee/} local ruby_slots=$(echo "${USE_RUBY}" | wc -w) if [ "$ruby_slots" -ge 2 ] ; then einfo "Now we are building the package for ${USE_RUBY}" - for rb in ${USE_RUBY} ruby ; do + for rb in ${USE_RUBY} ; do einfo "Using $rb" export RUBY=/usr/bin/$rb ruby() { /usr/bin/$rb "$@" ; } |