summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorManuel Rüger <mrueg@gentoo.org>2016-08-29 03:10:29 +0200
committerManuel Rüger <mrueg@gentoo.org>2016-08-29 03:10:29 +0200
commit9b5c0355e160197c5e1c081efa24019593aacdc1 (patch)
tree22628993125a85bd869d0d9f6bc6f81f75d1a830 /dev-ruby/priorityqueue/priorityqueue-0.1.2.ebuild
parentdev-ruby/will_paginate: Add ruby22 (diff)
downloadgentoo-9b5c0355e160197c5e1c081efa24019593aacdc1.tar.gz
gentoo-9b5c0355e160197c5e1c081efa24019593aacdc1.tar.bz2
gentoo-9b5c0355e160197c5e1c081efa24019593aacdc1.zip
dev-ruby/priorityqueue: Add ruby22
Package-Manager: portage-2.3.0
Diffstat (limited to 'dev-ruby/priorityqueue/priorityqueue-0.1.2.ebuild')
-rw-r--r--dev-ruby/priorityqueue/priorityqueue-0.1.2.ebuild4
1 files changed, 2 insertions, 2 deletions
diff --git a/dev-ruby/priorityqueue/priorityqueue-0.1.2.ebuild b/dev-ruby/priorityqueue/priorityqueue-0.1.2.ebuild
index 44ed504808c5..e1bf5c8f9692 100644
--- a/dev-ruby/priorityqueue/priorityqueue-0.1.2.ebuild
+++ b/dev-ruby/priorityqueue/priorityqueue-0.1.2.ebuild
@@ -4,8 +4,7 @@
EAPI=5
-# ruby22 -> uses obsolete Config module
-USE_RUBY="ruby20 ruby21"
+USE_RUBY="ruby20 ruby21 ruby22"
RUBY_FAKEGEM_DOCDIR="doc"
RUBY_FAKEGEM_TASK_DOC=""
@@ -24,6 +23,7 @@ IUSE=""
all_ruby_prepare() {
rm Makefile *.o *.so || die
+ sed -i -e "s/::Config/RbConfig/" setup.rb || die
}
each_ruby_configure() {