/[gentoo-x86]/eclass/gems.eclass
Gentoo

Diff of /eclass/gems.eclass

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.28 Revision 1.29
1# Copyright 1999-2009 Gentoo Foundation 1# Copyright 1999-2009 Gentoo Foundation
2# Distributed under the terms of the GNU General Public License v2 2# Distributed under the terms of the GNU General Public License v2
3# $Header: /var/cvsroot/gentoo-x86/eclass/gems.eclass,v 1.28 2009/08/20 08:38:25 a3li Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/gems.eclass,v 1.29 2009/08/20 08:55:01 graaff Exp $
4 4
5# @ECLASS: gems.eclass 5# @ECLASS: gems.eclass
6# @MAINTAINER: 6# @MAINTAINER:
7# ruby@gentoo.org 7# ruby@gentoo.org
8# 8#
78 einfo "The ebuild doesn't set USE_RUBY explicitly. Defaulting to ruby18." 78 einfo "The ebuild doesn't set USE_RUBY explicitly. Defaulting to ruby18."
79 einfo "Please check compatibility and set USE_RUBY respectively." 79 einfo "Please check compatibility and set USE_RUBY respectively."
80 80
81 USE_RUBY="ruby18" 81 USE_RUBY="ruby18"
82 elif [[ "${USE_RUBY}" == "any" ]]; then 82 elif [[ "${USE_RUBY}" == "any" ]]; then
83 eerror "USE_RUBY=\"any\" is deprecated. Please use explicit versions instead." 83 eerror "USE_RUBY=\"any\" is no longer supported. Please use explicit versions instead."
84 die "USE_RUBY=\"any\" is deprecated." 84 die "USE_RUBY=\"any\" is no longer supported."
85 fi 85 fi
86 86
87 local num_ruby_slots=$(echo "${USE_RUBY}" | wc -w) 87 local num_ruby_slots=$(echo "${USE_RUBY}" | wc -w)
88 88
89 for ruby_version in ${USE_RUBY} ; do 89 for ruby_version in ${USE_RUBY} ; do

Legend:
Removed from v.1.28  
changed lines
  Added in v.1.29

  ViewVC Help
Powered by ViewVC 1.1.20