summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2015-08-08 13:49:04 -0700
committerRobin H. Johnson <robbat2@gentoo.org>2015-08-08 17:38:18 -0700
commit56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch)
tree3f91093cdb475e565ae857f1c5a7fd339e2d781e /profiles/prefix/darwin/macos
downloadgentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz
gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.bz2
gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.zip
proj/gentoo: Initial commit
This commit represents a new era for Gentoo: Storing the gentoo-x86 tree in Git, as converted from CVS. This commit is the start of the NEW history. Any historical data is intended to be grafted onto this point. Creation process: 1. Take final CVS checkout snapshot 2. Remove ALL ChangeLog* files 3. Transform all Manifests to thin 4. Remove empty Manifests 5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$ 5.1. Do not touch files with -kb/-ko keyword flags. Signed-off-by: Robin H. Johnson <robbat2@gentoo.org> X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'profiles/prefix/darwin/macos')
-rw-r--r--profiles/prefix/darwin/macos/10.10/eapi1
-rw-r--r--profiles/prefix/darwin/macos/10.10/make.defaults9
-rw-r--r--profiles/prefix/darwin/macos/10.10/package.mask8
-rw-r--r--profiles/prefix/darwin/macos/10.10/package.provided5
-rw-r--r--profiles/prefix/darwin/macos/10.10/package.unmask8
-rw-r--r--profiles/prefix/darwin/macos/10.10/package.use.mask8
-rw-r--r--profiles/prefix/darwin/macos/10.10/parent1
-rw-r--r--profiles/prefix/darwin/macos/10.10/profile.bashrc5
-rw-r--r--profiles/prefix/darwin/macos/10.10/x64/eapi1
-rw-r--r--profiles/prefix/darwin/macos/10.10/x64/make.defaults13
-rw-r--r--profiles/prefix/darwin/macos/10.10/x64/package.mask3
-rw-r--r--profiles/prefix/darwin/macos/10.10/x64/package.use.force7
-rw-r--r--profiles/prefix/darwin/macos/10.10/x64/package.use.mask5
-rw-r--r--profiles/prefix/darwin/macos/10.10/x64/parent2
-rw-r--r--profiles/prefix/darwin/macos/10.10/x64/use.mask59
-rw-r--r--profiles/prefix/darwin/macos/10.10/x86/eapi1
-rw-r--r--profiles/prefix/darwin/macos/10.10/x86/make.defaults13
-rw-r--r--profiles/prefix/darwin/macos/10.10/x86/package.mask10
-rw-r--r--profiles/prefix/darwin/macos/10.10/x86/package.use.force7
-rw-r--r--profiles/prefix/darwin/macos/10.10/x86/package.use.mask5
-rw-r--r--profiles/prefix/darwin/macos/10.10/x86/parent2
-rw-r--r--profiles/prefix/darwin/macos/10.10/x86/use.mask59
-rw-r--r--profiles/prefix/darwin/macos/10.4/eapi1
-rw-r--r--profiles/prefix/darwin/macos/10.4/make.defaults5
-rw-r--r--profiles/prefix/darwin/macos/10.4/package.mask21
-rw-r--r--profiles/prefix/darwin/macos/10.4/package.provided5
-rw-r--r--profiles/prefix/darwin/macos/10.4/package.use.mask13
-rw-r--r--profiles/prefix/darwin/macos/10.4/parent1
-rw-r--r--profiles/prefix/darwin/macos/10.4/ppc/eapi1
-rw-r--r--profiles/prefix/darwin/macos/10.4/ppc/make.defaults7
-rw-r--r--profiles/prefix/darwin/macos/10.4/ppc/package.mask4
-rw-r--r--profiles/prefix/darwin/macos/10.4/ppc/package.use.mask4
-rw-r--r--profiles/prefix/darwin/macos/10.4/ppc/parent2
-rw-r--r--profiles/prefix/darwin/macos/10.4/ppc/use.mask5
-rw-r--r--profiles/prefix/darwin/macos/10.4/ppc64/eapi1
-rw-r--r--profiles/prefix/darwin/macos/10.4/ppc64/make.defaults7
-rw-r--r--profiles/prefix/darwin/macos/10.4/ppc64/package.mask3
-rw-r--r--profiles/prefix/darwin/macos/10.4/ppc64/package.use.mask4
-rw-r--r--profiles/prefix/darwin/macos/10.4/ppc64/parent2
-rw-r--r--profiles/prefix/darwin/macos/10.4/ppc64/use.mask5
-rw-r--r--profiles/prefix/darwin/macos/10.4/profile.bashrc5
-rw-r--r--profiles/prefix/darwin/macos/10.4/x86/eapi1
-rw-r--r--profiles/prefix/darwin/macos/10.4/x86/make.defaults13
-rw-r--r--profiles/prefix/darwin/macos/10.4/x86/package.unmask7
-rw-r--r--profiles/prefix/darwin/macos/10.4/x86/package.use.force7
-rw-r--r--profiles/prefix/darwin/macos/10.4/x86/package.use.mask5
-rw-r--r--profiles/prefix/darwin/macos/10.4/x86/parent2
-rw-r--r--profiles/prefix/darwin/macos/10.4/x86/use.mask59
-rw-r--r--profiles/prefix/darwin/macos/10.5/eapi1
-rw-r--r--profiles/prefix/darwin/macos/10.5/make.defaults9
-rw-r--r--profiles/prefix/darwin/macos/10.5/package.mask13
-rw-r--r--profiles/prefix/darwin/macos/10.5/package.provided5
-rw-r--r--profiles/prefix/darwin/macos/10.5/package.use.mask13
-rw-r--r--profiles/prefix/darwin/macos/10.5/parent1
-rw-r--r--profiles/prefix/darwin/macos/10.5/ppc/eapi1
-rw-r--r--profiles/prefix/darwin/macos/10.5/ppc/make.defaults7
-rw-r--r--profiles/prefix/darwin/macos/10.5/ppc/package.mask3
-rw-r--r--profiles/prefix/darwin/macos/10.5/ppc/package.unmask7
-rw-r--r--profiles/prefix/darwin/macos/10.5/ppc/package.use.force7
-rw-r--r--profiles/prefix/darwin/macos/10.5/ppc/package.use.mask9
-rw-r--r--profiles/prefix/darwin/macos/10.5/ppc/parent2
-rw-r--r--profiles/prefix/darwin/macos/10.5/ppc/use.mask5
-rw-r--r--profiles/prefix/darwin/macos/10.5/ppc64/eapi1
-rw-r--r--profiles/prefix/darwin/macos/10.5/ppc64/make.defaults7
-rw-r--r--profiles/prefix/darwin/macos/10.5/ppc64/package.mask3
-rw-r--r--profiles/prefix/darwin/macos/10.5/ppc64/package.use.mask4
-rw-r--r--profiles/prefix/darwin/macos/10.5/ppc64/parent2
-rw-r--r--profiles/prefix/darwin/macos/10.5/ppc64/use.mask5
-rw-r--r--profiles/prefix/darwin/macos/10.5/profile.bashrc5
-rw-r--r--profiles/prefix/darwin/macos/10.5/x64/eapi1
-rw-r--r--profiles/prefix/darwin/macos/10.5/x64/make.defaults13
-rw-r--r--profiles/prefix/darwin/macos/10.5/x64/package.mask7
-rw-r--r--profiles/prefix/darwin/macos/10.5/x64/package.unmask4
-rw-r--r--profiles/prefix/darwin/macos/10.5/x64/package.use.force7
-rw-r--r--profiles/prefix/darwin/macos/10.5/x64/package.use.mask5
-rw-r--r--profiles/prefix/darwin/macos/10.5/x64/parent2
-rw-r--r--profiles/prefix/darwin/macos/10.5/x64/use.mask59
-rw-r--r--profiles/prefix/darwin/macos/10.5/x86/eapi1
-rw-r--r--profiles/prefix/darwin/macos/10.5/x86/make.defaults13
-rw-r--r--profiles/prefix/darwin/macos/10.5/x86/package.mask3
-rw-r--r--profiles/prefix/darwin/macos/10.5/x86/package.unmask4
-rw-r--r--profiles/prefix/darwin/macos/10.5/x86/package.use.force7
-rw-r--r--profiles/prefix/darwin/macos/10.5/x86/package.use.mask5
-rw-r--r--profiles/prefix/darwin/macos/10.5/x86/parent2
-rw-r--r--profiles/prefix/darwin/macos/10.5/x86/use.mask59
-rw-r--r--profiles/prefix/darwin/macos/10.6/eapi1
-rw-r--r--profiles/prefix/darwin/macos/10.6/make.defaults9
-rw-r--r--profiles/prefix/darwin/macos/10.6/package.provided5
-rw-r--r--profiles/prefix/darwin/macos/10.6/package.use.mask8
-rw-r--r--profiles/prefix/darwin/macos/10.6/parent1
-rw-r--r--profiles/prefix/darwin/macos/10.6/profile.bashrc5
-rw-r--r--profiles/prefix/darwin/macos/10.6/x64/eapi1
-rw-r--r--profiles/prefix/darwin/macos/10.6/x64/make.defaults13
-rw-r--r--profiles/prefix/darwin/macos/10.6/x64/package.mask3
-rw-r--r--profiles/prefix/darwin/macos/10.6/x64/package.use.force7
-rw-r--r--profiles/prefix/darwin/macos/10.6/x64/package.use.mask5
-rw-r--r--profiles/prefix/darwin/macos/10.6/x64/parent2
-rw-r--r--profiles/prefix/darwin/macos/10.6/x64/use.mask59
-rw-r--r--profiles/prefix/darwin/macos/10.6/x86/eapi1
-rw-r--r--profiles/prefix/darwin/macos/10.6/x86/make.defaults13
-rw-r--r--profiles/prefix/darwin/macos/10.6/x86/package.mask4
-rw-r--r--profiles/prefix/darwin/macos/10.6/x86/package.use.force7
-rw-r--r--profiles/prefix/darwin/macos/10.6/x86/package.use.mask5
-rw-r--r--profiles/prefix/darwin/macos/10.6/x86/parent2
-rw-r--r--profiles/prefix/darwin/macos/10.6/x86/use.mask59
-rw-r--r--profiles/prefix/darwin/macos/10.7/eapi1
-rw-r--r--profiles/prefix/darwin/macos/10.7/make.defaults9
-rw-r--r--profiles/prefix/darwin/macos/10.7/package.provided5
-rw-r--r--profiles/prefix/darwin/macos/10.7/package.use.mask8
-rw-r--r--profiles/prefix/darwin/macos/10.7/parent1
-rw-r--r--profiles/prefix/darwin/macos/10.7/profile.bashrc5
-rw-r--r--profiles/prefix/darwin/macos/10.7/x64/eapi1
-rw-r--r--profiles/prefix/darwin/macos/10.7/x64/make.defaults13
-rw-r--r--profiles/prefix/darwin/macos/10.7/x64/package.mask3
-rw-r--r--profiles/prefix/darwin/macos/10.7/x64/package.use.force7
-rw-r--r--profiles/prefix/darwin/macos/10.7/x64/package.use.mask5
-rw-r--r--profiles/prefix/darwin/macos/10.7/x64/parent2
-rw-r--r--profiles/prefix/darwin/macos/10.7/x64/use.mask59
-rw-r--r--profiles/prefix/darwin/macos/10.7/x86/eapi1
-rw-r--r--profiles/prefix/darwin/macos/10.7/x86/make.defaults13
-rw-r--r--profiles/prefix/darwin/macos/10.7/x86/package.mask10
-rw-r--r--profiles/prefix/darwin/macos/10.7/x86/package.use.force7
-rw-r--r--profiles/prefix/darwin/macos/10.7/x86/package.use.mask5
-rw-r--r--profiles/prefix/darwin/macos/10.7/x86/parent2
-rw-r--r--profiles/prefix/darwin/macos/10.7/x86/use.mask59
-rw-r--r--profiles/prefix/darwin/macos/10.8/eapi1
-rw-r--r--profiles/prefix/darwin/macos/10.8/make.defaults9
-rw-r--r--profiles/prefix/darwin/macos/10.8/package.mask8
-rw-r--r--profiles/prefix/darwin/macos/10.8/package.provided5
-rw-r--r--profiles/prefix/darwin/macos/10.8/package.unmask8
-rw-r--r--profiles/prefix/darwin/macos/10.8/package.use.mask8
-rw-r--r--profiles/prefix/darwin/macos/10.8/parent1
-rw-r--r--profiles/prefix/darwin/macos/10.8/profile.bashrc5
-rw-r--r--profiles/prefix/darwin/macos/10.8/x64/eapi1
-rw-r--r--profiles/prefix/darwin/macos/10.8/x64/make.defaults13
-rw-r--r--profiles/prefix/darwin/macos/10.8/x64/package.mask3
-rw-r--r--profiles/prefix/darwin/macos/10.8/x64/package.use.force7
-rw-r--r--profiles/prefix/darwin/macos/10.8/x64/package.use.mask5
-rw-r--r--profiles/prefix/darwin/macos/10.8/x64/parent2
-rw-r--r--profiles/prefix/darwin/macos/10.8/x64/use.mask59
-rw-r--r--profiles/prefix/darwin/macos/10.8/x86/eapi1
-rw-r--r--profiles/prefix/darwin/macos/10.8/x86/make.defaults13
-rw-r--r--profiles/prefix/darwin/macos/10.8/x86/package.mask10
-rw-r--r--profiles/prefix/darwin/macos/10.8/x86/package.use.force7
-rw-r--r--profiles/prefix/darwin/macos/10.8/x86/package.use.mask5
-rw-r--r--profiles/prefix/darwin/macos/10.8/x86/parent2
-rw-r--r--profiles/prefix/darwin/macos/10.8/x86/use.mask59
-rw-r--r--profiles/prefix/darwin/macos/10.9/eapi1
-rw-r--r--profiles/prefix/darwin/macos/10.9/make.defaults9
-rw-r--r--profiles/prefix/darwin/macos/10.9/package.mask8
-rw-r--r--profiles/prefix/darwin/macos/10.9/package.provided5
-rw-r--r--profiles/prefix/darwin/macos/10.9/package.unmask8
-rw-r--r--profiles/prefix/darwin/macos/10.9/package.use.mask8
-rw-r--r--profiles/prefix/darwin/macos/10.9/parent1
-rw-r--r--profiles/prefix/darwin/macos/10.9/profile.bashrc5
-rw-r--r--profiles/prefix/darwin/macos/10.9/x64/eapi1
-rw-r--r--profiles/prefix/darwin/macos/10.9/x64/make.defaults13
-rw-r--r--profiles/prefix/darwin/macos/10.9/x64/package.mask3
-rw-r--r--profiles/prefix/darwin/macos/10.9/x64/package.use.force7
-rw-r--r--profiles/prefix/darwin/macos/10.9/x64/package.use.mask5
-rw-r--r--profiles/prefix/darwin/macos/10.9/x64/parent2
-rw-r--r--profiles/prefix/darwin/macos/10.9/x64/use.mask59
-rw-r--r--profiles/prefix/darwin/macos/10.9/x86/eapi1
-rw-r--r--profiles/prefix/darwin/macos/10.9/x86/make.defaults13
-rw-r--r--profiles/prefix/darwin/macos/10.9/x86/package.mask10
-rw-r--r--profiles/prefix/darwin/macos/10.9/x86/package.use.force7
-rw-r--r--profiles/prefix/darwin/macos/10.9/x86/package.use.mask5
-rw-r--r--profiles/prefix/darwin/macos/10.9/x86/parent2
-rw-r--r--profiles/prefix/darwin/macos/10.9/x86/use.mask59
-rw-r--r--profiles/prefix/darwin/macos/arch/eapi1
-rw-r--r--profiles/prefix/darwin/macos/arch/ppc/eapi1
-rw-r--r--profiles/prefix/darwin/macos/arch/ppc/make.defaults10
-rw-r--r--profiles/prefix/darwin/macos/arch/ppc/package.mask11
-rw-r--r--profiles/prefix/darwin/macos/arch/ppc/package.use.mask19
-rw-r--r--profiles/prefix/darwin/macos/arch/ppc/use.force6
-rw-r--r--profiles/prefix/darwin/macos/arch/ppc64/eapi1
-rw-r--r--profiles/prefix/darwin/macos/arch/ppc64/package.mask7
-rw-r--r--profiles/prefix/darwin/macos/arch/ppc64/package.use.mask7
-rw-r--r--profiles/prefix/darwin/macos/arch/ppc64/parent1
-rw-r--r--profiles/prefix/darwin/macos/arch/x64/eapi1
-rw-r--r--profiles/prefix/darwin/macos/arch/x64/make.defaults10
-rw-r--r--profiles/prefix/darwin/macos/arch/x64/package.mask13
-rw-r--r--profiles/prefix/darwin/macos/arch/x64/package.use.mask21
-rw-r--r--profiles/prefix/darwin/macos/arch/x64/parent1
-rw-r--r--profiles/prefix/darwin/macos/arch/x64/use.force6
-rw-r--r--profiles/prefix/darwin/macos/arch/x86/eapi1
-rw-r--r--profiles/prefix/darwin/macos/arch/x86/make.defaults10
-rw-r--r--profiles/prefix/darwin/macos/arch/x86/package.mask7
-rw-r--r--profiles/prefix/darwin/macos/arch/x86/package.use.force7
-rw-r--r--profiles/prefix/darwin/macos/arch/x86/package.use.mask22
-rw-r--r--profiles/prefix/darwin/macos/arch/x86/use.force6
-rw-r--r--profiles/prefix/darwin/macos/eapi1
-rw-r--r--profiles/prefix/darwin/macos/make.defaults9
-rw-r--r--profiles/prefix/darwin/macos/package.mask13
-rw-r--r--profiles/prefix/darwin/macos/package.use.force15
-rw-r--r--profiles/prefix/darwin/macos/package.use.mask27
-rw-r--r--profiles/prefix/darwin/macos/packages8
-rw-r--r--profiles/prefix/darwin/macos/parent1
198 files changed, 1857 insertions, 0 deletions
diff --git a/profiles/prefix/darwin/macos/10.10/eapi b/profiles/prefix/darwin/macos/10.10/eapi
new file mode 100644
index 000000000000..7ed6ff82de6b
--- /dev/null
+++ b/profiles/prefix/darwin/macos/10.10/eapi
@@ -0,0 +1 @@
+5
diff --git a/profiles/prefix/darwin/macos/10.10/make.defaults b/profiles/prefix/darwin/macos/10.10/make.defaults
new file mode 100644
index 000000000000..99d9bbc5d9d1
--- /dev/null
+++ b/profiles/prefix/darwin/macos/10.10/make.defaults
@@ -0,0 +1,9 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+MACOSX_DEPLOYMENT_TARGET="10.10"
+
+# sandbox is working with use of Mac OS X's seatbelt (since 10.5)
+# but it generates problems, #456234
+#FEATURES="sandbox"
diff --git a/profiles/prefix/darwin/macos/10.10/package.mask b/profiles/prefix/darwin/macos/10.10/package.mask
new file mode 100644
index 000000000000..e649fd040314
--- /dev/null
+++ b/profiles/prefix/darwin/macos/10.10/package.mask
@@ -0,0 +1,8 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+# Fabian Groffen <grobian@gentoo.org> (30 Sep 2012)
+# Requires XQuartz, since Apple dropped much of X-support in 10.8
+# (a.k.a. Mountain Lion), bug #431182
+<=media-libs/opengl-apple-4.9999
diff --git a/profiles/prefix/darwin/macos/10.10/package.provided b/profiles/prefix/darwin/macos/10.10/package.provided
new file mode 100644
index 000000000000..8c20fc3b250c
--- /dev/null
+++ b/profiles/prefix/darwin/macos/10.10/package.provided
@@ -0,0 +1,5 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+sys-darwin/libsystem-71
diff --git a/profiles/prefix/darwin/macos/10.10/package.unmask b/profiles/prefix/darwin/macos/10.10/package.unmask
new file mode 100644
index 000000000000..f43f77c72fa7
--- /dev/null
+++ b/profiles/prefix/darwin/macos/10.10/package.unmask
@@ -0,0 +1,8 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+# James Le Cuirot <chewi@gentoo.org> (29 Jul 2015)
+# Recent releases are supported in 10.10.
+dev-java/oracle-jdk-bin
+dev-java/oracle-jre-bin
diff --git a/profiles/prefix/darwin/macos/10.10/package.use.mask b/profiles/prefix/darwin/macos/10.10/package.use.mask
new file mode 100644
index 000000000000..c93cfa79bb42
--- /dev/null
+++ b/profiles/prefix/darwin/macos/10.10/package.use.mask
@@ -0,0 +1,8 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+# Fabian Groffen <grobian@gentoo.org> (10 Apr 2011)
+# as long as util-linux installs uuid.h which breaks the system headers
+# (hence we don't) we can't do uuid support here
+x11-libs/libSM -uuid
diff --git a/profiles/prefix/darwin/macos/10.10/parent b/profiles/prefix/darwin/macos/10.10/parent
new file mode 100644
index 000000000000..f3229c5b9876
--- /dev/null
+++ b/profiles/prefix/darwin/macos/10.10/parent
@@ -0,0 +1 @@
+..
diff --git a/profiles/prefix/darwin/macos/10.10/profile.bashrc b/profiles/prefix/darwin/macos/10.10/profile.bashrc
new file mode 100644
index 000000000000..2eeb05377d68
--- /dev/null
+++ b/profiles/prefix/darwin/macos/10.10/profile.bashrc
@@ -0,0 +1,5 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+export MACOSX_DEPLOYMENT_TARGET=10.10
diff --git a/profiles/prefix/darwin/macos/10.10/x64/eapi b/profiles/prefix/darwin/macos/10.10/x64/eapi
new file mode 100644
index 000000000000..7ed6ff82de6b
--- /dev/null
+++ b/profiles/prefix/darwin/macos/10.10/x64/eapi
@@ -0,0 +1 @@
+5
diff --git a/profiles/prefix/darwin/macos/10.10/x64/make.defaults b/profiles/prefix/darwin/macos/10.10/x64/make.defaults
new file mode 100644
index 000000000000..d91e8091f9ae
--- /dev/null
+++ b/profiles/prefix/darwin/macos/10.10/x64/make.defaults
@@ -0,0 +1,13 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+ARCH="x64-macos"
+CHOST="x86_64-apple-darwin14"
+ACCEPT_KEYWORDS="~x64-macos"
+
+USE="mmx mmxext sse sse2"
+CPU_FLAGS_X86="mmx mmxext sse sse2"
+# set arch to nocona for all MacTel users, as this enables SSE and MMX
+# support in GCC, nocona = Core2Duo = 64-bits
+CFLAGS="-march=nocona"
diff --git a/profiles/prefix/darwin/macos/10.10/x64/package.mask b/profiles/prefix/darwin/macos/10.10/x64/package.mask
new file mode 100644
index 000000000000..bc4612c59d12
--- /dev/null
+++ b/profiles/prefix/darwin/macos/10.10/x64/package.mask
@@ -0,0 +1,3 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
diff --git a/profiles/prefix/darwin/macos/10.10/x64/package.use.force b/profiles/prefix/darwin/macos/10.10/x64/package.use.force
new file mode 100644
index 000000000000..d51c8d716a6e
--- /dev/null
+++ b/profiles/prefix/darwin/macos/10.10/x64/package.use.force
@@ -0,0 +1,7 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+# Elias Pipping <pipping@gentoo.org> (30 Sep 2007)
+# compiles with -aqua, doesn't work, though
+media-video/mplayer aqua
diff --git a/profiles/prefix/darwin/macos/10.10/x64/package.use.mask b/profiles/prefix/darwin/macos/10.10/x64/package.use.mask
new file mode 100644
index 000000000000..f0e8c9537cba
--- /dev/null
+++ b/profiles/prefix/darwin/macos/10.10/x64/package.use.mask
@@ -0,0 +1,5 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+
diff --git a/profiles/prefix/darwin/macos/10.10/x64/parent b/profiles/prefix/darwin/macos/10.10/x64/parent
new file mode 100644
index 000000000000..fc24616eeda4
--- /dev/null
+++ b/profiles/prefix/darwin/macos/10.10/x64/parent
@@ -0,0 +1,2 @@
+../../arch/x64
+..
diff --git a/profiles/prefix/darwin/macos/10.10/x64/use.mask b/profiles/prefix/darwin/macos/10.10/x64/use.mask
new file mode 100644
index 000000000000..f1549ec0ec6e
--- /dev/null
+++ b/profiles/prefix/darwin/macos/10.10/x64/use.mask
@@ -0,0 +1,59 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+# This file masks out USE flags that are simply NOT allowed in the default
+# x86 profile. This works, for example, if another architecture's
+# profile have a USE flag associated with (such as altivec, mmx, etc).
+
+# Unmask x86 instruction sets
+-icc
+-icc-pgo
+-ifc
+-mmx
+-mmxext
+-sse
+-sse2
+-ssse3
+-cpu_flags_x86_mmx
+-cpu_flags_x86_mmxext
+-cpu_flags_x86_sse
+-cpu_flags_x86_sse2
+-cpu_flags_x86_ssse3
+-svga
+-kqemu
+
+# Unmask nvidia XvMC support
+-nvidia
+
+# Unmask dev-db/oracle-instantclient-basic support
+-oci8-instant-client
+
+# Unmask osp, used by asterisk; bug 115798
+-osp
+
+# Modular X: unmask for architectures on which they are available
+-input_devices_synaptics
+-input_devices_vmmouse
+-input_devices_wacom
+-video_cards_nvidia
+-video_cards_fglrx
+-video_cards_vmware
+
+# Modular X: mask for architectures on which they aren't available
+video_cards_newport
+
+#codec support
+-x264
+
+# lvm2 cluster
+-gulm
+
+# ibm is only used for ppc64 stuff
+ibm
+
+# psyco works on x86
+-psyco
+
+# Adobe FDF toolkit is x86 only.
+-fdftk
diff --git a/profiles/prefix/darwin/macos/10.10/x86/eapi b/profiles/prefix/darwin/macos/10.10/x86/eapi
new file mode 100644
index 000000000000..7ed6ff82de6b
--- /dev/null
+++ b/profiles/prefix/darwin/macos/10.10/x86/eapi
@@ -0,0 +1 @@
+5
diff --git a/profiles/prefix/darwin/macos/10.10/x86/make.defaults b/profiles/prefix/darwin/macos/10.10/x86/make.defaults
new file mode 100644
index 000000000000..1c0df4a5c34a
--- /dev/null
+++ b/profiles/prefix/darwin/macos/10.10/x86/make.defaults
@@ -0,0 +1,13 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+ARCH="x86-macos"
+CHOST="i686-apple-darwin14"
+ACCEPT_KEYWORDS="~x86-macos"
+
+USE="mmx mmxext sse sse2"
+CPU_FLAGS_X86="mmx mmxext sse sse2"
+# normally we set arch to prescott for all MacTel users, as this enables
+# SSE and MMX support in GCC
+CFLAGS="-march=prescott"
diff --git a/profiles/prefix/darwin/macos/10.10/x86/package.mask b/profiles/prefix/darwin/macos/10.10/x86/package.mask
new file mode 100644
index 000000000000..9822b76e194a
--- /dev/null
+++ b/profiles/prefix/darwin/macos/10.10/x86/package.mask
@@ -0,0 +1,10 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+# The Carbon interface has been removed entirely in Lion, only tk-8.6
+# will come with Cocoa support. If you must have tk, you'll have to
+# force USE=-aqua, but don't report bugs for incompatabilities you might
+# encounter.
+# NOTE: keep this mask synced with arch/x64
+<dev-lang/tk-8.6
diff --git a/profiles/prefix/darwin/macos/10.10/x86/package.use.force b/profiles/prefix/darwin/macos/10.10/x86/package.use.force
new file mode 100644
index 000000000000..d51c8d716a6e
--- /dev/null
+++ b/profiles/prefix/darwin/macos/10.10/x86/package.use.force
@@ -0,0 +1,7 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+# Elias Pipping <pipping@gentoo.org> (30 Sep 2007)
+# compiles with -aqua, doesn't work, though
+media-video/mplayer aqua
diff --git a/profiles/prefix/darwin/macos/10.10/x86/package.use.mask b/profiles/prefix/darwin/macos/10.10/x86/package.use.mask
new file mode 100644
index 000000000000..f0e8c9537cba
--- /dev/null
+++ b/profiles/prefix/darwin/macos/10.10/x86/package.use.mask
@@ -0,0 +1,5 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+
diff --git a/profiles/prefix/darwin/macos/10.10/x86/parent b/profiles/prefix/darwin/macos/10.10/x86/parent
new file mode 100644
index 000000000000..4a6aa36b18d9
--- /dev/null
+++ b/profiles/prefix/darwin/macos/10.10/x86/parent
@@ -0,0 +1,2 @@
+../../arch/x86
+..
diff --git a/profiles/prefix/darwin/macos/10.10/x86/use.mask b/profiles/prefix/darwin/macos/10.10/x86/use.mask
new file mode 100644
index 000000000000..f1549ec0ec6e
--- /dev/null
+++ b/profiles/prefix/darwin/macos/10.10/x86/use.mask
@@ -0,0 +1,59 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+# This file masks out USE flags that are simply NOT allowed in the default
+# x86 profile. This works, for example, if another architecture's
+# profile have a USE flag associated with (such as altivec, mmx, etc).
+
+# Unmask x86 instruction sets
+-icc
+-icc-pgo
+-ifc
+-mmx
+-mmxext
+-sse
+-sse2
+-ssse3
+-cpu_flags_x86_mmx
+-cpu_flags_x86_mmxext
+-cpu_flags_x86_sse
+-cpu_flags_x86_sse2
+-cpu_flags_x86_ssse3
+-svga
+-kqemu
+
+# Unmask nvidia XvMC support
+-nvidia
+
+# Unmask dev-db/oracle-instantclient-basic support
+-oci8-instant-client
+
+# Unmask osp, used by asterisk; bug 115798
+-osp
+
+# Modular X: unmask for architectures on which they are available
+-input_devices_synaptics
+-input_devices_vmmouse
+-input_devices_wacom
+-video_cards_nvidia
+-video_cards_fglrx
+-video_cards_vmware
+
+# Modular X: mask for architectures on which they aren't available
+video_cards_newport
+
+#codec support
+-x264
+
+# lvm2 cluster
+-gulm
+
+# ibm is only used for ppc64 stuff
+ibm
+
+# psyco works on x86
+-psyco
+
+# Adobe FDF toolkit is x86 only.
+-fdftk
diff --git a/profiles/prefix/darwin/macos/10.4/eapi b/profiles/prefix/darwin/macos/10.4/eapi
new file mode 100644
index 000000000000..7ed6ff82de6b
--- /dev/null
+++ b/profiles/prefix/darwin/macos/10.4/eapi
@@ -0,0 +1 @@
+5
diff --git a/profiles/prefix/darwin/macos/10.4/make.defaults b/profiles/prefix/darwin/macos/10.4/make.defaults
new file mode 100644
index 000000000000..b5eeaa3c0f72
--- /dev/null
+++ b/profiles/prefix/darwin/macos/10.4/make.defaults
@@ -0,0 +1,5 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+MACOSX_DEPLOYMENT_TARGET="10.4"
diff --git a/profiles/prefix/darwin/macos/10.4/package.mask b/profiles/prefix/darwin/macos/10.4/package.mask
new file mode 100644
index 000000000000..fbca77b54883
--- /dev/null
+++ b/profiles/prefix/darwin/macos/10.4/package.mask
@@ -0,0 +1,21 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+# Fabian Groffen <grobian@gentoo.org> (03 May 2012)
+# Needs 10.6 or up
+>=dev-lang/ghc-7
+
+# Fabian Groffen <grobian@gentoo.org> (11 Jul 2011)
+# Needs headers only available starting from 10.5 (Leopard)
+sys-process/lsof
+
+# Fabian Groffen <grobian@gentoo.org> (30 Apr 2011)
+# These releases got a rewrite that is no longer compatible with
+# CoreAudio as available on Tiger and Leopard
+>=media-libs/mediastreamer-2.7.3
+
+# Elias Pipping <pipping@gentoo.org> (19 Dec 2007)
+# apple java6 on macosx is only released on leopard :(
+dev-java/apple-jdk-bin:1.6
+
diff --git a/profiles/prefix/darwin/macos/10.4/package.provided b/profiles/prefix/darwin/macos/10.4/package.provided
new file mode 100644
index 000000000000..29db1c93c0d5
--- /dev/null
+++ b/profiles/prefix/darwin/macos/10.4/package.provided
@@ -0,0 +1,5 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+sys-darwin/libsystem-71
diff --git a/profiles/prefix/darwin/macos/10.4/package.use.mask b/profiles/prefix/darwin/macos/10.4/package.use.mask
new file mode 100644
index 000000000000..3bd5e70e047d
--- /dev/null
+++ b/profiles/prefix/darwin/macos/10.4/package.use.mask
@@ -0,0 +1,13 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+
+# Fabian Groffen <grobian@gentoo.org> (28 Apr 2008)
+# mach_override.h missing
+# http://www.erlang.org/pipermail/erlang-questions/2007-July/027870.html
+dev-lang/erlang hipe
+
+# Elias Pipping <pipping@gentoo.org> (25 Nov 2007)
+# there's no (official) java6 on macosx
+dev-util/checkstyle test
diff --git a/profiles/prefix/darwin/macos/10.4/parent b/profiles/prefix/darwin/macos/10.4/parent
new file mode 100644
index 000000000000..f3229c5b9876
--- /dev/null
+++ b/profiles/prefix/darwin/macos/10.4/parent
@@ -0,0 +1 @@
+..
diff --git a/profiles/prefix/darwin/macos/10.4/ppc/eapi b/profiles/prefix/darwin/macos/10.4/ppc/eapi
new file mode 100644
index 000000000000..7ed6ff82de6b
--- /dev/null
+++ b/profiles/prefix/darwin/macos/10.4/ppc/eapi
@@ -0,0 +1 @@
+5
diff --git a/profiles/prefix/darwin/macos/10.4/ppc/make.defaults b/profiles/prefix/darwin/macos/10.4/ppc/make.defaults
new file mode 100644
index 000000000000..8c58b7fdfacc
--- /dev/null
+++ b/profiles/prefix/darwin/macos/10.4/ppc/make.defaults
@@ -0,0 +1,7 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+ARCH="ppc-macos"
+CHOST="powerpc-apple-darwin8"
+ACCEPT_KEYWORDS="~ppc-macos"
diff --git a/profiles/prefix/darwin/macos/10.4/ppc/package.mask b/profiles/prefix/darwin/macos/10.4/ppc/package.mask
new file mode 100644
index 000000000000..4413ca2d3df3
--- /dev/null
+++ b/profiles/prefix/darwin/macos/10.4/ppc/package.mask
@@ -0,0 +1,4 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
diff --git a/profiles/prefix/darwin/macos/10.4/ppc/package.use.mask b/profiles/prefix/darwin/macos/10.4/ppc/package.use.mask
new file mode 100644
index 000000000000..e2d57612705d
--- /dev/null
+++ b/profiles/prefix/darwin/macos/10.4/ppc/package.use.mask
@@ -0,0 +1,4 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
diff --git a/profiles/prefix/darwin/macos/10.4/ppc/parent b/profiles/prefix/darwin/macos/10.4/ppc/parent
new file mode 100644
index 000000000000..6cb6381b7779
--- /dev/null
+++ b/profiles/prefix/darwin/macos/10.4/ppc/parent
@@ -0,0 +1,2 @@
+../../arch/ppc
+..
diff --git a/profiles/prefix/darwin/macos/10.4/ppc/use.mask b/profiles/prefix/darwin/macos/10.4/ppc/use.mask
new file mode 100644
index 000000000000..c028f783a627
--- /dev/null
+++ b/profiles/prefix/darwin/macos/10.4/ppc/use.mask
@@ -0,0 +1,5 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+-altivec
diff --git a/profiles/prefix/darwin/macos/10.4/ppc64/eapi b/profiles/prefix/darwin/macos/10.4/ppc64/eapi
new file mode 100644
index 000000000000..7ed6ff82de6b
--- /dev/null
+++ b/profiles/prefix/darwin/macos/10.4/ppc64/eapi
@@ -0,0 +1 @@
+5
diff --git a/profiles/prefix/darwin/macos/10.4/ppc64/make.defaults b/profiles/prefix/darwin/macos/10.4/ppc64/make.defaults
new file mode 100644
index 000000000000..20352822cec1
--- /dev/null
+++ b/profiles/prefix/darwin/macos/10.4/ppc64/make.defaults
@@ -0,0 +1,7 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+ARCH="ppc64-macos"
+CHOST="powerpc64-apple-darwin8"
+ACCEPT_KEYWORDS="~ppc64-macos"
diff --git a/profiles/prefix/darwin/macos/10.4/ppc64/package.mask b/profiles/prefix/darwin/macos/10.4/ppc64/package.mask
new file mode 100644
index 000000000000..4645c5d42c61
--- /dev/null
+++ b/profiles/prefix/darwin/macos/10.4/ppc64/package.mask
@@ -0,0 +1,3 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
diff --git a/profiles/prefix/darwin/macos/10.4/ppc64/package.use.mask b/profiles/prefix/darwin/macos/10.4/ppc64/package.use.mask
new file mode 100644
index 000000000000..e2d57612705d
--- /dev/null
+++ b/profiles/prefix/darwin/macos/10.4/ppc64/package.use.mask
@@ -0,0 +1,4 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
diff --git a/profiles/prefix/darwin/macos/10.4/ppc64/parent b/profiles/prefix/darwin/macos/10.4/ppc64/parent
new file mode 100644
index 000000000000..4d64089b7bd3
--- /dev/null
+++ b/profiles/prefix/darwin/macos/10.4/ppc64/parent
@@ -0,0 +1,2 @@
+../../arch/ppc64
+..
diff --git a/profiles/prefix/darwin/macos/10.4/ppc64/use.mask b/profiles/prefix/darwin/macos/10.4/ppc64/use.mask
new file mode 100644
index 000000000000..c028f783a627
--- /dev/null
+++ b/profiles/prefix/darwin/macos/10.4/ppc64/use.mask
@@ -0,0 +1,5 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+-altivec
diff --git a/profiles/prefix/darwin/macos/10.4/profile.bashrc b/profiles/prefix/darwin/macos/10.4/profile.bashrc
new file mode 100644
index 000000000000..b59a3d4befb6
--- /dev/null
+++ b/profiles/prefix/darwin/macos/10.4/profile.bashrc
@@ -0,0 +1,5 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+export MACOSX_DEPLOYMENT_TARGET=10.4
diff --git a/profiles/prefix/darwin/macos/10.4/x86/eapi b/profiles/prefix/darwin/macos/10.4/x86/eapi
new file mode 100644
index 000000000000..7ed6ff82de6b
--- /dev/null
+++ b/profiles/prefix/darwin/macos/10.4/x86/eapi
@@ -0,0 +1 @@
+5
diff --git a/profiles/prefix/darwin/macos/10.4/x86/make.defaults b/profiles/prefix/darwin/macos/10.4/x86/make.defaults
new file mode 100644
index 000000000000..881ead4e2bb6
--- /dev/null
+++ b/profiles/prefix/darwin/macos/10.4/x86/make.defaults
@@ -0,0 +1,13 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+ARCH="x86-macos"
+CHOST="i686-apple-darwin8"
+ACCEPT_KEYWORDS="~x86-macos"
+
+USE="mmx mmxext sse sse2"
+CPU_FLAGS_X86="mmx mmxext sse sse2"
+# set arch to prescott for all MacTel users, as this enables SSE and MMX
+# support in GCC
+CFLAGS="-march=prescott"
diff --git a/profiles/prefix/darwin/macos/10.4/x86/package.unmask b/profiles/prefix/darwin/macos/10.4/x86/package.unmask
new file mode 100644
index 000000000000..e705a7270a6c
--- /dev/null
+++ b/profiles/prefix/darwin/macos/10.4/x86/package.unmask
@@ -0,0 +1,7 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+# Fabian Groffen <grobian@gentoo.org> (29 Sep 2012)
+# This is the only way to get Java6 here
+dev-java/soylatte-jdk-bin
diff --git a/profiles/prefix/darwin/macos/10.4/x86/package.use.force b/profiles/prefix/darwin/macos/10.4/x86/package.use.force
new file mode 100644
index 000000000000..224ed0fc48b8
--- /dev/null
+++ b/profiles/prefix/darwin/macos/10.4/x86/package.use.force
@@ -0,0 +1,7 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+# Elias Pipping <pipping@gentoo.org> (30 Sep 2007)
+# compiles with -aqua, doesn't work, though
+media-video/mplayer aqua
diff --git a/profiles/prefix/darwin/macos/10.4/x86/package.use.mask b/profiles/prefix/darwin/macos/10.4/x86/package.use.mask
new file mode 100644
index 000000000000..6bc858049e42
--- /dev/null
+++ b/profiles/prefix/darwin/macos/10.4/x86/package.use.mask
@@ -0,0 +1,5 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+
diff --git a/profiles/prefix/darwin/macos/10.4/x86/parent b/profiles/prefix/darwin/macos/10.4/x86/parent
new file mode 100644
index 000000000000..4a6aa36b18d9
--- /dev/null
+++ b/profiles/prefix/darwin/macos/10.4/x86/parent
@@ -0,0 +1,2 @@
+../../arch/x86
+..
diff --git a/profiles/prefix/darwin/macos/10.4/x86/use.mask b/profiles/prefix/darwin/macos/10.4/x86/use.mask
new file mode 100644
index 000000000000..f1549ec0ec6e
--- /dev/null
+++ b/profiles/prefix/darwin/macos/10.4/x86/use.mask
@@ -0,0 +1,59 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+# This file masks out USE flags that are simply NOT allowed in the default
+# x86 profile. This works, for example, if another architecture's
+# profile have a USE flag associated with (such as altivec, mmx, etc).
+
+# Unmask x86 instruction sets
+-icc
+-icc-pgo
+-ifc
+-mmx
+-mmxext
+-sse
+-sse2
+-ssse3
+-cpu_flags_x86_mmx
+-cpu_flags_x86_mmxext
+-cpu_flags_x86_sse
+-cpu_flags_x86_sse2
+-cpu_flags_x86_ssse3
+-svga
+-kqemu
+
+# Unmask nvidia XvMC support
+-nvidia
+
+# Unmask dev-db/oracle-instantclient-basic support
+-oci8-instant-client
+
+# Unmask osp, used by asterisk; bug 115798
+-osp
+
+# Modular X: unmask for architectures on which they are available
+-input_devices_synaptics
+-input_devices_vmmouse
+-input_devices_wacom
+-video_cards_nvidia
+-video_cards_fglrx
+-video_cards_vmware
+
+# Modular X: mask for architectures on which they aren't available
+video_cards_newport
+
+#codec support
+-x264
+
+# lvm2 cluster
+-gulm
+
+# ibm is only used for ppc64 stuff
+ibm
+
+# psyco works on x86
+-psyco
+
+# Adobe FDF toolkit is x86 only.
+-fdftk
diff --git a/profiles/prefix/darwin/macos/10.5/eapi b/profiles/prefix/darwin/macos/10.5/eapi
new file mode 100644
index 000000000000..7ed6ff82de6b
--- /dev/null
+++ b/profiles/prefix/darwin/macos/10.5/eapi
@@ -0,0 +1 @@
+5
diff --git a/profiles/prefix/darwin/macos/10.5/make.defaults b/profiles/prefix/darwin/macos/10.5/make.defaults
new file mode 100644
index 000000000000..cd03963ead59
--- /dev/null
+++ b/profiles/prefix/darwin/macos/10.5/make.defaults
@@ -0,0 +1,9 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+MACOSX_DEPLOYMENT_TARGET="10.5"
+
+# sandbox is working with use of Mac OS X's seatbelt (since 10.5)
+# but it generates problems, #456234
+#FEATURES="sandbox"
diff --git a/profiles/prefix/darwin/macos/10.5/package.mask b/profiles/prefix/darwin/macos/10.5/package.mask
new file mode 100644
index 000000000000..bc63c5e7e3ec
--- /dev/null
+++ b/profiles/prefix/darwin/macos/10.5/package.mask
@@ -0,0 +1,13 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+# Fabian Groffen <grobian@gentoo.org> (03 May 2012)
+# Needs 10.6 or up
+>=dev-lang/ghc-7
+
+# Fabian Groffen <grobian@gentoo.org> (06 Nov 2011)
+# These releases got a rewrite that is no longer compatible with
+# CoreAudio as available on Tiger and Leopard
+>=media-libs/mediastreamer-2.7.3
+
diff --git a/profiles/prefix/darwin/macos/10.5/package.provided b/profiles/prefix/darwin/macos/10.5/package.provided
new file mode 100644
index 000000000000..29db1c93c0d5
--- /dev/null
+++ b/profiles/prefix/darwin/macos/10.5/package.provided
@@ -0,0 +1,5 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+sys-darwin/libsystem-71
diff --git a/profiles/prefix/darwin/macos/10.5/package.use.mask b/profiles/prefix/darwin/macos/10.5/package.use.mask
new file mode 100644
index 000000000000..3bd5e70e047d
--- /dev/null
+++ b/profiles/prefix/darwin/macos/10.5/package.use.mask
@@ -0,0 +1,13 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+
+# Fabian Groffen <grobian@gentoo.org> (28 Apr 2008)
+# mach_override.h missing
+# http://www.erlang.org/pipermail/erlang-questions/2007-July/027870.html
+dev-lang/erlang hipe
+
+# Elias Pipping <pipping@gentoo.org> (25 Nov 2007)
+# there's no (official) java6 on macosx
+dev-util/checkstyle test
diff --git a/profiles/prefix/darwin/macos/10.5/parent b/profiles/prefix/darwin/macos/10.5/parent
new file mode 100644
index 000000000000..f3229c5b9876
--- /dev/null
+++ b/profiles/prefix/darwin/macos/10.5/parent
@@ -0,0 +1 @@
+..
diff --git a/profiles/prefix/darwin/macos/10.5/ppc/eapi b/profiles/prefix/darwin/macos/10.5/ppc/eapi
new file mode 100644
index 000000000000..7ed6ff82de6b
--- /dev/null
+++ b/profiles/prefix/darwin/macos/10.5/ppc/eapi
@@ -0,0 +1 @@
+5
diff --git a/profiles/prefix/darwin/macos/10.5/ppc/make.defaults b/profiles/prefix/darwin/macos/10.5/ppc/make.defaults
new file mode 100644
index 000000000000..ccee30c668f4
--- /dev/null
+++ b/profiles/prefix/darwin/macos/10.5/ppc/make.defaults
@@ -0,0 +1,7 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+ARCH="ppc-macos"
+CHOST="powerpc-apple-darwin9"
+ACCEPT_KEYWORDS="~ppc-macos"
diff --git a/profiles/prefix/darwin/macos/10.5/ppc/package.mask b/profiles/prefix/darwin/macos/10.5/ppc/package.mask
new file mode 100644
index 000000000000..13ff9386c8d8
--- /dev/null
+++ b/profiles/prefix/darwin/macos/10.5/ppc/package.mask
@@ -0,0 +1,3 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
diff --git a/profiles/prefix/darwin/macos/10.5/ppc/package.unmask b/profiles/prefix/darwin/macos/10.5/ppc/package.unmask
new file mode 100644
index 000000000000..4881ebb0d8f8
--- /dev/null
+++ b/profiles/prefix/darwin/macos/10.5/ppc/package.unmask
@@ -0,0 +1,7 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+# Fabian Groffen <grobian@gentoo.org> (30 Oct 2012)
+# This is the only way to get Java7 here (no Java6 possible)
+dev-java/soylatte-jdk-bin
diff --git a/profiles/prefix/darwin/macos/10.5/ppc/package.use.force b/profiles/prefix/darwin/macos/10.5/ppc/package.use.force
new file mode 100644
index 000000000000..224ed0fc48b8
--- /dev/null
+++ b/profiles/prefix/darwin/macos/10.5/ppc/package.use.force
@@ -0,0 +1,7 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+# Elias Pipping <pipping@gentoo.org> (30 Sep 2007)
+# compiles with -aqua, doesn't work, though
+media-video/mplayer aqua
diff --git a/profiles/prefix/darwin/macos/10.5/ppc/package.use.mask b/profiles/prefix/darwin/macos/10.5/ppc/package.use.mask
new file mode 100644
index 000000000000..e67fbdd21f02
--- /dev/null
+++ b/profiles/prefix/darwin/macos/10.5/ppc/package.use.mask
@@ -0,0 +1,9 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+
+# flag returns compile errors
+media-video/mplayer livecd cpudetection
+# libs mising
+media-video/mplayer gtk sdl libcaca dv nas musepack bidi enca cdparanoia samba xanim live openal
diff --git a/profiles/prefix/darwin/macos/10.5/ppc/parent b/profiles/prefix/darwin/macos/10.5/ppc/parent
new file mode 100644
index 000000000000..6cb6381b7779
--- /dev/null
+++ b/profiles/prefix/darwin/macos/10.5/ppc/parent
@@ -0,0 +1,2 @@
+../../arch/ppc
+..
diff --git a/profiles/prefix/darwin/macos/10.5/ppc/use.mask b/profiles/prefix/darwin/macos/10.5/ppc/use.mask
new file mode 100644
index 000000000000..c028f783a627
--- /dev/null
+++ b/profiles/prefix/darwin/macos/10.5/ppc/use.mask
@@ -0,0 +1,5 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+-altivec
diff --git a/profiles/prefix/darwin/macos/10.5/ppc64/eapi b/profiles/prefix/darwin/macos/10.5/ppc64/eapi
new file mode 100644
index 000000000000..7ed6ff82de6b
--- /dev/null
+++ b/profiles/prefix/darwin/macos/10.5/ppc64/eapi
@@ -0,0 +1 @@
+5
diff --git a/profiles/prefix/darwin/macos/10.5/ppc64/make.defaults b/profiles/prefix/darwin/macos/10.5/ppc64/make.defaults
new file mode 100644
index 000000000000..c0ade51b5982
--- /dev/null
+++ b/profiles/prefix/darwin/macos/10.5/ppc64/make.defaults
@@ -0,0 +1,7 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+ARCH="ppc64-macos"
+CHOST="powerpc64-apple-darwin9"
+ACCEPT_KEYWORDS="~ppc64-macos"
diff --git a/profiles/prefix/darwin/macos/10.5/ppc64/package.mask b/profiles/prefix/darwin/macos/10.5/ppc64/package.mask
new file mode 100644
index 000000000000..9973a0f32ab4
--- /dev/null
+++ b/profiles/prefix/darwin/macos/10.5/ppc64/package.mask
@@ -0,0 +1,3 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
diff --git a/profiles/prefix/darwin/macos/10.5/ppc64/package.use.mask b/profiles/prefix/darwin/macos/10.5/ppc64/package.use.mask
new file mode 100644
index 000000000000..e2d57612705d
--- /dev/null
+++ b/profiles/prefix/darwin/macos/10.5/ppc64/package.use.mask
@@ -0,0 +1,4 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
diff --git a/profiles/prefix/darwin/macos/10.5/ppc64/parent b/profiles/prefix/darwin/macos/10.5/ppc64/parent
new file mode 100644
index 000000000000..4d64089b7bd3
--- /dev/null
+++ b/profiles/prefix/darwin/macos/10.5/ppc64/parent
@@ -0,0 +1,2 @@
+../../arch/ppc64
+..
diff --git a/profiles/prefix/darwin/macos/10.5/ppc64/use.mask b/profiles/prefix/darwin/macos/10.5/ppc64/use.mask
new file mode 100644
index 000000000000..1325e1683f51
--- /dev/null
+++ b/profiles/prefix/darwin/macos/10.5/ppc64/use.mask
@@ -0,0 +1,5 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+-altivec
diff --git a/profiles/prefix/darwin/macos/10.5/profile.bashrc b/profiles/prefix/darwin/macos/10.5/profile.bashrc
new file mode 100644
index 000000000000..2d0fed7c9ca7
--- /dev/null
+++ b/profiles/prefix/darwin/macos/10.5/profile.bashrc
@@ -0,0 +1,5 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+export MACOSX_DEPLOYMENT_TARGET=10.5
diff --git a/profiles/prefix/darwin/macos/10.5/x64/eapi b/profiles/prefix/darwin/macos/10.5/x64/eapi
new file mode 100644
index 000000000000..7ed6ff82de6b
--- /dev/null
+++ b/profiles/prefix/darwin/macos/10.5/x64/eapi
@@ -0,0 +1 @@
+5
diff --git a/profiles/prefix/darwin/macos/10.5/x64/make.defaults b/profiles/prefix/darwin/macos/10.5/x64/make.defaults
new file mode 100644
index 000000000000..fc7ab94d55c3
--- /dev/null
+++ b/profiles/prefix/darwin/macos/10.5/x64/make.defaults
@@ -0,0 +1,13 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+ARCH="x64-macos"
+CHOST="x86_64-apple-darwin9"
+ACCEPT_KEYWORDS="~x64-macos"
+
+USE="mmx mmxext sse sse2"
+CPU_FLAGS_X86="mmx mmxext sse sse2"
+# set arch to nocona for all MacTel users, as this enables SSE and MMX
+# support in GCC, nocona = Core2Duo = 64-bits
+CFLAGS="-march=nocona"
diff --git a/profiles/prefix/darwin/macos/10.5/x64/package.mask b/profiles/prefix/darwin/macos/10.5/x64/package.mask
new file mode 100644
index 000000000000..1656fa35fb46
--- /dev/null
+++ b/profiles/prefix/darwin/macos/10.5/x64/package.mask
@@ -0,0 +1,7 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+# Fabian Groffen <grobian@gentoo.org> (29 Sep 2012)
+# Apple does not provide 1.6 and up on Leopard
+>=dev-java/apple-jdk-bin-1.6.0
diff --git a/profiles/prefix/darwin/macos/10.5/x64/package.unmask b/profiles/prefix/darwin/macos/10.5/x64/package.unmask
new file mode 100644
index 000000000000..1f23cce6ba6e
--- /dev/null
+++ b/profiles/prefix/darwin/macos/10.5/x64/package.unmask
@@ -0,0 +1,4 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
diff --git a/profiles/prefix/darwin/macos/10.5/x64/package.use.force b/profiles/prefix/darwin/macos/10.5/x64/package.use.force
new file mode 100644
index 000000000000..224ed0fc48b8
--- /dev/null
+++ b/profiles/prefix/darwin/macos/10.5/x64/package.use.force
@@ -0,0 +1,7 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+# Elias Pipping <pipping@gentoo.org> (30 Sep 2007)
+# compiles with -aqua, doesn't work, though
+media-video/mplayer aqua
diff --git a/profiles/prefix/darwin/macos/10.5/x64/package.use.mask b/profiles/prefix/darwin/macos/10.5/x64/package.use.mask
new file mode 100644
index 000000000000..6bc858049e42
--- /dev/null
+++ b/profiles/prefix/darwin/macos/10.5/x64/package.use.mask
@@ -0,0 +1,5 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+
diff --git a/profiles/prefix/darwin/macos/10.5/x64/parent b/profiles/prefix/darwin/macos/10.5/x64/parent
new file mode 100644
index 000000000000..fc24616eeda4
--- /dev/null
+++ b/profiles/prefix/darwin/macos/10.5/x64/parent
@@ -0,0 +1,2 @@
+../../arch/x64
+..
diff --git a/profiles/prefix/darwin/macos/10.5/x64/use.mask b/profiles/prefix/darwin/macos/10.5/x64/use.mask
new file mode 100644
index 000000000000..f1549ec0ec6e
--- /dev/null
+++ b/profiles/prefix/darwin/macos/10.5/x64/use.mask
@@ -0,0 +1,59 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+# This file masks out USE flags that are simply NOT allowed in the default
+# x86 profile. This works, for example, if another architecture's
+# profile have a USE flag associated with (such as altivec, mmx, etc).
+
+# Unmask x86 instruction sets
+-icc
+-icc-pgo
+-ifc
+-mmx
+-mmxext
+-sse
+-sse2
+-ssse3
+-cpu_flags_x86_mmx
+-cpu_flags_x86_mmxext
+-cpu_flags_x86_sse
+-cpu_flags_x86_sse2
+-cpu_flags_x86_ssse3
+-svga
+-kqemu
+
+# Unmask nvidia XvMC support
+-nvidia
+
+# Unmask dev-db/oracle-instantclient-basic support
+-oci8-instant-client
+
+# Unmask osp, used by asterisk; bug 115798
+-osp
+
+# Modular X: unmask for architectures on which they are available
+-input_devices_synaptics
+-input_devices_vmmouse
+-input_devices_wacom
+-video_cards_nvidia
+-video_cards_fglrx
+-video_cards_vmware
+
+# Modular X: mask for architectures on which they aren't available
+video_cards_newport
+
+#codec support
+-x264
+
+# lvm2 cluster
+-gulm
+
+# ibm is only used for ppc64 stuff
+ibm
+
+# psyco works on x86
+-psyco
+
+# Adobe FDF toolkit is x86 only.
+-fdftk
diff --git a/profiles/prefix/darwin/macos/10.5/x86/eapi b/profiles/prefix/darwin/macos/10.5/x86/eapi
new file mode 100644
index 000000000000..7ed6ff82de6b
--- /dev/null
+++ b/profiles/prefix/darwin/macos/10.5/x86/eapi
@@ -0,0 +1 @@
+5
diff --git a/profiles/prefix/darwin/macos/10.5/x86/make.defaults b/profiles/prefix/darwin/macos/10.5/x86/make.defaults
new file mode 100644
index 000000000000..e2de73106745
--- /dev/null
+++ b/profiles/prefix/darwin/macos/10.5/x86/make.defaults
@@ -0,0 +1,13 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+ARCH="x86-macos"
+CHOST="i686-apple-darwin9"
+ACCEPT_KEYWORDS="~x86-macos"
+
+USE="mmx mmxext sse sse2"
+CPU_FLAGS_X86="mmx mmxext sse sse2"
+# set arch to prescott for all MacTel users, as this enables SSE and MMX
+# support in GCC
+CFLAGS="-march=prescott"
diff --git a/profiles/prefix/darwin/macos/10.5/x86/package.mask b/profiles/prefix/darwin/macos/10.5/x86/package.mask
new file mode 100644
index 000000000000..13ff9386c8d8
--- /dev/null
+++ b/profiles/prefix/darwin/macos/10.5/x86/package.mask
@@ -0,0 +1,3 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
diff --git a/profiles/prefix/darwin/macos/10.5/x86/package.unmask b/profiles/prefix/darwin/macos/10.5/x86/package.unmask
new file mode 100644
index 000000000000..1f23cce6ba6e
--- /dev/null
+++ b/profiles/prefix/darwin/macos/10.5/x86/package.unmask
@@ -0,0 +1,4 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
diff --git a/profiles/prefix/darwin/macos/10.5/x86/package.use.force b/profiles/prefix/darwin/macos/10.5/x86/package.use.force
new file mode 100644
index 000000000000..224ed0fc48b8
--- /dev/null
+++ b/profiles/prefix/darwin/macos/10.5/x86/package.use.force
@@ -0,0 +1,7 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+# Elias Pipping <pipping@gentoo.org> (30 Sep 2007)
+# compiles with -aqua, doesn't work, though
+media-video/mplayer aqua
diff --git a/profiles/prefix/darwin/macos/10.5/x86/package.use.mask b/profiles/prefix/darwin/macos/10.5/x86/package.use.mask
new file mode 100644
index 000000000000..6bc858049e42
--- /dev/null
+++ b/profiles/prefix/darwin/macos/10.5/x86/package.use.mask
@@ -0,0 +1,5 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+
diff --git a/profiles/prefix/darwin/macos/10.5/x86/parent b/profiles/prefix/darwin/macos/10.5/x86/parent
new file mode 100644
index 000000000000..4a6aa36b18d9
--- /dev/null
+++ b/profiles/prefix/darwin/macos/10.5/x86/parent
@@ -0,0 +1,2 @@
+../../arch/x86
+..
diff --git a/profiles/prefix/darwin/macos/10.5/x86/use.mask b/profiles/prefix/darwin/macos/10.5/x86/use.mask
new file mode 100644
index 000000000000..f1549ec0ec6e
--- /dev/null
+++ b/profiles/prefix/darwin/macos/10.5/x86/use.mask
@@ -0,0 +1,59 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+# This file masks out USE flags that are simply NOT allowed in the default
+# x86 profile. This works, for example, if another architecture's
+# profile have a USE flag associated with (such as altivec, mmx, etc).
+
+# Unmask x86 instruction sets
+-icc
+-icc-pgo
+-ifc
+-mmx
+-mmxext
+-sse
+-sse2
+-ssse3
+-cpu_flags_x86_mmx
+-cpu_flags_x86_mmxext
+-cpu_flags_x86_sse
+-cpu_flags_x86_sse2
+-cpu_flags_x86_ssse3
+-svga
+-kqemu
+
+# Unmask nvidia XvMC support
+-nvidia
+
+# Unmask dev-db/oracle-instantclient-basic support
+-oci8-instant-client
+
+# Unmask osp, used by asterisk; bug 115798
+-osp
+
+# Modular X: unmask for architectures on which they are available
+-input_devices_synaptics
+-input_devices_vmmouse
+-input_devices_wacom
+-video_cards_nvidia
+-video_cards_fglrx
+-video_cards_vmware
+
+# Modular X: mask for architectures on which they aren't available
+video_cards_newport
+
+#codec support
+-x264
+
+# lvm2 cluster
+-gulm
+
+# ibm is only used for ppc64 stuff
+ibm
+
+# psyco works on x86
+-psyco
+
+# Adobe FDF toolkit is x86 only.
+-fdftk
diff --git a/profiles/prefix/darwin/macos/10.6/eapi b/profiles/prefix/darwin/macos/10.6/eapi
new file mode 100644
index 000000000000..7ed6ff82de6b
--- /dev/null
+++ b/profiles/prefix/darwin/macos/10.6/eapi
@@ -0,0 +1 @@
+5
diff --git a/profiles/prefix/darwin/macos/10.6/make.defaults b/profiles/prefix/darwin/macos/10.6/make.defaults
new file mode 100644
index 000000000000..06b6fd8c124e
--- /dev/null
+++ b/profiles/prefix/darwin/macos/10.6/make.defaults
@@ -0,0 +1,9 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+MACOSX_DEPLOYMENT_TARGET="10.6"
+
+# sandbox is working with use of Mac OS X's seatbelt (since 10.5)
+# but it generates problems, #456234
+#FEATURES="sandbox"
diff --git a/profiles/prefix/darwin/macos/10.6/package.provided b/profiles/prefix/darwin/macos/10.6/package.provided
new file mode 100644
index 000000000000..29db1c93c0d5
--- /dev/null
+++ b/profiles/prefix/darwin/macos/10.6/package.provided
@@ -0,0 +1,5 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+sys-darwin/libsystem-71
diff --git a/profiles/prefix/darwin/macos/10.6/package.use.mask b/profiles/prefix/darwin/macos/10.6/package.use.mask
new file mode 100644
index 000000000000..5003fa689703
--- /dev/null
+++ b/profiles/prefix/darwin/macos/10.6/package.use.mask
@@ -0,0 +1,8 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+
+# Elias Pipping <pipping@gentoo.org> (25 Nov 2007)
+# there's no (official) java6 on macosx
+dev-util/checkstyle test
diff --git a/profiles/prefix/darwin/macos/10.6/parent b/profiles/prefix/darwin/macos/10.6/parent
new file mode 100644
index 000000000000..f3229c5b9876
--- /dev/null
+++ b/profiles/prefix/darwin/macos/10.6/parent
@@ -0,0 +1 @@
+..
diff --git a/profiles/prefix/darwin/macos/10.6/profile.bashrc b/profiles/prefix/darwin/macos/10.6/profile.bashrc
new file mode 100644
index 000000000000..69291f841356
--- /dev/null
+++ b/profiles/prefix/darwin/macos/10.6/profile.bashrc
@@ -0,0 +1,5 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+export MACOSX_DEPLOYMENT_TARGET=10.6
diff --git a/profiles/prefix/darwin/macos/10.6/x64/eapi b/profiles/prefix/darwin/macos/10.6/x64/eapi
new file mode 100644
index 000000000000..7ed6ff82de6b
--- /dev/null
+++ b/profiles/prefix/darwin/macos/10.6/x64/eapi
@@ -0,0 +1 @@
+5
diff --git a/profiles/prefix/darwin/macos/10.6/x64/make.defaults b/profiles/prefix/darwin/macos/10.6/x64/make.defaults
new file mode 100644
index 000000000000..23a4c84da2b8
--- /dev/null
+++ b/profiles/prefix/darwin/macos/10.6/x64/make.defaults
@@ -0,0 +1,13 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+ARCH="x64-macos"
+CHOST="x86_64-apple-darwin10"
+ACCEPT_KEYWORDS="~x64-macos"
+
+USE="mmx mmxext sse sse2"
+CPU_FLAGS_X86="mmx mmxext sse sse2"
+# set arch to nocona for all MacTel users, as this enables SSE and MMX
+# support in GCC, nocona = Core2Duo = 64-bits
+CFLAGS="-march=nocona"
diff --git a/profiles/prefix/darwin/macos/10.6/x64/package.mask b/profiles/prefix/darwin/macos/10.6/x64/package.mask
new file mode 100644
index 000000000000..4645c5d42c61
--- /dev/null
+++ b/profiles/prefix/darwin/macos/10.6/x64/package.mask
@@ -0,0 +1,3 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
diff --git a/profiles/prefix/darwin/macos/10.6/x64/package.use.force b/profiles/prefix/darwin/macos/10.6/x64/package.use.force
new file mode 100644
index 000000000000..224ed0fc48b8
--- /dev/null
+++ b/profiles/prefix/darwin/macos/10.6/x64/package.use.force
@@ -0,0 +1,7 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+# Elias Pipping <pipping@gentoo.org> (30 Sep 2007)
+# compiles with -aqua, doesn't work, though
+media-video/mplayer aqua
diff --git a/profiles/prefix/darwin/macos/10.6/x64/package.use.mask b/profiles/prefix/darwin/macos/10.6/x64/package.use.mask
new file mode 100644
index 000000000000..6bc858049e42
--- /dev/null
+++ b/profiles/prefix/darwin/macos/10.6/x64/package.use.mask
@@ -0,0 +1,5 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+
diff --git a/profiles/prefix/darwin/macos/10.6/x64/parent b/profiles/prefix/darwin/macos/10.6/x64/parent
new file mode 100644
index 000000000000..fc24616eeda4
--- /dev/null
+++ b/profiles/prefix/darwin/macos/10.6/x64/parent
@@ -0,0 +1,2 @@
+../../arch/x64
+..
diff --git a/profiles/prefix/darwin/macos/10.6/x64/use.mask b/profiles/prefix/darwin/macos/10.6/x64/use.mask
new file mode 100644
index 000000000000..f1549ec0ec6e
--- /dev/null
+++ b/profiles/prefix/darwin/macos/10.6/x64/use.mask
@@ -0,0 +1,59 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+# This file masks out USE flags that are simply NOT allowed in the default
+# x86 profile. This works, for example, if another architecture's
+# profile have a USE flag associated with (such as altivec, mmx, etc).
+
+# Unmask x86 instruction sets
+-icc
+-icc-pgo
+-ifc
+-mmx
+-mmxext
+-sse
+-sse2
+-ssse3
+-cpu_flags_x86_mmx
+-cpu_flags_x86_mmxext
+-cpu_flags_x86_sse
+-cpu_flags_x86_sse2
+-cpu_flags_x86_ssse3
+-svga
+-kqemu
+
+# Unmask nvidia XvMC support
+-nvidia
+
+# Unmask dev-db/oracle-instantclient-basic support
+-oci8-instant-client
+
+# Unmask osp, used by asterisk; bug 115798
+-osp
+
+# Modular X: unmask for architectures on which they are available
+-input_devices_synaptics
+-input_devices_vmmouse
+-input_devices_wacom
+-video_cards_nvidia
+-video_cards_fglrx
+-video_cards_vmware
+
+# Modular X: mask for architectures on which they aren't available
+video_cards_newport
+
+#codec support
+-x264
+
+# lvm2 cluster
+-gulm
+
+# ibm is only used for ppc64 stuff
+ibm
+
+# psyco works on x86
+-psyco
+
+# Adobe FDF toolkit is x86 only.
+-fdftk
diff --git a/profiles/prefix/darwin/macos/10.6/x86/eapi b/profiles/prefix/darwin/macos/10.6/x86/eapi
new file mode 100644
index 000000000000..7ed6ff82de6b
--- /dev/null
+++ b/profiles/prefix/darwin/macos/10.6/x86/eapi
@@ -0,0 +1 @@
+5
diff --git a/profiles/prefix/darwin/macos/10.6/x86/make.defaults b/profiles/prefix/darwin/macos/10.6/x86/make.defaults
new file mode 100644
index 000000000000..ef3a3932cb02
--- /dev/null
+++ b/profiles/prefix/darwin/macos/10.6/x86/make.defaults
@@ -0,0 +1,13 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+ARCH="x86-macos"
+CHOST="i686-apple-darwin10"
+ACCEPT_KEYWORDS="~x86-macos"
+
+USE="mmx mmxext sse sse2"
+CPU_FLAGS_X86="mmx mmxext sse sse2"
+# normally we set arch to prescott for all MacTel users, as this enables
+# SSE and MMX support in GCC
+CFLAGS="-march=prescott"
diff --git a/profiles/prefix/darwin/macos/10.6/x86/package.mask b/profiles/prefix/darwin/macos/10.6/x86/package.mask
new file mode 100644
index 000000000000..4413ca2d3df3
--- /dev/null
+++ b/profiles/prefix/darwin/macos/10.6/x86/package.mask
@@ -0,0 +1,4 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
diff --git a/profiles/prefix/darwin/macos/10.6/x86/package.use.force b/profiles/prefix/darwin/macos/10.6/x86/package.use.force
new file mode 100644
index 000000000000..224ed0fc48b8
--- /dev/null
+++ b/profiles/prefix/darwin/macos/10.6/x86/package.use.force
@@ -0,0 +1,7 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+# Elias Pipping <pipping@gentoo.org> (30 Sep 2007)
+# compiles with -aqua, doesn't work, though
+media-video/mplayer aqua
diff --git a/profiles/prefix/darwin/macos/10.6/x86/package.use.mask b/profiles/prefix/darwin/macos/10.6/x86/package.use.mask
new file mode 100644
index 000000000000..6bc858049e42
--- /dev/null
+++ b/profiles/prefix/darwin/macos/10.6/x86/package.use.mask
@@ -0,0 +1,5 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+
diff --git a/profiles/prefix/darwin/macos/10.6/x86/parent b/profiles/prefix/darwin/macos/10.6/x86/parent
new file mode 100644
index 000000000000..4a6aa36b18d9
--- /dev/null
+++ b/profiles/prefix/darwin/macos/10.6/x86/parent
@@ -0,0 +1,2 @@
+../../arch/x86
+..
diff --git a/profiles/prefix/darwin/macos/10.6/x86/use.mask b/profiles/prefix/darwin/macos/10.6/x86/use.mask
new file mode 100644
index 000000000000..f1549ec0ec6e
--- /dev/null
+++ b/profiles/prefix/darwin/macos/10.6/x86/use.mask
@@ -0,0 +1,59 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+# This file masks out USE flags that are simply NOT allowed in the default
+# x86 profile. This works, for example, if another architecture's
+# profile have a USE flag associated with (such as altivec, mmx, etc).
+
+# Unmask x86 instruction sets
+-icc
+-icc-pgo
+-ifc
+-mmx
+-mmxext
+-sse
+-sse2
+-ssse3
+-cpu_flags_x86_mmx
+-cpu_flags_x86_mmxext
+-cpu_flags_x86_sse
+-cpu_flags_x86_sse2
+-cpu_flags_x86_ssse3
+-svga
+-kqemu
+
+# Unmask nvidia XvMC support
+-nvidia
+
+# Unmask dev-db/oracle-instantclient-basic support
+-oci8-instant-client
+
+# Unmask osp, used by asterisk; bug 115798
+-osp
+
+# Modular X: unmask for architectures on which they are available
+-input_devices_synaptics
+-input_devices_vmmouse
+-input_devices_wacom
+-video_cards_nvidia
+-video_cards_fglrx
+-video_cards_vmware
+
+# Modular X: mask for architectures on which they aren't available
+video_cards_newport
+
+#codec support
+-x264
+
+# lvm2 cluster
+-gulm
+
+# ibm is only used for ppc64 stuff
+ibm
+
+# psyco works on x86
+-psyco
+
+# Adobe FDF toolkit is x86 only.
+-fdftk
diff --git a/profiles/prefix/darwin/macos/10.7/eapi b/profiles/prefix/darwin/macos/10.7/eapi
new file mode 100644
index 000000000000..7ed6ff82de6b
--- /dev/null
+++ b/profiles/prefix/darwin/macos/10.7/eapi
@@ -0,0 +1 @@
+5
diff --git a/profiles/prefix/darwin/macos/10.7/make.defaults b/profiles/prefix/darwin/macos/10.7/make.defaults
new file mode 100644
index 000000000000..d49d1ad99682
--- /dev/null
+++ b/profiles/prefix/darwin/macos/10.7/make.defaults
@@ -0,0 +1,9 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+MACOSX_DEPLOYMENT_TARGET="10.7"
+
+# sandbox is working with use of Mac OS X's seatbelt (since 10.5)
+# but it generates problems, #456234
+#FEATURES="sandbox"
diff --git a/profiles/prefix/darwin/macos/10.7/package.provided b/profiles/prefix/darwin/macos/10.7/package.provided
new file mode 100644
index 000000000000..33061bbe5dc2
--- /dev/null
+++ b/profiles/prefix/darwin/macos/10.7/package.provided
@@ -0,0 +1,5 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+sys-darwin/libsystem-71
diff --git a/profiles/prefix/darwin/macos/10.7/package.use.mask b/profiles/prefix/darwin/macos/10.7/package.use.mask
new file mode 100644
index 000000000000..c91450cfd0a4
--- /dev/null
+++ b/profiles/prefix/darwin/macos/10.7/package.use.mask
@@ -0,0 +1,8 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+# Fabian Groffen <grobian@gentoo.org> (10 Apr 2011)
+# as long as util-linux installs uuid.h which breaks the system headers
+# (hence we don't) we can't do uuid support here
+x11-libs/libSM -uuid
diff --git a/profiles/prefix/darwin/macos/10.7/parent b/profiles/prefix/darwin/macos/10.7/parent
new file mode 100644
index 000000000000..f3229c5b9876
--- /dev/null
+++ b/profiles/prefix/darwin/macos/10.7/parent
@@ -0,0 +1 @@
+..
diff --git a/profiles/prefix/darwin/macos/10.7/profile.bashrc b/profiles/prefix/darwin/macos/10.7/profile.bashrc
new file mode 100644
index 000000000000..032824b59336
--- /dev/null
+++ b/profiles/prefix/darwin/macos/10.7/profile.bashrc
@@ -0,0 +1,5 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+export MACOSX_DEPLOYMENT_TARGET=10.7
diff --git a/profiles/prefix/darwin/macos/10.7/x64/eapi b/profiles/prefix/darwin/macos/10.7/x64/eapi
new file mode 100644
index 000000000000..7ed6ff82de6b
--- /dev/null
+++ b/profiles/prefix/darwin/macos/10.7/x64/eapi
@@ -0,0 +1 @@
+5
diff --git a/profiles/prefix/darwin/macos/10.7/x64/make.defaults b/profiles/prefix/darwin/macos/10.7/x64/make.defaults
new file mode 100644
index 000000000000..69a5d6a640c1
--- /dev/null
+++ b/profiles/prefix/darwin/macos/10.7/x64/make.defaults
@@ -0,0 +1,13 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+ARCH="x64-macos"
+CHOST="x86_64-apple-darwin11"
+ACCEPT_KEYWORDS="~x64-macos"
+
+USE="mmx mmxext sse sse2"
+CPU_FLAGS_X86="mmx mmxext sse sse2"
+# set arch to nocona for all MacTel users, as this enables SSE and MMX
+# support in GCC, nocona = Core2Duo = 64-bits
+CFLAGS="-march=nocona"
diff --git a/profiles/prefix/darwin/macos/10.7/x64/package.mask b/profiles/prefix/darwin/macos/10.7/x64/package.mask
new file mode 100644
index 000000000000..9973a0f32ab4
--- /dev/null
+++ b/profiles/prefix/darwin/macos/10.7/x64/package.mask
@@ -0,0 +1,3 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
diff --git a/profiles/prefix/darwin/macos/10.7/x64/package.use.force b/profiles/prefix/darwin/macos/10.7/x64/package.use.force
new file mode 100644
index 000000000000..22105b2beb01
--- /dev/null
+++ b/profiles/prefix/darwin/macos/10.7/x64/package.use.force
@@ -0,0 +1,7 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+# Elias Pipping <pipping@gentoo.org> (30 Sep 2007)
+# compiles with -aqua, doesn't work, though
+media-video/mplayer aqua
diff --git a/profiles/prefix/darwin/macos/10.7/x64/package.use.mask b/profiles/prefix/darwin/macos/10.7/x64/package.use.mask
new file mode 100644
index 000000000000..6bc858049e42
--- /dev/null
+++ b/profiles/prefix/darwin/macos/10.7/x64/package.use.mask
@@ -0,0 +1,5 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+
diff --git a/profiles/prefix/darwin/macos/10.7/x64/parent b/profiles/prefix/darwin/macos/10.7/x64/parent
new file mode 100644
index 000000000000..fc24616eeda4
--- /dev/null
+++ b/profiles/prefix/darwin/macos/10.7/x64/parent
@@ -0,0 +1,2 @@
+../../arch/x64
+..
diff --git a/profiles/prefix/darwin/macos/10.7/x64/use.mask b/profiles/prefix/darwin/macos/10.7/x64/use.mask
new file mode 100644
index 000000000000..f1549ec0ec6e
--- /dev/null
+++ b/profiles/prefix/darwin/macos/10.7/x64/use.mask
@@ -0,0 +1,59 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+# This file masks out USE flags that are simply NOT allowed in the default
+# x86 profile. This works, for example, if another architecture's
+# profile have a USE flag associated with (such as altivec, mmx, etc).
+
+# Unmask x86 instruction sets
+-icc
+-icc-pgo
+-ifc
+-mmx
+-mmxext
+-sse
+-sse2
+-ssse3
+-cpu_flags_x86_mmx
+-cpu_flags_x86_mmxext
+-cpu_flags_x86_sse
+-cpu_flags_x86_sse2
+-cpu_flags_x86_ssse3
+-svga
+-kqemu
+
+# Unmask nvidia XvMC support
+-nvidia
+
+# Unmask dev-db/oracle-instantclient-basic support
+-oci8-instant-client
+
+# Unmask osp, used by asterisk; bug 115798
+-osp
+
+# Modular X: unmask for architectures on which they are available
+-input_devices_synaptics
+-input_devices_vmmouse
+-input_devices_wacom
+-video_cards_nvidia
+-video_cards_fglrx
+-video_cards_vmware
+
+# Modular X: mask for architectures on which they aren't available
+video_cards_newport
+
+#codec support
+-x264
+
+# lvm2 cluster
+-gulm
+
+# ibm is only used for ppc64 stuff
+ibm
+
+# psyco works on x86
+-psyco
+
+# Adobe FDF toolkit is x86 only.
+-fdftk
diff --git a/profiles/prefix/darwin/macos/10.7/x86/eapi b/profiles/prefix/darwin/macos/10.7/x86/eapi
new file mode 100644
index 000000000000..7ed6ff82de6b
--- /dev/null
+++ b/profiles/prefix/darwin/macos/10.7/x86/eapi
@@ -0,0 +1 @@
+5
diff --git a/profiles/prefix/darwin/macos/10.7/x86/make.defaults b/profiles/prefix/darwin/macos/10.7/x86/make.defaults
new file mode 100644
index 000000000000..2097d6872ee5
--- /dev/null
+++ b/profiles/prefix/darwin/macos/10.7/x86/make.defaults
@@ -0,0 +1,13 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+ARCH="x86-macos"
+CHOST="i686-apple-darwin11"
+ACCEPT_KEYWORDS="~x86-macos"
+
+USE="mmx mmxext sse sse2"
+CPU_FLAGS_X86="mmx mmxext sse sse2"
+# normally we set arch to prescott for all MacTel users, as this enables
+# SSE and MMX support in GCC
+CFLAGS="-march=prescott"
diff --git a/profiles/prefix/darwin/macos/10.7/x86/package.mask b/profiles/prefix/darwin/macos/10.7/x86/package.mask
new file mode 100644
index 000000000000..2c336012be28
--- /dev/null
+++ b/profiles/prefix/darwin/macos/10.7/x86/package.mask
@@ -0,0 +1,10 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+# The Carbon interface has been removed entirely in Lion, only tk-8.6
+# will come with Cocoa support. If you must have tk, you'll have to
+# force USE=-aqua, but don't report bugs for incompatabilities you might
+# encounter.
+# NOTE: keep this mask synced with arch/x64
+<dev-lang/tk-8.6
diff --git a/profiles/prefix/darwin/macos/10.7/x86/package.use.force b/profiles/prefix/darwin/macos/10.7/x86/package.use.force
new file mode 100644
index 000000000000..22105b2beb01
--- /dev/null
+++ b/profiles/prefix/darwin/macos/10.7/x86/package.use.force
@@ -0,0 +1,7 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+# Elias Pipping <pipping@gentoo.org> (30 Sep 2007)
+# compiles with -aqua, doesn't work, though
+media-video/mplayer aqua
diff --git a/profiles/prefix/darwin/macos/10.7/x86/package.use.mask b/profiles/prefix/darwin/macos/10.7/x86/package.use.mask
new file mode 100644
index 000000000000..6bc858049e42
--- /dev/null
+++ b/profiles/prefix/darwin/macos/10.7/x86/package.use.mask
@@ -0,0 +1,5 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+
diff --git a/profiles/prefix/darwin/macos/10.7/x86/parent b/profiles/prefix/darwin/macos/10.7/x86/parent
new file mode 100644
index 000000000000..4a6aa36b18d9
--- /dev/null
+++ b/profiles/prefix/darwin/macos/10.7/x86/parent
@@ -0,0 +1,2 @@
+../../arch/x86
+..
diff --git a/profiles/prefix/darwin/macos/10.7/x86/use.mask b/profiles/prefix/darwin/macos/10.7/x86/use.mask
new file mode 100644
index 000000000000..f1549ec0ec6e
--- /dev/null
+++ b/profiles/prefix/darwin/macos/10.7/x86/use.mask
@@ -0,0 +1,59 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+# This file masks out USE flags that are simply NOT allowed in the default
+# x86 profile. This works, for example, if another architecture's
+# profile have a USE flag associated with (such as altivec, mmx, etc).
+
+# Unmask x86 instruction sets
+-icc
+-icc-pgo
+-ifc
+-mmx
+-mmxext
+-sse
+-sse2
+-ssse3
+-cpu_flags_x86_mmx
+-cpu_flags_x86_mmxext
+-cpu_flags_x86_sse
+-cpu_flags_x86_sse2
+-cpu_flags_x86_ssse3
+-svga
+-kqemu
+
+# Unmask nvidia XvMC support
+-nvidia
+
+# Unmask dev-db/oracle-instantclient-basic support
+-oci8-instant-client
+
+# Unmask osp, used by asterisk; bug 115798
+-osp
+
+# Modular X: unmask for architectures on which they are available
+-input_devices_synaptics
+-input_devices_vmmouse
+-input_devices_wacom
+-video_cards_nvidia
+-video_cards_fglrx
+-video_cards_vmware
+
+# Modular X: mask for architectures on which they aren't available
+video_cards_newport
+
+#codec support
+-x264
+
+# lvm2 cluster
+-gulm
+
+# ibm is only used for ppc64 stuff
+ibm
+
+# psyco works on x86
+-psyco
+
+# Adobe FDF toolkit is x86 only.
+-fdftk
diff --git a/profiles/prefix/darwin/macos/10.8/eapi b/profiles/prefix/darwin/macos/10.8/eapi
new file mode 100644
index 000000000000..7ed6ff82de6b
--- /dev/null
+++ b/profiles/prefix/darwin/macos/10.8/eapi
@@ -0,0 +1 @@
+5
diff --git a/profiles/prefix/darwin/macos/10.8/make.defaults b/profiles/prefix/darwin/macos/10.8/make.defaults
new file mode 100644
index 000000000000..e0bcf6f9e68e
--- /dev/null
+++ b/profiles/prefix/darwin/macos/10.8/make.defaults
@@ -0,0 +1,9 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+MACOSX_DEPLOYMENT_TARGET="10.8"
+
+# sandbox is working with use of Mac OS X's seatbelt (since 10.5)
+# but it generates problems, #456234
+#FEATURES="sandbox"
diff --git a/profiles/prefix/darwin/macos/10.8/package.mask b/profiles/prefix/darwin/macos/10.8/package.mask
new file mode 100644
index 000000000000..2d9146deeec1
--- /dev/null
+++ b/profiles/prefix/darwin/macos/10.8/package.mask
@@ -0,0 +1,8 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+# Fabian Groffen <grobian@gentoo.org> (30 Sep 2012)
+# Requires XQuartz, since Apple dropped much of X-support in 10.8
+# (a.k.a. Mountain Lion), bug #431182
+<=media-libs/opengl-apple-4.9999
diff --git a/profiles/prefix/darwin/macos/10.8/package.provided b/profiles/prefix/darwin/macos/10.8/package.provided
new file mode 100644
index 000000000000..107ddfe0684a
--- /dev/null
+++ b/profiles/prefix/darwin/macos/10.8/package.provided
@@ -0,0 +1,5 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+sys-darwin/libsystem-71
diff --git a/profiles/prefix/darwin/macos/10.8/package.unmask b/profiles/prefix/darwin/macos/10.8/package.unmask
new file mode 100644
index 000000000000..2dd27582b8a8
--- /dev/null
+++ b/profiles/prefix/darwin/macos/10.8/package.unmask
@@ -0,0 +1,8 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+# James Le Cuirot <chewi@gentoo.org> (29 Jul 2015)
+# Recent releases are supported in 10.8.
+dev-java/oracle-jdk-bin
+dev-java/oracle-jre-bin
diff --git a/profiles/prefix/darwin/macos/10.8/package.use.mask b/profiles/prefix/darwin/macos/10.8/package.use.mask
new file mode 100644
index 000000000000..87e5c709ad17
--- /dev/null
+++ b/profiles/prefix/darwin/macos/10.8/package.use.mask
@@ -0,0 +1,8 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+# Fabian Groffen <grobian@gentoo.org> (10 Apr 2011)
+# as long as util-linux installs uuid.h which breaks the system headers
+# (hence we don't) we can't do uuid support here
+x11-libs/libSM -uuid
diff --git a/profiles/prefix/darwin/macos/10.8/parent b/profiles/prefix/darwin/macos/10.8/parent
new file mode 100644
index 000000000000..f3229c5b9876
--- /dev/null
+++ b/profiles/prefix/darwin/macos/10.8/parent
@@ -0,0 +1 @@
+..
diff --git a/profiles/prefix/darwin/macos/10.8/profile.bashrc b/profiles/prefix/darwin/macos/10.8/profile.bashrc
new file mode 100644
index 000000000000..f4b7140c83fc
--- /dev/null
+++ b/profiles/prefix/darwin/macos/10.8/profile.bashrc
@@ -0,0 +1,5 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+export MACOSX_DEPLOYMENT_TARGET=10.8
diff --git a/profiles/prefix/darwin/macos/10.8/x64/eapi b/profiles/prefix/darwin/macos/10.8/x64/eapi
new file mode 100644
index 000000000000..7ed6ff82de6b
--- /dev/null
+++ b/profiles/prefix/darwin/macos/10.8/x64/eapi
@@ -0,0 +1 @@
+5
diff --git a/profiles/prefix/darwin/macos/10.8/x64/make.defaults b/profiles/prefix/darwin/macos/10.8/x64/make.defaults
new file mode 100644
index 000000000000..013e22939e11
--- /dev/null
+++ b/profiles/prefix/darwin/macos/10.8/x64/make.defaults
@@ -0,0 +1,13 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+ARCH="x64-macos"
+CHOST="x86_64-apple-darwin12"
+ACCEPT_KEYWORDS="~x64-macos"
+
+USE="mmx mmxext sse sse2"
+CPU_FLAGS_X86="mmx mmxext sse sse2"
+# set arch to nocona for all MacTel users, as this enables SSE and MMX
+# support in GCC, nocona = Core2Duo = 64-bits
+CFLAGS="-march=nocona"
diff --git a/profiles/prefix/darwin/macos/10.8/x64/package.mask b/profiles/prefix/darwin/macos/10.8/x64/package.mask
new file mode 100644
index 000000000000..fb619961e6db
--- /dev/null
+++ b/profiles/prefix/darwin/macos/10.8/x64/package.mask
@@ -0,0 +1,3 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
diff --git a/profiles/prefix/darwin/macos/10.8/x64/package.use.force b/profiles/prefix/darwin/macos/10.8/x64/package.use.force
new file mode 100644
index 000000000000..e35f07f45593
--- /dev/null
+++ b/profiles/prefix/darwin/macos/10.8/x64/package.use.force
@@ -0,0 +1,7 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+# Elias Pipping <pipping@gentoo.org> (30 Sep 2007)
+# compiles with -aqua, doesn't work, though
+media-video/mplayer aqua
diff --git a/profiles/prefix/darwin/macos/10.8/x64/package.use.mask b/profiles/prefix/darwin/macos/10.8/x64/package.use.mask
new file mode 100644
index 000000000000..ae43b989aafb
--- /dev/null
+++ b/profiles/prefix/darwin/macos/10.8/x64/package.use.mask
@@ -0,0 +1,5 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+
diff --git a/profiles/prefix/darwin/macos/10.8/x64/parent b/profiles/prefix/darwin/macos/10.8/x64/parent
new file mode 100644
index 000000000000..fc24616eeda4
--- /dev/null
+++ b/profiles/prefix/darwin/macos/10.8/x64/parent
@@ -0,0 +1,2 @@
+../../arch/x64
+..
diff --git a/profiles/prefix/darwin/macos/10.8/x64/use.mask b/profiles/prefix/darwin/macos/10.8/x64/use.mask
new file mode 100644
index 000000000000..f1549ec0ec6e
--- /dev/null
+++ b/profiles/prefix/darwin/macos/10.8/x64/use.mask
@@ -0,0 +1,59 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+# This file masks out USE flags that are simply NOT allowed in the default
+# x86 profile. This works, for example, if another architecture's
+# profile have a USE flag associated with (such as altivec, mmx, etc).
+
+# Unmask x86 instruction sets
+-icc
+-icc-pgo
+-ifc
+-mmx
+-mmxext
+-sse
+-sse2
+-ssse3
+-cpu_flags_x86_mmx
+-cpu_flags_x86_mmxext
+-cpu_flags_x86_sse
+-cpu_flags_x86_sse2
+-cpu_flags_x86_ssse3
+-svga
+-kqemu
+
+# Unmask nvidia XvMC support
+-nvidia
+
+# Unmask dev-db/oracle-instantclient-basic support
+-oci8-instant-client
+
+# Unmask osp, used by asterisk; bug 115798
+-osp
+
+# Modular X: unmask for architectures on which they are available
+-input_devices_synaptics
+-input_devices_vmmouse
+-input_devices_wacom
+-video_cards_nvidia
+-video_cards_fglrx
+-video_cards_vmware
+
+# Modular X: mask for architectures on which they aren't available
+video_cards_newport
+
+#codec support
+-x264
+
+# lvm2 cluster
+-gulm
+
+# ibm is only used for ppc64 stuff
+ibm
+
+# psyco works on x86
+-psyco
+
+# Adobe FDF toolkit is x86 only.
+-fdftk
diff --git a/profiles/prefix/darwin/macos/10.8/x86/eapi b/profiles/prefix/darwin/macos/10.8/x86/eapi
new file mode 100644
index 000000000000..7ed6ff82de6b
--- /dev/null
+++ b/profiles/prefix/darwin/macos/10.8/x86/eapi
@@ -0,0 +1 @@
+5
diff --git a/profiles/prefix/darwin/macos/10.8/x86/make.defaults b/profiles/prefix/darwin/macos/10.8/x86/make.defaults
new file mode 100644
index 000000000000..c3dd43c71325
--- /dev/null
+++ b/profiles/prefix/darwin/macos/10.8/x86/make.defaults
@@ -0,0 +1,13 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+ARCH="x86-macos"
+CHOST="i686-apple-darwin12"
+ACCEPT_KEYWORDS="~x86-macos"
+
+USE="mmx mmxext sse sse2"
+CPU_FLAGS_X86="mmx mmxext sse sse2"
+# normally we set arch to prescott for all MacTel users, as this enables
+# SSE and MMX support in GCC
+CFLAGS="-march=prescott"
diff --git a/profiles/prefix/darwin/macos/10.8/x86/package.mask b/profiles/prefix/darwin/macos/10.8/x86/package.mask
new file mode 100644
index 000000000000..2c336012be28
--- /dev/null
+++ b/profiles/prefix/darwin/macos/10.8/x86/package.mask
@@ -0,0 +1,10 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+# The Carbon interface has been removed entirely in Lion, only tk-8.6
+# will come with Cocoa support. If you must have tk, you'll have to
+# force USE=-aqua, but don't report bugs for incompatabilities you might
+# encounter.
+# NOTE: keep this mask synced with arch/x64
+<dev-lang/tk-8.6
diff --git a/profiles/prefix/darwin/macos/10.8/x86/package.use.force b/profiles/prefix/darwin/macos/10.8/x86/package.use.force
new file mode 100644
index 000000000000..e35f07f45593
--- /dev/null
+++ b/profiles/prefix/darwin/macos/10.8/x86/package.use.force
@@ -0,0 +1,7 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+# Elias Pipping <pipping@gentoo.org> (30 Sep 2007)
+# compiles with -aqua, doesn't work, though
+media-video/mplayer aqua
diff --git a/profiles/prefix/darwin/macos/10.8/x86/package.use.mask b/profiles/prefix/darwin/macos/10.8/x86/package.use.mask
new file mode 100644
index 000000000000..ae43b989aafb
--- /dev/null
+++ b/profiles/prefix/darwin/macos/10.8/x86/package.use.mask
@@ -0,0 +1,5 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+
diff --git a/profiles/prefix/darwin/macos/10.8/x86/parent b/profiles/prefix/darwin/macos/10.8/x86/parent
new file mode 100644
index 000000000000..4a6aa36b18d9
--- /dev/null
+++ b/profiles/prefix/darwin/macos/10.8/x86/parent
@@ -0,0 +1,2 @@
+../../arch/x86
+..
diff --git a/profiles/prefix/darwin/macos/10.8/x86/use.mask b/profiles/prefix/darwin/macos/10.8/x86/use.mask
new file mode 100644
index 000000000000..f1549ec0ec6e
--- /dev/null
+++ b/profiles/prefix/darwin/macos/10.8/x86/use.mask
@@ -0,0 +1,59 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+# This file masks out USE flags that are simply NOT allowed in the default
+# x86 profile. This works, for example, if another architecture's
+# profile have a USE flag associated with (such as altivec, mmx, etc).
+
+# Unmask x86 instruction sets
+-icc
+-icc-pgo
+-ifc
+-mmx
+-mmxext
+-sse
+-sse2
+-ssse3
+-cpu_flags_x86_mmx
+-cpu_flags_x86_mmxext
+-cpu_flags_x86_sse
+-cpu_flags_x86_sse2
+-cpu_flags_x86_ssse3
+-svga
+-kqemu
+
+# Unmask nvidia XvMC support
+-nvidia
+
+# Unmask dev-db/oracle-instantclient-basic support
+-oci8-instant-client
+
+# Unmask osp, used by asterisk; bug 115798
+-osp
+
+# Modular X: unmask for architectures on which they are available
+-input_devices_synaptics
+-input_devices_vmmouse
+-input_devices_wacom
+-video_cards_nvidia
+-video_cards_fglrx
+-video_cards_vmware
+
+# Modular X: mask for architectures on which they aren't available
+video_cards_newport
+
+#codec support
+-x264
+
+# lvm2 cluster
+-gulm
+
+# ibm is only used for ppc64 stuff
+ibm
+
+# psyco works on x86
+-psyco
+
+# Adobe FDF toolkit is x86 only.
+-fdftk
diff --git a/profiles/prefix/darwin/macos/10.9/eapi b/profiles/prefix/darwin/macos/10.9/eapi
new file mode 100644
index 000000000000..7ed6ff82de6b
--- /dev/null
+++ b/profiles/prefix/darwin/macos/10.9/eapi
@@ -0,0 +1 @@
+5
diff --git a/profiles/prefix/darwin/macos/10.9/make.defaults b/profiles/prefix/darwin/macos/10.9/make.defaults
new file mode 100644
index 000000000000..5062be9ba30f
--- /dev/null
+++ b/profiles/prefix/darwin/macos/10.9/make.defaults
@@ -0,0 +1,9 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+MACOSX_DEPLOYMENT_TARGET="10.9"
+
+# sandbox is working with use of Mac OS X's seatbelt (since 10.5)
+# but it generates problems, #456234
+#FEATURES="sandbox"
diff --git a/profiles/prefix/darwin/macos/10.9/package.mask b/profiles/prefix/darwin/macos/10.9/package.mask
new file mode 100644
index 000000000000..f71c6e3ba79e
--- /dev/null
+++ b/profiles/prefix/darwin/macos/10.9/package.mask
@@ -0,0 +1,8 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+# Fabian Groffen <grobian@gentoo.org> (30 Sep 2012)
+# Requires XQuartz, since Apple dropped much of X-support in 10.8
+# (a.k.a. Mountain Lion), bug #431182
+<=media-libs/opengl-apple-4.9999
diff --git a/profiles/prefix/darwin/macos/10.9/package.provided b/profiles/prefix/darwin/macos/10.9/package.provided
new file mode 100644
index 000000000000..31e765ad7ab9
--- /dev/null
+++ b/profiles/prefix/darwin/macos/10.9/package.provided
@@ -0,0 +1,5 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+sys-darwin/libsystem-71
diff --git a/profiles/prefix/darwin/macos/10.9/package.unmask b/profiles/prefix/darwin/macos/10.9/package.unmask
new file mode 100644
index 000000000000..d2d608764648
--- /dev/null
+++ b/profiles/prefix/darwin/macos/10.9/package.unmask
@@ -0,0 +1,8 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+# James Le Cuirot <chewi@gentoo.org> (29 Jul 2015)
+# Recent releases are supported in 10.9.
+dev-java/oracle-jdk-bin
+dev-java/oracle-jre-bin
diff --git a/profiles/prefix/darwin/macos/10.9/package.use.mask b/profiles/prefix/darwin/macos/10.9/package.use.mask
new file mode 100644
index 000000000000..7f154936de40
--- /dev/null
+++ b/profiles/prefix/darwin/macos/10.9/package.use.mask
@@ -0,0 +1,8 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+# Fabian Groffen <grobian@gentoo.org> (10 Apr 2011)
+# as long as util-linux installs uuid.h which breaks the system headers
+# (hence we don't) we can't do uuid support here
+x11-libs/libSM -uuid
diff --git a/profiles/prefix/darwin/macos/10.9/parent b/profiles/prefix/darwin/macos/10.9/parent
new file mode 100644
index 000000000000..f3229c5b9876
--- /dev/null
+++ b/profiles/prefix/darwin/macos/10.9/parent
@@ -0,0 +1 @@
+..
diff --git a/profiles/prefix/darwin/macos/10.9/profile.bashrc b/profiles/prefix/darwin/macos/10.9/profile.bashrc
new file mode 100644
index 000000000000..06bf9111d387
--- /dev/null
+++ b/profiles/prefix/darwin/macos/10.9/profile.bashrc
@@ -0,0 +1,5 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+export MACOSX_DEPLOYMENT_TARGET=10.9
diff --git a/profiles/prefix/darwin/macos/10.9/x64/eapi b/profiles/prefix/darwin/macos/10.9/x64/eapi
new file mode 100644
index 000000000000..7ed6ff82de6b
--- /dev/null
+++ b/profiles/prefix/darwin/macos/10.9/x64/eapi
@@ -0,0 +1 @@
+5
diff --git a/profiles/prefix/darwin/macos/10.9/x64/make.defaults b/profiles/prefix/darwin/macos/10.9/x64/make.defaults
new file mode 100644
index 000000000000..b10fb531d25f
--- /dev/null
+++ b/profiles/prefix/darwin/macos/10.9/x64/make.defaults
@@ -0,0 +1,13 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+ARCH="x64-macos"
+CHOST="x86_64-apple-darwin13"
+ACCEPT_KEYWORDS="~x64-macos"
+
+USE="mmx mmxext sse sse2"
+CPU_FLAGS_X86="mmx mmxext sse sse2"
+# set arch to nocona for all MacTel users, as this enables SSE and MMX
+# support in GCC, nocona = Core2Duo = 64-bits
+CFLAGS="-march=nocona"
diff --git a/profiles/prefix/darwin/macos/10.9/x64/package.mask b/profiles/prefix/darwin/macos/10.9/x64/package.mask
new file mode 100644
index 000000000000..506a542c6493
--- /dev/null
+++ b/profiles/prefix/darwin/macos/10.9/x64/package.mask
@@ -0,0 +1,3 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
diff --git a/profiles/prefix/darwin/macos/10.9/x64/package.use.force b/profiles/prefix/darwin/macos/10.9/x64/package.use.force
new file mode 100644
index 000000000000..01103c99ea20
--- /dev/null
+++ b/profiles/prefix/darwin/macos/10.9/x64/package.use.force
@@ -0,0 +1,7 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+# Elias Pipping <pipping@gentoo.org> (30 Sep 2007)
+# compiles with -aqua, doesn't work, though
+media-video/mplayer aqua
diff --git a/profiles/prefix/darwin/macos/10.9/x64/package.use.mask b/profiles/prefix/darwin/macos/10.9/x64/package.use.mask
new file mode 100644
index 000000000000..ae8748b01226
--- /dev/null
+++ b/profiles/prefix/darwin/macos/10.9/x64/package.use.mask
@@ -0,0 +1,5 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+
diff --git a/profiles/prefix/darwin/macos/10.9/x64/parent b/profiles/prefix/darwin/macos/10.9/x64/parent
new file mode 100644
index 000000000000..fc24616eeda4
--- /dev/null
+++ b/profiles/prefix/darwin/macos/10.9/x64/parent
@@ -0,0 +1,2 @@
+../../arch/x64
+..
diff --git a/profiles/prefix/darwin/macos/10.9/x64/use.mask b/profiles/prefix/darwin/macos/10.9/x64/use.mask
new file mode 100644
index 000000000000..f1549ec0ec6e
--- /dev/null
+++ b/profiles/prefix/darwin/macos/10.9/x64/use.mask
@@ -0,0 +1,59 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+# This file masks out USE flags that are simply NOT allowed in the default
+# x86 profile. This works, for example, if another architecture's
+# profile have a USE flag associated with (such as altivec, mmx, etc).
+
+# Unmask x86 instruction sets
+-icc
+-icc-pgo
+-ifc
+-mmx
+-mmxext
+-sse
+-sse2
+-ssse3
+-cpu_flags_x86_mmx
+-cpu_flags_x86_mmxext
+-cpu_flags_x86_sse
+-cpu_flags_x86_sse2
+-cpu_flags_x86_ssse3
+-svga
+-kqemu
+
+# Unmask nvidia XvMC support
+-nvidia
+
+# Unmask dev-db/oracle-instantclient-basic support
+-oci8-instant-client
+
+# Unmask osp, used by asterisk; bug 115798
+-osp
+
+# Modular X: unmask for architectures on which they are available
+-input_devices_synaptics
+-input_devices_vmmouse
+-input_devices_wacom
+-video_cards_nvidia
+-video_cards_fglrx
+-video_cards_vmware
+
+# Modular X: mask for architectures on which they aren't available
+video_cards_newport
+
+#codec support
+-x264
+
+# lvm2 cluster
+-gulm
+
+# ibm is only used for ppc64 stuff
+ibm
+
+# psyco works on x86
+-psyco
+
+# Adobe FDF toolkit is x86 only.
+-fdftk
diff --git a/profiles/prefix/darwin/macos/10.9/x86/eapi b/profiles/prefix/darwin/macos/10.9/x86/eapi
new file mode 100644
index 000000000000..7ed6ff82de6b
--- /dev/null
+++ b/profiles/prefix/darwin/macos/10.9/x86/eapi
@@ -0,0 +1 @@
+5
diff --git a/profiles/prefix/darwin/macos/10.9/x86/make.defaults b/profiles/prefix/darwin/macos/10.9/x86/make.defaults
new file mode 100644
index 000000000000..95b47fbd2d64
--- /dev/null
+++ b/profiles/prefix/darwin/macos/10.9/x86/make.defaults
@@ -0,0 +1,13 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+ARCH="x86-macos"
+CHOST="i686-apple-darwin13"
+ACCEPT_KEYWORDS="~x86-macos"
+
+USE="mmx mmxext sse sse2"
+CPU_FLAGS_X86="mmx mmxext sse sse2"
+# normally we set arch to prescott for all MacTel users, as this enables
+# SSE and MMX support in GCC
+CFLAGS="-march=prescott"
diff --git a/profiles/prefix/darwin/macos/10.9/x86/package.mask b/profiles/prefix/darwin/macos/10.9/x86/package.mask
new file mode 100644
index 000000000000..0a359aa40775
--- /dev/null
+++ b/profiles/prefix/darwin/macos/10.9/x86/package.mask
@@ -0,0 +1,10 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+# The Carbon interface has been removed entirely in Lion, only tk-8.6
+# will come with Cocoa support. If you must have tk, you'll have to
+# force USE=-aqua, but don't report bugs for incompatabilities you might
+# encounter.
+# NOTE: keep this mask synced with arch/x64
+<dev-lang/tk-8.6
diff --git a/profiles/prefix/darwin/macos/10.9/x86/package.use.force b/profiles/prefix/darwin/macos/10.9/x86/package.use.force
new file mode 100644
index 000000000000..01103c99ea20
--- /dev/null
+++ b/profiles/prefix/darwin/macos/10.9/x86/package.use.force
@@ -0,0 +1,7 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+# Elias Pipping <pipping@gentoo.org> (30 Sep 2007)
+# compiles with -aqua, doesn't work, though
+media-video/mplayer aqua
diff --git a/profiles/prefix/darwin/macos/10.9/x86/package.use.mask b/profiles/prefix/darwin/macos/10.9/x86/package.use.mask
new file mode 100644
index 000000000000..ae8748b01226
--- /dev/null
+++ b/profiles/prefix/darwin/macos/10.9/x86/package.use.mask
@@ -0,0 +1,5 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+
diff --git a/profiles/prefix/darwin/macos/10.9/x86/parent b/profiles/prefix/darwin/macos/10.9/x86/parent
new file mode 100644
index 000000000000..4a6aa36b18d9
--- /dev/null
+++ b/profiles/prefix/darwin/macos/10.9/x86/parent
@@ -0,0 +1,2 @@
+../../arch/x86
+..
diff --git a/profiles/prefix/darwin/macos/10.9/x86/use.mask b/profiles/prefix/darwin/macos/10.9/x86/use.mask
new file mode 100644
index 000000000000..f1549ec0ec6e
--- /dev/null
+++ b/profiles/prefix/darwin/macos/10.9/x86/use.mask
@@ -0,0 +1,59 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+# This file masks out USE flags that are simply NOT allowed in the default
+# x86 profile. This works, for example, if another architecture's
+# profile have a USE flag associated with (such as altivec, mmx, etc).
+
+# Unmask x86 instruction sets
+-icc
+-icc-pgo
+-ifc
+-mmx
+-mmxext
+-sse
+-sse2
+-ssse3
+-cpu_flags_x86_mmx
+-cpu_flags_x86_mmxext
+-cpu_flags_x86_sse
+-cpu_flags_x86_sse2
+-cpu_flags_x86_ssse3
+-svga
+-kqemu
+
+# Unmask nvidia XvMC support
+-nvidia
+
+# Unmask dev-db/oracle-instantclient-basic support
+-oci8-instant-client
+
+# Unmask osp, used by asterisk; bug 115798
+-osp
+
+# Modular X: unmask for architectures on which they are available
+-input_devices_synaptics
+-input_devices_vmmouse
+-input_devices_wacom
+-video_cards_nvidia
+-video_cards_fglrx
+-video_cards_vmware
+
+# Modular X: mask for architectures on which they aren't available
+video_cards_newport
+
+#codec support
+-x264
+
+# lvm2 cluster
+-gulm
+
+# ibm is only used for ppc64 stuff
+ibm
+
+# psyco works on x86
+-psyco
+
+# Adobe FDF toolkit is x86 only.
+-fdftk
diff --git a/profiles/prefix/darwin/macos/arch/eapi b/profiles/prefix/darwin/macos/arch/eapi
new file mode 100644
index 000000000000..7ed6ff82de6b
--- /dev/null
+++ b/profiles/prefix/darwin/macos/arch/eapi
@@ -0,0 +1 @@
+5
diff --git a/profiles/prefix/darwin/macos/arch/ppc/eapi b/profiles/prefix/darwin/macos/arch/ppc/eapi
new file mode 100644
index 000000000000..7ed6ff82de6b
--- /dev/null
+++ b/profiles/prefix/darwin/macos/arch/ppc/eapi
@@ -0,0 +1 @@
+5
diff --git a/profiles/prefix/darwin/macos/arch/ppc/make.defaults b/profiles/prefix/darwin/macos/arch/ppc/make.defaults
new file mode 100644
index 000000000000..6c28906396f8
--- /dev/null
+++ b/profiles/prefix/darwin/macos/arch/ppc/make.defaults
@@ -0,0 +1,10 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+# multilib build stuff, single ABI (no multilib)
+MULTILIB_ABIS="ppc"
+DEFAULT_ABI="ppc"
+ABI="ppc"
+IUSE_IMPLICIT="abi_ppc_32"
+LIBDIR_ppc="lib"
diff --git a/profiles/prefix/darwin/macos/arch/ppc/package.mask b/profiles/prefix/darwin/macos/arch/ppc/package.mask
new file mode 100644
index 000000000000..c59605fea17e
--- /dev/null
+++ b/profiles/prefix/darwin/macos/arch/ppc/package.mask
@@ -0,0 +1,11 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+# The 32-bits profile is inherited by the 64-bits one!
+# All the Mac OS X profiles inherit from their matching arch profile here.
+
+
+# Fabian Groffen <grobian@gentoo.org> (5 Mar 2012)
+# Apple removed entire PowerPC support from ld in ld64-128.2
+>=sys-devel/binutils-apple-4.3
diff --git a/profiles/prefix/darwin/macos/arch/ppc/package.use.mask b/profiles/prefix/darwin/macos/arch/ppc/package.use.mask
new file mode 100644
index 000000000000..426aa9d8e2ce
--- /dev/null
+++ b/profiles/prefix/darwin/macos/arch/ppc/package.use.mask
@@ -0,0 +1,19 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+# The 32-bits profile is inherited by the 64-bits one!
+# All the Mac OS X profiles inherit from their matching arch profile here.
+
+
+# Elias Pipping <pipping@gentoo.org> (01 Sep 2007)
+# imlib2 does not compile with USE=mmx
+media-libs/imlib2 mmx
+
+# Elias Pipping <pipping@gentoo.org> (01 Sep 2007)
+# libpng does not compile with USE=mmx
+media-libs/libpng mmx
+
+# Elias Pipping <pipping@gentoo.org> (01 Sep 2007)
+# mpg123 does not compile with USE=mmx
+media-sound/mpg123 mmx
diff --git a/profiles/prefix/darwin/macos/arch/ppc/use.force b/profiles/prefix/darwin/macos/arch/ppc/use.force
new file mode 100644
index 000000000000..50b02bfe9d30
--- /dev/null
+++ b/profiles/prefix/darwin/macos/arch/ppc/use.force
@@ -0,0 +1,6 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+# Force the flag corresponding to the default ABI
+abi_ppc_32
diff --git a/profiles/prefix/darwin/macos/arch/ppc64/eapi b/profiles/prefix/darwin/macos/arch/ppc64/eapi
new file mode 100644
index 000000000000..7ed6ff82de6b
--- /dev/null
+++ b/profiles/prefix/darwin/macos/arch/ppc64/eapi
@@ -0,0 +1 @@
+5
diff --git a/profiles/prefix/darwin/macos/arch/ppc64/package.mask b/profiles/prefix/darwin/macos/arch/ppc64/package.mask
new file mode 100644
index 000000000000..4dd581dac8bc
--- /dev/null
+++ b/profiles/prefix/darwin/macos/arch/ppc64/package.mask
@@ -0,0 +1,7 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+# The 32-bits profile is inherited by the 64-bits one!
+# All the Mac OS X profiles inherit from their matching arch profile here.
+
diff --git a/profiles/prefix/darwin/macos/arch/ppc64/package.use.mask b/profiles/prefix/darwin/macos/arch/ppc64/package.use.mask
new file mode 100644
index 000000000000..4dd581dac8bc
--- /dev/null
+++ b/profiles/prefix/darwin/macos/arch/ppc64/package.use.mask
@@ -0,0 +1,7 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+# The 32-bits profile is inherited by the 64-bits one!
+# All the Mac OS X profiles inherit from their matching arch profile here.
+
diff --git a/profiles/prefix/darwin/macos/arch/ppc64/parent b/profiles/prefix/darwin/macos/arch/ppc64/parent
new file mode 100644
index 000000000000..3f4be82271fb
--- /dev/null
+++ b/profiles/prefix/darwin/macos/arch/ppc64/parent
@@ -0,0 +1 @@
+../ppc
diff --git a/profiles/prefix/darwin/macos/arch/x64/eapi b/profiles/prefix/darwin/macos/arch/x64/eapi
new file mode 100644
index 000000000000..7ed6ff82de6b
--- /dev/null
+++ b/profiles/prefix/darwin/macos/arch/x64/eapi
@@ -0,0 +1 @@
+5
diff --git a/profiles/prefix/darwin/macos/arch/x64/make.defaults b/profiles/prefix/darwin/macos/arch/x64/make.defaults
new file mode 100644
index 000000000000..aff95e51d922
--- /dev/null
+++ b/profiles/prefix/darwin/macos/arch/x64/make.defaults
@@ -0,0 +1,10 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+# multilib build stuff, single ABI (no multilib)
+MULTILIB_ABIS="amd64"
+DEFAULT_ABI="amd64"
+ABI="amd64"
+IUSE_IMPLICIT="abi_x86_64"
+LIBDIR_amd64="lib"
diff --git a/profiles/prefix/darwin/macos/arch/x64/package.mask b/profiles/prefix/darwin/macos/arch/x64/package.mask
new file mode 100644
index 000000000000..13e1c33d100b
--- /dev/null
+++ b/profiles/prefix/darwin/macos/arch/x64/package.mask
@@ -0,0 +1,13 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+# The 32-bits profile is inherited by the 64-bits one!
+# All the Mac OS X profiles inherit from their matching arch profile here.
+
+# The Carbon interface has been removed in the 64-bits userland, only
+# tk-8.6 will come with Cocoa support. If you must have tk, you'll have
+# to force USE=-aqua, but don't report bugs for incompatabilities you
+# might encounter.
+# NOTE: keep this mask synced with 10.7/x86
+<dev-lang/tk-8.6
diff --git a/profiles/prefix/darwin/macos/arch/x64/package.use.mask b/profiles/prefix/darwin/macos/arch/x64/package.use.mask
new file mode 100644
index 000000000000..8177cbc6bd16
--- /dev/null
+++ b/profiles/prefix/darwin/macos/arch/x64/package.use.mask
@@ -0,0 +1,21 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+# The 32-bits profile is inherited by the 64-bits one!
+# All the Mac OS X profiles inherit from their matching arch profile here.
+
+
+# Christoph Junghans <ottoxr@gentoo.org> (29 Dec 2014)
+# disable optimized assembly code, bug #529584
+media-libs/xvid -pic
+
+# Jeremy Olexa <darkside@gentoo.org> (29 Jul 2010)
+# Relocation issues on 32-bit OSX only, bug #329859
+media-sound/mpg123 -mmx -sse
+media-sound/mpg123 -cpu_flags_x86_mmx -cpu_flags_x86_sse
+
+# Fabian Groffen <grobian@gentoo.org> (01 Feb 2009)
+# Doesn't compile on 32-bits OSX only, bug #257225
+media-video/ffmpeg -mmx
+media-video/ffmpeg -cpu_flags_x86_mmx
diff --git a/profiles/prefix/darwin/macos/arch/x64/parent b/profiles/prefix/darwin/macos/arch/x64/parent
new file mode 100644
index 000000000000..e6e4a52dfb37
--- /dev/null
+++ b/profiles/prefix/darwin/macos/arch/x64/parent
@@ -0,0 +1 @@
+../x86
diff --git a/profiles/prefix/darwin/macos/arch/x64/use.force b/profiles/prefix/darwin/macos/arch/x64/use.force
new file mode 100644
index 000000000000..953c26144a82
--- /dev/null
+++ b/profiles/prefix/darwin/macos/arch/x64/use.force
@@ -0,0 +1,6 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+# Force the flag corresponding to the default ABI
+abi_x86_64
diff --git a/profiles/prefix/darwin/macos/arch/x86/eapi b/profiles/prefix/darwin/macos/arch/x86/eapi
new file mode 100644
index 000000000000..7ed6ff82de6b
--- /dev/null
+++ b/profiles/prefix/darwin/macos/arch/x86/eapi
@@ -0,0 +1 @@
+5
diff --git a/profiles/prefix/darwin/macos/arch/x86/make.defaults b/profiles/prefix/darwin/macos/arch/x86/make.defaults
new file mode 100644
index 000000000000..4e6b922ab1b8
--- /dev/null
+++ b/profiles/prefix/darwin/macos/arch/x86/make.defaults
@@ -0,0 +1,10 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+# multilib build stuff, single ABI (no multilib)
+MULTILIB_ABIS="x86"
+DEFAULT_ABI="x86"
+ABI="x86"
+IUSE_IMPLICIT="abi_x86_32"
+LIBDIR_x86="lib"
diff --git a/profiles/prefix/darwin/macos/arch/x86/package.mask b/profiles/prefix/darwin/macos/arch/x86/package.mask
new file mode 100644
index 000000000000..4dd581dac8bc
--- /dev/null
+++ b/profiles/prefix/darwin/macos/arch/x86/package.mask
@@ -0,0 +1,7 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+# The 32-bits profile is inherited by the 64-bits one!
+# All the Mac OS X profiles inherit from their matching arch profile here.
+
diff --git a/profiles/prefix/darwin/macos/arch/x86/package.use.force b/profiles/prefix/darwin/macos/arch/x86/package.use.force
new file mode 100644
index 000000000000..67865470f6ad
--- /dev/null
+++ b/profiles/prefix/darwin/macos/arch/x86/package.use.force
@@ -0,0 +1,7 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+# Fabian Groffen <grobian@gentoo.org> (24 Mar 2012)
+# Non-threaded target doesn't exist for Mac OS X Intel
+media-gfx/tachyon threads opengl
diff --git a/profiles/prefix/darwin/macos/arch/x86/package.use.mask b/profiles/prefix/darwin/macos/arch/x86/package.use.mask
new file mode 100644
index 000000000000..364cce448ffa
--- /dev/null
+++ b/profiles/prefix/darwin/macos/arch/x86/package.use.mask
@@ -0,0 +1,22 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+# The 32-bits profile is inherited by the 64-bits one!
+# All the Mac OS X profiles inherit from their matching arch profile here.
+
+
+# Alexandre Rostovtsev <tetromono@gentoo.org> (09 Jan 2012)
+# jsc JIT compilation is supported only on amd64/arm/x86 and their prefixes, so
+# it's masked in base profile and unmasked here (bug #396313).
+net-libs/webkit-gtk -jit
+
+# Jeremy Olexa <darkside@gentoo.org> (29 Jul 2010)
+# Relocation issues on 32-bit OSX, bug #329859
+media-sound/mpg123 mmx sse
+media-sound/mpg123 cpu_flags_x86_mmx cpu_flags_x86_sse
+
+# Fabian Groffen <grobian@gentoo.org> (01 Feb 2009)
+# Doesn't compile, bug #257225
+media-video/ffmpeg mmx
+media-video/ffmpeg cpu_flags_x86_mmx
diff --git a/profiles/prefix/darwin/macos/arch/x86/use.force b/profiles/prefix/darwin/macos/arch/x86/use.force
new file mode 100644
index 000000000000..63240617d472
--- /dev/null
+++ b/profiles/prefix/darwin/macos/arch/x86/use.force
@@ -0,0 +1,6 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+# Force the flag corresponding to the default ABI
+abi_x86_32
diff --git a/profiles/prefix/darwin/macos/eapi b/profiles/prefix/darwin/macos/eapi
new file mode 100644
index 000000000000..7ed6ff82de6b
--- /dev/null
+++ b/profiles/prefix/darwin/macos/eapi
@@ -0,0 +1 @@
+5
diff --git a/profiles/prefix/darwin/macos/make.defaults b/profiles/prefix/darwin/macos/make.defaults
new file mode 100644
index 000000000000..8722483811f3
--- /dev/null
+++ b/profiles/prefix/darwin/macos/make.defaults
@@ -0,0 +1,9 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+# on OSX one should have objc available
+USE="objc objc++"
+
+# we have OSX, so let's use it's virtues
+USE="${USE} aqua coreaudio ipv6"
diff --git a/profiles/prefix/darwin/macos/package.mask b/profiles/prefix/darwin/macos/package.mask
new file mode 100644
index 000000000000..750f7d2e8863
--- /dev/null
+++ b/profiles/prefix/darwin/macos/package.mask
@@ -0,0 +1,13 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+# James Le Cuirot <chewi@gentoo.org> (29 Jul 2015)
+# Recent Oracle releases only support recent Mac OS releases. We can't
+# keep old versions due to vulnerabilities.
+dev-java/oracle-jdk-bin
+dev-java/oracle-jre-bin
+
+# Fabian Groffen <grobian@gentoo.org> (29 Sep 2012)
+# Use Apple's provided Java6 instead!
+dev-java/soylatte-jdk-bin
diff --git a/profiles/prefix/darwin/macos/package.use.force b/profiles/prefix/darwin/macos/package.use.force
new file mode 100644
index 000000000000..7d01fdaad042
--- /dev/null
+++ b/profiles/prefix/darwin/macos/package.use.force
@@ -0,0 +1,15 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+# Fabian Groffen <grobian@gentoo.org> (31 May 2015)
+# for clang ebuild to work, llvm must build the clang frontend
+sys-devel/llvm clang
+
+# Elias Pipping <pipping@gentoo.org> (01 Jan 2008)
+# only GUI that works under macosx
+app-editor/gvim aqua
+
+# Elias Pipping <pipping@gentoo.org> (29 Nov 2007)
+# won't compile without
+media-libs/libsdl opengl
diff --git a/profiles/prefix/darwin/macos/package.use.mask b/profiles/prefix/darwin/macos/package.use.mask
new file mode 100644
index 000000000000..f64a2cd09f93
--- /dev/null
+++ b/profiles/prefix/darwin/macos/package.use.mask
@@ -0,0 +1,27 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+# James Le Cuirot <chewi@gentoo.org> (29 Jul 2015)
+# JavaFX is included on Mac OS. I think a browser plugin is too but as
+# libjvm rather than libnpjp2 like on Linux so keep nsplugin masked.
+dev-java/oracle-jdk-bin -javafx
+dev-java/oracle-jre-bin -javafx
+
+# Fabian Groffen <grobian@gentoo.org> (30 Oct 2009)
+# X and linux only
+media-video/mplayer xvmc xv dga X xinerama xscreensaver
+media-video/mplayer dvb lirc svga jack joystick matrox
+
+# Jeremy Olexa <darkside@gentoo.org> (12 Feb 2009)
+# Doesn't work with python support, bug 257572
+gnome-extra/libgsf python
+
+# Fabian Groffen <grobian@gentoo.org> (06 Aug 2008)
+# runtime loading is horribly broken (it uses fixed .so.0, but when
+# that's fixed it still doesn't work)
+dev-vcs/subversion dso
+
+# Elias Pipping <pipping@gentoo.org> (27 Aug 2007)
+# elinks does not compile with USE=perl (tested with 0.11.{2,3})
+www-client/elinks perl
diff --git a/profiles/prefix/darwin/macos/packages b/profiles/prefix/darwin/macos/packages
new file mode 100644
index 000000000000..3b7d6312095f
--- /dev/null
+++ b/profiles/prefix/darwin/macos/packages
@@ -0,0 +1,8 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+# Mac OS X is built with LLVM/Clang
+-*sys-devel/gcc
+-*sys-devel/gcc-config
+*sys-devel/clang
diff --git a/profiles/prefix/darwin/macos/parent b/profiles/prefix/darwin/macos/parent
new file mode 100644
index 000000000000..f3229c5b9876
--- /dev/null
+++ b/profiles/prefix/darwin/macos/parent
@@ -0,0 +1 @@
+..