dev-ruby/warden: avoid git dependency
authorHans de Graaff <graaff@gentoo.org>
Tue, 9 Jul 2019 17:09:41 +0000 (19:09 +0200)
committerHans de Graaff <graaff@gentoo.org>
Tue, 9 Jul 2019 17:09:41 +0000 (19:09 +0200)
Fixes: https://bugs.gentoo.org/689546
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Package-Manager: Portage-2.3.66, Repoman-2.3.11

dev-ruby/warden/warden-1.2.8.ebuild

index 1cf6a161c4e450db40810ee84717513c69326518..79deefe54f091b9068b68b6936fd632cb3374944 100644 (file)
@@ -23,3 +23,7 @@ SLOT="0"
 IUSE=""
 
 ruby_add_rdepend ">=dev-ruby/rack-2.0.6:*"
+
+all_ruby_prepare() {
+       sed -i -e 's/git ls-files -z/find . -print0/' ${RUBY_FAKEGEM_GEMSPEC} || die
+}