diff options
author | 2012-02-23 23:06:13 +0000 | |
---|---|---|
committer | 2012-02-23 23:06:13 +0000 | |
commit | 148c04267a2ea59d7e1256cf819396711bc25d3c (patch) | |
tree | c6075867ef7fd5d8f091ac253592a3192017ff87 /eclass | |
parent | Improve ebuild, patch by Agostino Sarubbo, see bug #401159. (diff) | |
download | historical-148c04267a2ea59d7e1256cf819396711bc25d3c.tar.gz historical-148c04267a2ea59d7e1256cf819396711bc25d3c.tar.bz2 historical-148c04267a2ea59d7e1256cf819396711bc25d3c.zip |
ruby-ng.eclass: Improve no-matching-ruby-target-error message wording wrt bug 405373.
Diffstat (limited to 'eclass')
-rw-r--r-- | eclass/ChangeLog | 5 | ||||
-rw-r--r-- | eclass/ruby-ng.eclass | 13 |
2 files changed, 14 insertions, 4 deletions
diff --git a/eclass/ChangeLog b/eclass/ChangeLog index 9c668ba6eb08..29d14e4e0432 100644 --- a/eclass/ChangeLog +++ b/eclass/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for eclass directory # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v 1.140 2012/02/21 18:03:49 jlec Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v 1.141 2012/02/23 23:06:13 a3li Exp $ + + 23 Feb 2012; Alex Legler <a3li@gentoo.org> ruby-ng.eclass: + Improve no-matching-ruby-target-error message wording wrt bug 405373. 21 Feb 2012; Justin Lecher <jlec@gentoo.org> subversion.eclass: Respect ESVN_USER, ESVN_PASSWORD and ESVN_OPTIONS on repo update, #401737 diff --git a/eclass/ruby-ng.eclass b/eclass/ruby-ng.eclass index 1b5ed3fe3ef7..0408ae61b612 100644 --- a/eclass/ruby-ng.eclass +++ b/eclass/ruby-ng.eclass @@ -1,6 +1,6 @@ -# Copyright 1999-2011 Gentoo Foundation +# Copyright 1999-2012 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/ruby-ng.eclass,v 1.44 2011/12/18 21:33:50 flameeyes Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/ruby-ng.eclass,v 1.45 2012/02/23 23:06:13 a3li Exp $ # @ECLASS: ruby-ng.eclass # @MAINTAINER: @@ -384,7 +384,14 @@ _ruby_each_implementation() { unset RUBY done - [[ ${invoked} == "no" ]] && die "You need to select at least one Ruby implementation by setting RUBY_TARGETS in /etc/make.conf." + if [[ ${invoked} == "no" ]]; then + eerror "You need to select at least one compatible Ruby installation target via RUBY_TARGETS in make.conf." + eerror "Compatible targets for this package are: ${USE_RUBY}" + eerror + eerror "See http://www.gentoo.org/proj/en/prog_lang/ruby/index.xml#doc_chap3 for more information." + eerror + die "No compatible Ruby target selected." + fi } # @FUNCTION: ruby-ng_pkg_setup |