summaryrefslogtreecommitdiff
path: root/dev-lang/ruby/ruby-2.7.5.ebuild
diff options
context:
space:
mode:
Diffstat (limited to 'dev-lang/ruby/ruby-2.7.5.ebuild')
-rw-r--r--dev-lang/ruby/ruby-2.7.5.ebuild7
1 files changed, 6 insertions, 1 deletions
diff --git a/dev-lang/ruby/ruby-2.7.5.ebuild b/dev-lang/ruby/ruby-2.7.5.ebuild
index 78beb636d7bc..51384cae5e3b 100644
--- a/dev-lang/ruby/ruby-2.7.5.ebuild
+++ b/dev-lang/ruby/ruby-2.7.5.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@@ -99,6 +99,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 '/MAC_OS_X_VERSION_MIN_REQUIRED/_DISABLED_/' \
+ random.c || die
fi
fi