diff options
-rw-r--r-- | dev-ruby/charlock_holmes/charlock_holmes-0.7.9.ebuild | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/dev-ruby/charlock_holmes/charlock_holmes-0.7.9.ebuild b/dev-ruby/charlock_holmes/charlock_holmes-0.7.9.ebuild index 1ea635299af7..d690dd50f5c7 100644 --- a/dev-ruby/charlock_holmes/charlock_holmes-0.7.9.ebuild +++ b/dev-ruby/charlock_holmes/charlock_holmes-0.7.9.ebuild @@ -36,6 +36,10 @@ all_ruby_prepare() { # Avoid dependency on rake-compiler sed -i -e '/rake-compiler/,$ s:^:#:' Rakefile || die + # Avoid using `which`, and we know make exists. + sed -e '/which make/,/^end/ s:^:#:' \ + -i ext/charlock_holmes/extconf.rb || die + sed -e 's/git ls-files/find/' -i ${RUBY_FAKEGEM_GEMSPEC} || die } |