summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2016-12-25 08:00:56 +0100
committerHans de Graaff <graaff@gentoo.org>2016-12-26 20:16:51 +0100
commite15fca00e4360cec0ee0a57cf75879a793bc02e9 (patch)
treeec5ed5b5d1e062a13cdf64fa6ac77cc65d8ce63a /eclass/ruby-utils.eclass
parentprofiles: add ruby_targets_ruby24 USE flag (diff)
downloadgentoo-e15fca00e4360cec0ee0a57cf75879a793bc02e9.tar.gz
gentoo-e15fca00e4360cec0ee0a57cf75879a793bc02e9.tar.bz2
gentoo-e15fca00e4360cec0ee0a57cf75879a793bc02e9.zip
ruby-ng.eclass, ruby-utils.eclass: Add ruby24 support
Diffstat (limited to 'eclass/ruby-utils.eclass')
-rw-r--r--eclass/ruby-utils.eclass6
1 files changed, 5 insertions, 1 deletions
diff --git a/eclass/ruby-utils.eclass b/eclass/ruby-utils.eclass
index 9e16d4ac9bc4..66ba5e86a534 100644
--- a/eclass/ruby-utils.eclass
+++ b/eclass/ruby-utils.eclass
@@ -31,7 +31,7 @@ if [[ ! ${_RUBY_UTILS} ]]; then
RUBY_TARGETS_PREFERENCE="ruby20 ruby19 "
# All other active ruby targets
-RUBY_TARGETS_PREFERENCE+="ruby21 ruby22 ruby23"
+RUBY_TARGETS_PREFERENCE+="ruby21 ruby22 ruby23 ruby24"
_ruby_implementation_depend() {
@@ -63,6 +63,10 @@ _ruby_implementation_depend() {
rubypn="dev-lang/ruby"
rubyslot=":2.3"
;;
+ ruby24)
+ rubypn="dev-lang/ruby"
+ rubyslot=":2.4"
+ ;;
ree18)
rubypn="dev-lang/ruby-enterprise"
rubyslot=":1.8"