Gentoo Archives: gentoo-commits

From: Fabian Groffen <grobian@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/proj/prefix:master commit in: sys-devel/gcc/
Date: Wed, 30 Jan 2019 10:54:37
Message-Id: 1548845667.d4309cc6c3b0f3fcb47e4591316f124bb556e278.grobian@gentoo
1 commit: d4309cc6c3b0f3fcb47e4591316f124bb556e278
2 Author: Fabian Groffen <grobian <AT> gentoo <DOT> org>
3 AuthorDate: Wed Jan 30 10:54:08 2019 +0000
4 Commit: Fabian Groffen <grobian <AT> gentoo <DOT> org>
5 CommitDate: Wed Jan 30 10:54:27 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/proj/prefix.git/commit/?id=d4309cc6
7
8 sys-devel/gcc: fix 8.2.0 for Darwin9
9
10 Package-Manager: Portage-2.3.55.1-prefix, Repoman-2.3.12
11 RepoMan-Options: --force
12 Signed-off-by: Fabian Groffen <grobian <AT> gentoo.org>
13
14 sys-devel/gcc/gcc-8.2.0-r5.ebuild | 8 +++++++-
15 1 file changed, 7 insertions(+), 1 deletion(-)
16
17 diff --git a/sys-devel/gcc/gcc-8.2.0-r5.ebuild b/sys-devel/gcc/gcc-8.2.0-r5.ebuild
18 index abd05ff697..ad49175f0e 100644
19 --- a/sys-devel/gcc/gcc-8.2.0-r5.ebuild
20 +++ b/sys-devel/gcc/gcc-8.2.0-r5.ebuild
21 @@ -1,4 +1,4 @@
22 -# Copyright 1999-2018 Gentoo Authors
23 +# Copyright 1999-2019 Gentoo Authors
24 # Distributed under the terms of the GNU General Public License v2
25
26 EAPI="5"
27 @@ -38,6 +38,12 @@ src_prepare() {
28
29 # make it have correct install_names on Darwin
30 epatch "${FILESDIR}"/4.3.3/darwin-libgcc_s-installname.patch
31 +
32 + if [[ ${CHOST} == powerpc*-darwin* ]] ; then
33 + # https://gcc.gnu.org/bugzilla/show_bug.cgi?id=44107
34 + sed -i -e 's|^ifeq (/usr/lib,|ifneq (/usr/lib,|' \
35 + libgcc/config/t-slibgcc-darwin || die
36 + fi
37 }
38
39 src_configure() {