diff options
author | Hans de Graaff <graaff@gentoo.org> | 2019-05-30 19:44:34 +0200 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2019-05-30 20:03:59 +0200 |
commit | e0a3779203bc3de56a9f56dd32dd955e3ec46243 (patch) | |
tree | 6a05c8af301db71a5cabfcf95ac97f8ce94cbb79 /dev-ruby/sassc | |
parent | net-wireless/kismet: stabilize new new kismet (diff) | |
download | gentoo-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
Diffstat (limited to 'dev-ruby/sassc')
-rw-r--r-- | dev-ruby/sassc/sassc-2.0.1-r1.ebuild | 4 |
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() { |