commit:     d135cb14f4ad944e9d6fcb76f59efb37391fa68e
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Mon Dec 30 21:47:11 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Mon Dec 30 21:47:11 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d135cb14

dev-ruby/prism: fix build w/o rdoc

Delete rakelib/rdoc.rake as rake imports all rakelib/* unconditionally.

Closes: https://bugs.gentoo.org/947054
Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-ruby/prism/prism-1.3.0.ebuild | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/dev-ruby/prism/prism-1.3.0.ebuild 
b/dev-ruby/prism/prism-1.3.0.ebuild
index 01a67cbb765e..c89f17965fb7 100644
--- a/dev-ruby/prism/prism-1.3.0.ebuild
+++ b/dev-ruby/prism/prism-1.3.0.ebuild
@@ -28,5 +28,7 @@ all_ruby_prepare() {
 }
 
 each_ruby_prepare() {
+       # rake imports all rakelib/* (bug #947054)
+       rm rakelib/rdoc.rake || die
        ${RUBY} -S rake templates || die
 }

Reply via email to