summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2019-05-30 19:44:34 +0200
committerHans de Graaff <graaff@gentoo.org>2019-05-30 20:03:59 +0200
commite0a3779203bc3de56a9f56dd32dd955e3ec46243 (patch)
tree6a05c8af301db71a5cabfcf95ac97f8ce94cbb79
parentnet-wireless/kismet: stabilize new new kismet (diff)
downloadgentoo-e0a3779203bc3de56a9f56dd32dd955e3ec46243.tar.gz
gentoo-e0a3779203bc3de56a9f56dd32dd955e3ec46243.tar.bz2
gentoo-e0a3779203bc3de56a9f56dd32dd955e3ec46243.zip
dev-ruby/sassc: fix build without git
Fixes: https://bugs.gentoo.org/686798 Signed-off-by: Hans de Graaff <graaff@gentoo.org> Package-Manager: Portage-2.3.66, Repoman-2.3.11
-rw-r--r--dev-ruby/sassc/sassc-2.0.1-r1.ebuild4
1 files changed, 4 insertions, 0 deletions
diff --git a/dev-ruby/sassc/sassc-2.0.1-r1.ebuild b/dev-ruby/sassc/sassc-2.0.1-r1.ebuild
index 611bf1b28e4e..5ed366f5d0cb 100644
--- a/dev-ruby/sassc/sassc-2.0.1-r1.ebuild
+++ b/dev-ruby/sassc/sassc-2.0.1-r1.ebuild
@@ -45,6 +45,10 @@ all_ruby_prepare() {
sed -i -e '/test_it_reports_the_libsass_version/,/end/ s:^:#:' test/native_test.rb || die
sed -i -e '/pry/ s:^:#:' test/test_helper.rb || die
+
+ sed -e 's/git ls-files -z/find . -print0/' \
+ -e '/gem_dir/,/^ end/ s:^:#:' \
+ -i ${RUBY_FAKEGEM_GEMSPEC} || die
}
each_ruby_test() {