diff options
author | Hans de Graaff <graaff@gentoo.org> | 2018-02-16 11:30:42 +0100 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2018-02-16 11:31:28 +0100 |
commit | f66f29d73b311a8356ccb1cec979bec1f1c911d4 (patch) | |
tree | d88a8ec312f09afcbc2f22fa57d43d220d4b0453 /dev-ruby/bcrypt_pbkdf | |
parent | sci-geosciences/merkaartor: Switch to xdg-utils (diff) | |
download | gentoo-f66f29d73b311a8356ccb1cec979bec1f1c911d4.tar.gz gentoo-f66f29d73b311a8356ccb1cec979bec1f1c911d4.tar.bz2 gentoo-f66f29d73b311a8356ccb1cec979bec1f1c911d4.zip |
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
Diffstat (limited to 'dev-ruby/bcrypt_pbkdf')
-rw-r--r-- | dev-ruby/bcrypt_pbkdf/bcrypt_pbkdf-1.0.0.ebuild | 3 |
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 5d9024bf53cb..b3e55e0505d1 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() { |