summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2017-02-20 07:49:38 +0100
committerHans de Graaff <graaff@gentoo.org>2017-02-20 07:49:38 +0100
commit1a0825eb29c079f7e8b10246aa1bdea5c6483cb9 (patch)
tree31607b320f17cdeeea166d73b50d85bc47452801 /dev-ruby/slim
parentdev-ruby/ffaker: add 2.5.0 (diff)
downloadgentoo-1a0825eb29c079f7e8b10246aa1bdea5c6483cb9.tar.gz
gentoo-1a0825eb29c079f7e8b10246aa1bdea5c6483cb9.tar.bz2
gentoo-1a0825eb29c079f7e8b10246aa1bdea5c6483cb9.zip
dev-ruby/slim: avoid dependency on git, bug 610026
Package-Manager: portage-2.3.3
Diffstat (limited to 'dev-ruby/slim')
-rw-r--r--dev-ruby/slim/slim-3.0.7-r1.ebuild3
1 files changed, 3 insertions, 0 deletions
diff --git a/dev-ruby/slim/slim-3.0.7-r1.ebuild b/dev-ruby/slim/slim-3.0.7-r1.ebuild
index a2770dc8e055..0b8023db44d5 100644
--- a/dev-ruby/slim/slim-3.0.7-r1.ebuild
+++ b/dev-ruby/slim/slim-3.0.7-r1.ebuild
@@ -44,6 +44,9 @@ all_ruby_prepare() {
# Relax temple version check (already fixed upstream)
sed -i -e 's/0.7.6/0.7/' ${RUBY_FAKEGEM_GEMSPEC} || die
+
+ sed -i -e '/s\.files/ s/git ls-files/find . -type f -print/' \
+ -e '/s\.executables/ s:git ls-files -- bin/\*:find bin -type f -print:' ${RUBY_FAKEGEM_GEMSPEC} || die
}
each_ruby_prepare() {