summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Elio Pettenò <flameeyes@gentoo.org>2010-08-03 15:50:02 +0000
committerDiego Elio Pettenò <flameeyes@gentoo.org>2010-08-03 15:50:02 +0000
commitf9799d93a65b86f6135b10036c65c194dbbb0fa8 (patch)
tree40ae219f7d9e9b9595938c1f3f5475c2247b6e31 /eclass/ruby.eclass
parentppc64 stable wrt #327777 (diff)
downloadgentoo-2-f9799d93a65b86f6135b10036c65c194dbbb0fa8.tar.gz
gentoo-2-f9799d93a65b86f6135b10036c65c194dbbb0fa8.tar.bz2
gentoo-2-f9799d93a65b86f6135b10036c65c194dbbb0fa8.zip
Require Ruby 1.8 and just 1.8 instead of virtual/ruby, eclasses style.
Note the use of the EAPI-0 format rather than slot since we don't know where they are used...
Diffstat (limited to 'eclass/ruby.eclass')
-rw-r--r--eclass/ruby.eclass6
1 files changed, 3 insertions, 3 deletions
diff --git a/eclass/ruby.eclass b/eclass/ruby.eclass
index 50480b211c90..60719de69daa 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.78 2010/04/03 11:53:34 graaff Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/ruby.eclass,v 1.79 2010/08/03 15:50:02 flameeyes Exp $
#
# DEPRECATION NOTICE
# This eclass is deprecated because it does not properly handle
@@ -61,8 +61,8 @@ LICENSE="Ruby"
# If you specify RUBY_OPTIONAL you also need to take care of ruby useflag and dependency.
if [[ ${RUBY_OPTIONAL} != "yes" ]]; then
- DEPEND="${DEPEND} virtual/ruby"
- RDEPEND="${RDEPEND} virtual/ruby"
+ DEPEND="${DEPEND} =dev-lang/ruby-1.8*"
+ RDEPEND="${RDEPEND} =dev-lang/ruby-1.8*"
fi
[[ -z "${RUBY}" ]] && export RUBY=/usr/bin/ruby