dev-lang/ruby: put back darwin gcc buildfix for 3+

Signed-off-by: Fabian Groffen <grobian@gentoo.org>
This commit is contained in:
Fabian Groffen
2023-05-04 21:49:38 +02:00
parent fef111cb4e
commit b760cfb8d6
3 changed files with 15 additions and 0 deletions
+5
View File
@@ -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
+5
View File
@@ -105,6 +105,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
+5
View File
@@ -120,6 +120,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