summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-ruby/ffi/ffi-1.9.6-r2.ebuild')
-rw-r--r--dev-ruby/ffi/ffi-1.9.6-r2.ebuild4
1 files changed, 3 insertions, 1 deletions
diff --git a/dev-ruby/ffi/ffi-1.9.6-r2.ebuild b/dev-ruby/ffi/ffi-1.9.6-r2.ebuild
index 974de39e6fd0..70bd141ed0a0 100644
--- a/dev-ruby/ffi/ffi-1.9.6-r2.ebuild
+++ b/dev-ruby/ffi/ffi-1.9.6-r2.ebuild
@@ -5,7 +5,7 @@ EAPI=5
# jruby → unneeded, this is part of the standard JRuby distribution, and
# would just install a dummy.
-USE_RUBY="ruby20 ruby21 ruby22"
+USE_RUBY="ruby22"
RUBY_FAKEGEM_RECIPE_TEST="rspec"
@@ -28,6 +28,8 @@ KEYWORDS="alpha amd64 arm hppa ia64 ppc ppc64 ~sparc x86 ~amd64-linux ~x86-linux
RDEPEND+=" virtual/libffi"
DEPEND+=" virtual/libffi"
+ruby_add_bdepend "dev-ruby/rake"
+
all_ruby_prepare() {
sed -i -e '/tasks/ s:^:#:' \
-e '/Gem::Tasks/,/end/ s:^:#:' Rakefile || die