summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorAlex Legler <a3li@gentoo.org>2009-08-20 08:38:25 +0000
committerAlex Legler <a3li@gentoo.org>2009-08-20 08:38:25 +0000
commit3be7a3447b6c8f5369b964ec103b4c492c98738f (patch)
tree4f331553b4e28477740d24ae7711850e056d6b62 /eclass
parentInitial import: merged bazaar and rion overlays. Bug #78021, thank Caleb Shay... (diff)
downloadgentoo-2-3be7a3447b6c8f5369b964ec103b4c492c98738f.tar.gz
gentoo-2-3be7a3447b6c8f5369b964ec103b4c492c98738f.tar.bz2
gentoo-2-3be7a3447b6c8f5369b964ec103b4c492c98738f.zip
Remove USE_RUBY=any support from gems.eclass
Diffstat (limited to 'eclass')
-rw-r--r--eclass/gems.eclass13
1 files changed, 3 insertions, 10 deletions
diff --git a/eclass/gems.eclass b/eclass/gems.eclass
index b03fef814847..c3df3f52f1e0 100644
--- a/eclass/gems.eclass
+++ b/eclass/gems.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/gems.eclass,v 1.27 2009/07/05 16:46:05 graaff Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/gems.eclass,v 1.28 2009/08/20 08:38:25 a3li Exp $
# @ECLASS: gems.eclass
# @MAINTAINER:
@@ -80,15 +80,8 @@ gems_src_install() {
USE_RUBY="ruby18"
elif [[ "${USE_RUBY}" == "any" ]]; then
- ewarn
- ewarn "DEPRECATION NOTICE"
- ewarn "USE_RUBY=\"any\" is deprecated. Please use explicit versions instead."
- ewarn "Support will be removed in April 2009."
- ewarn "For questions, please contact ruby@gentoo.org."
- ewarn
-
- # Get the installed versions.
- USE_RUBY=`ls /usr/bin/ruby* | grep -E 'ruby1(8|9)' | sed -e 's@/usr/bin/@@g'`
+ eerror "USE_RUBY=\"any\" is deprecated. Please use explicit versions instead."
+ die "USE_RUBY=\"any\" is deprecated."
fi
local num_ruby_slots=$(echo "${USE_RUBY}" | wc -w)