summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'profiles/prefix/darwin')
-rw-r--r--profiles/prefix/darwin/eapi1
-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
-rw-r--r--profiles/prefix/darwin/make.defaults19
-rw-r--r--profiles/prefix/darwin/package.mask68
-rw-r--r--profiles/prefix/darwin/package.use.mask40
-rw-r--r--profiles/prefix/darwin/packages9
-rw-r--r--profiles/prefix/darwin/parent1
-rw-r--r--profiles/prefix/darwin/use.force7
-rw-r--r--profiles/prefix/darwin/use.mask45
206 files changed, 2047 insertions, 0 deletions
diff --git a/profiles/prefix/darwin/eapi b/profiles/prefix/darwin/eapi
new file mode 100644
index 000000000000..7ed6ff82de6b
--- /dev/null
+++ b/profiles/prefix/darwin/eapi
@@ -0,0 +1 @@
+5
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 @@
+..
diff --git a/profiles/prefix/darwin/make.defaults b/profiles/prefix/darwin/make.defaults
new file mode 100644
index 000000000000..375d47e7c2d3
--- /dev/null
+++ b/profiles/prefix/darwin/make.defaults
@@ -0,0 +1,19 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+# System-wide defaults for all Darwin profiles
+# This file should rarely need to be changed
+
+# 'Sane' defaults
+ELIBC="Darwin"
+KERNEL="Darwin"
+
+# strip isn't GNU
+FEATURES="nostrip"
+
+# ALSA + Darwin != working
+USE_EXPAND="-ALSA_CARDS"
+
+# This is the sort of equivalent of --as-needed
+LDFLAGS="-Wl,-dead_strip_dylibs"
diff --git a/profiles/prefix/darwin/package.mask b/profiles/prefix/darwin/package.mask
new file mode 100644
index 000000000000..eca936b640f7
--- /dev/null
+++ b/profiles/prefix/darwin/package.mask
@@ -0,0 +1,68 @@
+# 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)
+# fails to compile due to some missing compilerrt stuff, hints at asan,
+# not sure what the problem actually is
+>=sys-devel/llvm-3.6
+>=sys-devel/clang-3.6
+
+# Fabian Groffen <grobian@gentoo.org> (08 Feb 2015)
+# missing faccesstat (missing gnulib), bug #538502
+=sys-devel/patch-2.7.4
+
+# Fabian Groffen <grobian@gentoo.org> (19 Oct 2014)
+# Fails during bootstrap, has install_name problems for libstdbuf
+=sys-apps/coreutils-8.23
+
+# Fabian Groffen <grobian@gentoo.org> (12 Aug 2014)
+# Needs some patching, bug #513428
+~dev-libs/libffi-3.1
+
+# Fabian Groffen <grobian@gentoo.org> (12 Aug 2014)
+# Fails to compile on xattr stuff, next release should solve that, #518444
+=app-arch/tar-1.28
+
+# Fabian Groffen <grobian@gentoo.org> (14 Jan 2014)
+# util-linux has no business on Darwin systems
+sys-apps/util-linux
+
+# Fabian Groffen <grobian@gentoo.org> (19 Feb 2012)
+# Using FSF GCC on Mac OS X is not supported by Gentoo Prefix. While
+# the FSF GCC compiler is certainly useful, some - if not many -
+# packages expect the Apple branch of GCC, and its (sometimes peculiar)
+# behaviour. Do not file bugs for packages that fail to compile with
+# FSF GCC, if you have patches, please send them directly to upstream.
+sys-devel/gcc
+
+# Fabian Groffen <grobian@gentoo.org> (30 Dec 2011)
+# Does not support Darwin, http://mj.ucw.cz/pciutils.html
+sys-apps/pciutils
+
+# Fabian Groffen <grobian@gentoo.org> (11 May 2011)
+# Uses the horribly broken build-system waf. When hacked far enough,
+# produces a MH_OBJ with invalid install_name called _cairo.bundle.
+~dev-python/pycairo-1.10.0
+
+# Fabian Groffen <grobian@gentoo.org> (21 Apr 2010)
+# state of mesa is probably not too good on OSX, opengl-apple is
+# preferred
+media-libs/mesa
+
+
+# Fabian Groffen <grobian@gentoo.org> (27 Oct 2009)
+# Fails compiling due to some missing dwarf symbols and internal
+# segfaults
+~sys-devel/gcc-4.4.2
+~sys-devel/gcc-4.4.3
+~sys-devel/gcc-4.4.4
+
+# Elias Pipping <pipping@gentoo.org> (09 Oct 2007)
+# darwin-miscutils are only available on darwin
+-sys-apps/darwin-miscutils
+
+# Fabian Groffen <grobian@gentoo.org> (21 Jan 2007)
+# dies with "exhausted memory" errors on Darwin
+=dev-vcs/cvs-1.12.12*
diff --git a/profiles/prefix/darwin/package.use.mask b/profiles/prefix/darwin/package.use.mask
new file mode 100644
index 000000000000..e8a57c0e8ec5
--- /dev/null
+++ b/profiles/prefix/darwin/package.use.mask
@@ -0,0 +1,40 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+
+# Fabian Groffen <grobian@gentoo.org> (26 May 2015)
+# Avoid pulling in broken and unnecessary ossp-uuid, bug #324527
+dev-db/postgresql uuid
+
+# Christoph Junghans <ottxor@gentoo.org> (26 Aug 2012)
+# libutempter support does not work on Darwin (bug #388791)
+x11-terms/eterm utempter
+
+# Fabian Groffen <grobian@gentoo.org> (24 Mar 2012)
+# There's no upstream support for MPI on Darwin
+media-gfx/tachyon mpi
+
+# Fabian Groffen <grobian@gentoo.org> (01 Jan 2012)
+# gdb server is not supported on this platform
+sys-devel/gdb server
+
+# Fabian Groffen <grobian@gentoo.org> (16 Feb 2011)
+# De-mask of OSX-specific USE-flags that are useful for VLC
+media-video/vlc -audioqueue -ios-vout -macosx macosx-audio -macosx-dialog-provider -macosx-eyetv -macosx-quartztext -macosx-vout
+
+# Fabian Groffen <grobian@gentoo.org> (08 Jan 2011)
+# Darwin has libuuid from util-linux
+x11-libs/libSM -uuid
+
+# Fabian Groffen <grobian@gentoo.org> (30 Oct 2009)
+# linux only
+media-video/mplayer dvb lirc svga jack joystick matrox
+
+# Fabian Groffen <grobian@gentoo.org> (03 Apr 2009)
+# ld: unknown option: -R/Library/Gentoo/usr/lib
+~sys-devel/gcc-4.3.3 gcj
+
+# Elias Pipping <pipping@gentoo.org> (16 Nov 2007)
+# make fails
+sys-devel/gcc objc-gc
diff --git a/profiles/prefix/darwin/packages b/profiles/prefix/darwin/packages
new file mode 100644
index 000000000000..e8faa818f9a4
--- /dev/null
+++ b/profiles/prefix/darwin/packages
@@ -0,0 +1,9 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+*sys-apps/darwin-miscutils
+*sys-devel/binutils-apple
+*sys-libs/csu
+*sys-process/pidof-bsd
+*sys-process/pkill-darwin
diff --git a/profiles/prefix/darwin/parent b/profiles/prefix/darwin/parent
new file mode 100644
index 000000000000..f3229c5b9876
--- /dev/null
+++ b/profiles/prefix/darwin/parent
@@ -0,0 +1 @@
+..
diff --git a/profiles/prefix/darwin/use.force b/profiles/prefix/darwin/use.force
new file mode 100644
index 000000000000..b0f488eb923e
--- /dev/null
+++ b/profiles/prefix/darwin/use.force
@@ -0,0 +1,7 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+# Re-add Darwin OS
+kernel_Darwin
+elibc_Darwin
diff --git a/profiles/prefix/darwin/use.mask b/profiles/prefix/darwin/use.mask
new file mode 100644
index 000000000000..3b7c8f9378ee
--- /dev/null
+++ b/profiles/prefix/darwin/use.mask
@@ -0,0 +1,45 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+#Add USE flags that don't work on Darwin/OpenDarwin/OS X here
+
+# readd globally masked darwin-only flags
+-coreaudio
+-aqua
+
+# Re-add Darwin libc
+-elibc_Darwin
+-kernel_Darwin
+
+
+# these will more than likely never work on darwin
+3dfx
+acpi
+alsa
+apm
+cap
+caps
+cman
+clvm
+directfb
+djbfft
+fbcon
+fmod
+ggi
+gpm
+hardened
+
+# VV requires device-mapper
+on-the-fly-crypt
+oss
+solid
+sybase
+sybase-ct
+rtc
+voodoo3
+pvm
+v4l
+
+# introspection is far from working on OSX
+introspection