diff options
author | Alex Legler <a3li@gentoo.org> | 2009-10-03 08:31:29 +0000 |
---|---|---|
committer | Alex Legler <a3li@gentoo.org> | 2009-10-03 08:31:29 +0000 |
commit | 9d53c7cd276045a0b71173ec035522198e70c3bf (patch) | |
tree | 7ed3d8aafe846f92f2ec85caeb4645896e20d6fe /eclass/ruby.eclass | |
parent | Purging old version (diff) | |
download | gentoo-2-9d53c7cd276045a0b71173ec035522198e70c3bf.tar.gz gentoo-2-9d53c7cd276045a0b71173ec035522198e70c3bf.tar.bz2 gentoo-2-9d53c7cd276045a0b71173ec035522198e70c3bf.zip |
Killing USE_RUBY='any' (with fire and stuff).
Diffstat (limited to 'eclass/ruby.eclass')
-rw-r--r-- | eclass/ruby.eclass | 24 |
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 |