From 1a0825eb29c079f7e8b10246aa1bdea5c6483cb9 Mon Sep 17 00:00:00 2001 From: Hans de Graaff Date: Mon, 20 Feb 2017 07:49:38 +0100 Subject: [PATCH] dev-ruby/slim: avoid dependency on git, bug 610026 Package-Manager: portage-2.3.3 --- dev-ruby/slim/slim-3.0.7-r1.ebuild | 3 +++ 1 file changed, 3 insertions(+) diff --git a/dev-ruby/slim/slim-3.0.7-r1.ebuild b/dev-ruby/slim/slim-3.0.7-r1.ebuild index a2770dc8e055d..0b8023db44d52 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() {