commit: d4309cc6c3b0f3fcb47e4591316f124bb556e278
Author: Fabian Groffen <grobian <AT> gentoo <DOT> org>
AuthorDate: Wed Jan 30 10:54:08 2019 +0000
Commit: Fabian Groffen <grobian <AT> gentoo <DOT> org>
CommitDate: Wed Jan 30 10:54:27 2019 +0000
URL: https://gitweb.gentoo.org/repo/proj/prefix.git/commit/?id=d4309cc6
sys-devel/gcc: fix 8.2.0 for Darwin9
Package-Manager: Portage-2.3.55.1-prefix, Repoman-2.3.12
RepoMan-Options: --force
Signed-off-by: Fabian Groffen <grobian <AT> gentoo.org>
sys-devel/gcc/gcc-8.2.0-r5.ebuild | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)
diff --git a/sys-devel/gcc/gcc-8.2.0-r5.ebuild
b/sys-devel/gcc/gcc-8.2.0-r5.ebuild
index abd05ff697..ad49175f0e 100644
--- a/sys-devel/gcc/gcc-8.2.0-r5.ebuild
+++ b/sys-devel/gcc/gcc-8.2.0-r5.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Authors
+# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI="5"
@@ -38,6 +38,12 @@ src_prepare() {
# make it have correct install_names on Darwin
epatch "${FILESDIR}"/4.3.3/darwin-libgcc_s-installname.patch
+
+ if [[ ${CHOST} == powerpc*-darwin* ]] ; then
+ # https://gcc.gnu.org/bugzilla/show_bug.cgi?id=44107
+ sed -i -e 's|^ifeq (/usr/lib,|ifneq (/usr/lib,|' \
+ libgcc/config/t-slibgcc-darwin || die
+ fi
}
src_configure() {