mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 17:09:10 -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
|
# Avoid dependency on rake-compiler
|
||||||
sed -i -e '/rake-compiler/,$ s:^:#:' Rakefile || die
|
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
|
sed -e 's/git ls-files/find/' -i ${RUBY_FAKEGEM_GEMSPEC} || die
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user