summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFabian Groffen <grobian@gentoo.org>2021-01-05 13:54:35 +0100
committerFabian Groffen <grobian@gentoo.org>2021-01-05 13:54:35 +0100
commitb9c2d328a423d5465ddef28ca1ae8c8c4f5f18c0 (patch)
treedc98dfb3caac24c61b17c628596b0e6fb07f4bc9 /profiles/prefix
parentprofiles/prefix/darwin: drop sys-libs/csu from @system (diff)
downloadgentoo-b9c2d328a423d5465ddef28ca1ae8c8c4f5f18c0.tar.gz
gentoo-b9c2d328a423d5465ddef28ca1ae8c8c4f5f18c0.tar.bz2
gentoo-b9c2d328a423d5465ddef28ca1ae8c8c4f5f18c0.zip
profiles/prefix/darwin/macos: migrate 10.5/ppc to generic gcc feature
- add fsf-gcc-ld64 feature (to replace fsf-gcc-nold) - make 10.5/pcc include fsf-gcc-ld64 - add dummy 10.5/ppc/gcc for consistency with other gcc-based profiles Signed-off-by: Fabian Groffen <grobian@gentoo.org>
Diffstat (limited to 'profiles/prefix')
-rw-r--r--profiles/prefix/darwin/macos/10.5/ppc/gcc/eapi1
-rw-r--r--profiles/prefix/darwin/macos/10.5/ppc/gcc/parent1
-rw-r--r--profiles/prefix/darwin/macos/10.5/ppc/package.unmask2
-rw-r--r--profiles/prefix/darwin/macos/10.5/ppc/parent1
-rw-r--r--profiles/prefix/darwin/macos/arch/ppc/package.mask1
-rw-r--r--profiles/prefix/darwin/macos/features/fsf-gcc-ld64/package.mask6
-rw-r--r--profiles/prefix/darwin/macos/features/fsf-gcc-ld64/package.use.mask11
-rw-r--r--profiles/prefix/darwin/macos/features/fsf-gcc-ld64/packages (renamed from profiles/prefix/darwin/macos/10.5/ppc/packages)6
8 files changed, 23 insertions, 6 deletions
diff --git a/profiles/prefix/darwin/macos/10.5/ppc/gcc/eapi b/profiles/prefix/darwin/macos/10.5/ppc/gcc/eapi
new file mode 100644
index 000000000000..7ed6ff82de6b
--- /dev/null
+++ b/profiles/prefix/darwin/macos/10.5/ppc/gcc/eapi
@@ -0,0 +1 @@
+5
diff --git a/profiles/prefix/darwin/macos/10.5/ppc/gcc/parent b/profiles/prefix/darwin/macos/10.5/ppc/gcc/parent
new file mode 100644
index 000000000000..f3229c5b9876
--- /dev/null
+++ b/profiles/prefix/darwin/macos/10.5/ppc/gcc/parent
@@ -0,0 +1 @@
+..
diff --git a/profiles/prefix/darwin/macos/10.5/ppc/package.unmask b/profiles/prefix/darwin/macos/10.5/ppc/package.unmask
deleted file mode 100644
index 320a6bbb1a0c..000000000000
--- a/profiles/prefix/darwin/macos/10.5/ppc/package.unmask
+++ /dev/null
@@ -1,2 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
diff --git a/profiles/prefix/darwin/macos/10.5/ppc/parent b/profiles/prefix/darwin/macos/10.5/ppc/parent
index 59ddeb924a6d..504ae43340f4 100644
--- a/profiles/prefix/darwin/macos/10.5/ppc/parent
+++ b/profiles/prefix/darwin/macos/10.5/ppc/parent
@@ -1,2 +1,3 @@
..
+../../features/fsf-gcc-ld64
../../arch/ppc
diff --git a/profiles/prefix/darwin/macos/arch/ppc/package.mask b/profiles/prefix/darwin/macos/arch/ppc/package.mask
index fd829701ef56..23098222ed90 100644
--- a/profiles/prefix/darwin/macos/arch/ppc/package.mask
+++ b/profiles/prefix/darwin/macos/arch/ppc/package.mask
@@ -12,4 +12,3 @@
# version 8.2.1 are unmasked for us, allowing a non-gcc-apple path, we
# dropped all versions inbetween, mask the incompatible ones remaining
=sys-devel/binutils-apple-8.2.1-r1
-=sys-devel/binutils-apple-11.3.1-r1
diff --git a/profiles/prefix/darwin/macos/features/fsf-gcc-ld64/package.mask b/profiles/prefix/darwin/macos/features/fsf-gcc-ld64/package.mask
new file mode 100644
index 000000000000..913b4a72b20a
--- /dev/null
+++ b/profiles/prefix/darwin/macos/features/fsf-gcc-ld64/package.mask
@@ -0,0 +1,6 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+# packages which link to framework and therefore fail (blocks)
+dev-util/pkgconfig
+=sys-devel/binutils-apple-11.3.1-r1
diff --git a/profiles/prefix/darwin/macos/features/fsf-gcc-ld64/package.use.mask b/profiles/prefix/darwin/macos/features/fsf-gcc-ld64/package.use.mask
new file mode 100644
index 000000000000..9c5970c451af
--- /dev/null
+++ b/profiles/prefix/darwin/macos/features/fsf-gcc-ld64/package.use.mask
@@ -0,0 +1,11 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+# Ulrich Müller <ulm@gentoo.org> (2020-11-29)
+# GCC's Objective-C compiler fails to build the Aqua/Cocoa interface.
+# Bug #757300
+app-editors/emacs aqua
+
+# Cocoa integration requires frameworks, and this is a bridge too far
+# for current FSF GCC
+x11-libs/cairo aqua
diff --git a/profiles/prefix/darwin/macos/10.5/ppc/packages b/profiles/prefix/darwin/macos/features/fsf-gcc-ld64/packages
index 6d26e5615614..3fb8f4bcf792 100644
--- a/profiles/prefix/darwin/macos/10.5/ppc/packages
+++ b/profiles/prefix/darwin/macos/features/fsf-gcc-ld64/packages
@@ -1,8 +1,8 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-# Mac OS X Leopard/PPC uses FSF gcc and gcc-apple (not Clang)
+# usage of FSF GCC, disabling Clang
*sys-devel/gcc
*sys-devel/gcc-config
-*sys-devel/clang
-*sys-devel/gcc-apple
+-*sys-devel/gcc-apple