summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-lang/ruby/ruby-3.0.6-r2.ebuild')
-rw-r--r--dev-lang/ruby/ruby-3.0.6-r2.ebuild5
1 files changed, 5 insertions, 0 deletions
diff --git a/dev-lang/ruby/ruby-3.0.6-r2.ebuild b/dev-lang/ruby/ruby-3.0.6-r2.ebuild
index 33e65e2f3fd2..15a1c837c91e 100644
--- a/dev-lang/ruby/ruby-3.0.6-r2.ebuild
+++ b/dev-lang/ruby/ruby-3.0.6-r2.ebuild
@@ -100,6 +100,11 @@ src_prepare() {
sed -i \
-e "s/ac_cv_prog_ac_ct_AR='libtool/ac_cv_prog_AR='${CHOST}-libtool/" \
configure.ac || die
+
+ # disable using security framework (GCC barfs on those headers)
+ sed -i \
+ -e 's/MAC_OS_X_VERSION_MIN_REQUIRED/_DISABLED_/' \
+ random.c || die
fi
fi