summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2018-02-16 11:30:42 +0100
committerHans de Graaff <graaff@gentoo.org>2018-02-16 11:31:28 +0100
commitf66f29d73b311a8356ccb1cec979bec1f1c911d4 (patch)
treed88a8ec312f09afcbc2f22fa57d43d220d4b0453
parented16cc395de8f8d21f310d2f2792f8e82f9c2694 (diff)
downloadgentoo-f66f29d73b311a8356ccb1cec979bec1f1c911d4.tar.gz
gentoo-f66f29d73b311a8356ccb1cec979bec1f1c911d4.tar.xz
dev-ruby/bcrypt_pbkdf: fix build without rake-compiler
Fix the build and tests without rake-compiler being installed. Closes: https://bugs.gentoo.org/647332 Package-Manager: Portage-2.3.19, Repoman-2.3.6
-rw-r--r--dev-ruby/bcrypt_pbkdf/bcrypt_pbkdf-1.0.0.ebuild3
1 files changed, 3 insertions, 0 deletions
diff --git a/dev-ruby/bcrypt_pbkdf/bcrypt_pbkdf-1.0.0.ebuild b/dev-ruby/bcrypt_pbkdf/bcrypt_pbkdf-1.0.0.ebuild
index 5d9024bf53c..b3e55e0505d 100644
--- a/dev-ruby/bcrypt_pbkdf/bcrypt_pbkdf-1.0.0.ebuild
+++ b/dev-ruby/bcrypt_pbkdf/bcrypt_pbkdf-1.0.0.ebuild
@@ -23,6 +23,9 @@ ruby_add_bdepend "test? ( dev-ruby/rbnacl )"
all_ruby_prepare() {
# Don't use a ruby-bundled version of libsodium
sed -i -e '/rbnacl\/libsodium/ s:^:#:' test/bcrypt_pnkdf/engine_test.rb || die
+
+ # Avoid unneeded rake-compiler dependency
+ sed -i -e '/extensiontask/ s:^:#:' -e '/ExtensionTask/,/^end/ s:^:#:' Rakefile || die
}
each_ruby_configure() {