summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Legler <a3li@gentoo.org>2009-03-03 15:51:54 +0000
committerAlex Legler <a3li@gentoo.org>2009-03-03 15:51:54 +0000
commit7e7ff1fac89e4270bfbb78517f7208a6a981ecd6 (patch)
tree699b408c9790d81189c0c693305ce55a9528a978 /eclass/ruby.eclass
parentsparc stable wrt #245173 (diff)
downloadhistorical-7e7ff1fac89e4270bfbb78517f7208a6a981ecd6.tar.gz
historical-7e7ff1fac89e4270bfbb78517f7208a6a981ecd6.tar.bz2
historical-7e7ff1fac89e4270bfbb78517f7208a6a981ecd6.zip
Adding USE_RUBY="any" deprecation notice. Due for removal April 1st.
Diffstat (limited to 'eclass/ruby.eclass')
-rw-r--r--eclass/ruby.eclass9
1 files changed, 8 insertions, 1 deletions
diff --git a/eclass/ruby.eclass b/eclass/ruby.eclass
index fd8e63e11f2e..29e8c8eb83c0 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.74 2009/02/08 21:13:35 a3li Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/ruby.eclass,v 1.75 2009/03/03 15:51:54 a3li Exp $
#
# @ECLASS: ruby.eclass
# @MAINTAINER:
@@ -257,6 +257,13 @@ 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=$-