summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-lang/ruby/ruby-2.7.4.ebuild')
-rw-r--r--dev-lang/ruby/ruby-2.7.4.ebuild4
1 files changed, 4 insertions, 0 deletions
diff --git a/dev-lang/ruby/ruby-2.7.4.ebuild b/dev-lang/ruby/ruby-2.7.4.ebuild
index 41cea1ac56a..91fa086e55c 100644
--- a/dev-lang/ruby/ruby-2.7.4.ebuild
+++ b/dev-lang/ruby/ruby-2.7.4.ebuild
@@ -65,6 +65,10 @@ PDEPEND="
src_prepare() {
eapply "${FILESDIR}"/2.7/{003,010}*.patch
+ if use elibc_musl ; then
+ eapply "${FILESDIR}"/2.7/{900,901}-musl-*.patch
+ fi
+
# Reset time on patched gem_prelude.rb to avoid the need for a base
# ruby during bootstrapping, bug 787137
touch -t 202001010000 gem_prelude.rb || die