summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorAlex Legler <a3li@gentoo.org>2009-01-18 17:06:32 +0000
committerAlex Legler <a3li@gentoo.org>2009-01-18 17:06:32 +0000
commit1a1f77ddf04ed48012381f0075d5bf861be507c0 (patch)
tree2508c63ea23f0eacdbaa9e2e88f8991f66d7ddf7 /eclass
parentSparc stable, Bug #255394. (diff)
downloadhistorical-1a1f77ddf04ed48012381f0075d5bf861be507c0.tar.gz
historical-1a1f77ddf04ed48012381f0075d5bf861be507c0.tar.bz2
historical-1a1f77ddf04ed48012381f0075d5bf861be507c0.zip
ruby.eclass: Removing extra "ruby" build target and adding rubyee blacklist check to fix bug 253790.
Diffstat (limited to 'eclass')
-rw-r--r--eclass/ruby.eclass5
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 "$@" ; }