summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'eclass/ruby.eclass')
-rw-r--r--eclass/ruby.eclass24
1 files changed, 3 insertions, 21 deletions
diff --git a/eclass/ruby.eclass b/eclass/ruby.eclass
index bc39ff1d34e6..94ae1d05b9b7 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.76 2009/08/04 11:50:23 flameeyes Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/ruby.eclass,v 1.77 2009/10/03 08:31:29 a3li Exp $
#
# @ECLASS: ruby.eclass
# @MAINTAINER:
@@ -257,26 +257,8 @@ prepall() {
src_install || die "src_install failed"
done
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 on April 1st, 2009."
- ewarn "For questions, please contact ruby@gentoo.org."
- ewarn
-
- siteruby=$(${RUBY} -r rbconfig -e 'print Config::CONFIG["sitelibdir"]')
- # in case no directories found in siteruby
- local shopts=$-
- set -o noglob # so that bash doen't expand "*"
-
- for x in "${D}"/${siteruby}/* ; do
- mv $x "${D}"/${siteruby}/..
- done
- if [[ -d ${D}${siteruby} ]] ; then
- rmdir --ignore-fail-on-non-empty "${D}"/${siteruby}
- fi
-
- set +o noglob; set -$shopts # reset old shell opts
+ eerror "USE_RUBY=\"any\" is no longer supported. Please use explicit versions instead."
+ die "USE_RUBY=\"any\" is no longer supported."
fi
fi