mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-07-30 22:48:07 -07:00
dev-ruby/charlock_holmes: avoid calling which
Closes: https://bugs.gentoo.org/940712 Signed-off-by: Hans de Graaff <graaff@gentoo.org>
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user