commit:     8f7e51ac48ff0e96d8631207263d31e36a6c8c16
Author:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
AuthorDate: Mon Dec 28 09:21:47 2020 +0000
Commit:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
CommitDate: Mon Dec 28 09:21:54 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8f7e51ac

dev-ruby/racc: avoid dep on bundler

bundler is a PDEPEND of dev-lang/ruby, but so it racc, so just avoid
this dependency to make bootstrapping easier.

Closes: https://bugs.gentoo.org/762181
Package-Manager: Portage-3.0.9, Repoman-3.0.2
Signed-off-by: Hans de Graaff <graaff <AT> gentoo.org>

 dev-ruby/racc/racc-1.5.2.ebuild | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/dev-ruby/racc/racc-1.5.2.ebuild b/dev-ruby/racc/racc-1.5.2.ebuild
index b7494318c8d..4460880e8ea 100644
--- a/dev-ruby/racc/racc-1.5.2.ebuild
+++ b/dev-ruby/racc/racc-1.5.2.ebuild
@@ -40,6 +40,9 @@ all_ruby_prepare() {
        # Avoid isolation since dependencies are not properly declared.
        sed -i -e 's/, :isolate//' Rakefile || die
 
+       # Avoid bundler dependency to make bootstrapping easier
+       sed -i -e '/bundler/ s:^:#:' Rakefile || die
+
        sed -i -e 's:_relative ": "./:' ${RUBY_FAKEGEM_GEMSPEC} || die
 }
 

Reply via email to