summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2017-10-07 07:59:41 +0200
committerHans de Graaff <graaff@gentoo.org>2017-10-07 07:59:41 +0200
commit5da908665d5f186f6a3ff452a3f4dfc1fc8308d3 (patch)
treeeb8dca9ca47dfdb6b637968139d4549eebedff19 /dev-ruby/ffi/ffi-1.9.6-r2.ebuild
parentwww-apps/nanoc: add 4.8.9 (diff)
downloadgentoo-5da908665d5f186f6a3ff452a3f4dfc1fc8308d3.tar.gz
gentoo-5da908665d5f186f6a3ff452a3f4dfc1fc8308d3.tar.bz2
gentoo-5da908665d5f186f6a3ff452a3f4dfc1fc8308d3.zip
dev-ruby/ffi: add missing dependency on rake, bug 633592
Package-Manager: Portage-2.3.8, Repoman-2.3.3
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