summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2015-08-08 13:49:04 -0700
committerRobin H. Johnson <robbat2@gentoo.org>2015-08-08 17:38:18 -0700
commit56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch)
tree3f91093cdb475e565ae857f1c5a7fd339e2d781e /profiles/prefix
downloadgentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz
gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.bz2
gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.zip
proj/gentoo: Initial commit
This commit represents a new era for Gentoo: Storing the gentoo-x86 tree in Git, as converted from CVS. This commit is the start of the NEW history. Any historical data is intended to be grafted onto this point. Creation process: 1. Take final CVS checkout snapshot 2. Remove ALL ChangeLog* files 3. Transform all Manifests to thin 4. Remove empty Manifests 5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$ 5.1. Do not touch files with -kb/-ko keyword flags. Signed-off-by: Robin H. Johnson <robbat2@gentoo.org> X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'profiles/prefix')
-rw-r--r--profiles/prefix/aix/5.2.0.0/eapi1
-rw-r--r--profiles/prefix/aix/5.2.0.0/package.provided5
-rw-r--r--profiles/prefix/aix/5.2.0.0/parent1
-rw-r--r--profiles/prefix/aix/5.2.0.0/ppc/eapi1
-rw-r--r--profiles/prefix/aix/5.2.0.0/ppc/make.defaults7
-rw-r--r--profiles/prefix/aix/5.2.0.0/ppc/parent1
-rw-r--r--profiles/prefix/aix/5.3.0.0/eapi1
-rw-r--r--profiles/prefix/aix/5.3.0.0/package.mask7
-rw-r--r--profiles/prefix/aix/5.3.0.0/package.provided5
-rw-r--r--profiles/prefix/aix/5.3.0.0/parent1
-rw-r--r--profiles/prefix/aix/5.3.0.0/ppc/eapi1
-rw-r--r--profiles/prefix/aix/5.3.0.0/ppc/make.defaults7
-rw-r--r--profiles/prefix/aix/5.3.0.0/ppc/parent1
-rw-r--r--profiles/prefix/aix/6.1.0.0/eapi1
-rw-r--r--profiles/prefix/aix/6.1.0.0/package.provided5
-rw-r--r--profiles/prefix/aix/6.1.0.0/parent1
-rw-r--r--profiles/prefix/aix/6.1.0.0/ppc/eapi1
-rw-r--r--profiles/prefix/aix/6.1.0.0/ppc/make.defaults7
-rw-r--r--profiles/prefix/aix/6.1.0.0/ppc/parent1
-rw-r--r--profiles/prefix/aix/7.1.0.0/eapi1
-rw-r--r--profiles/prefix/aix/7.1.0.0/package.provided5
-rw-r--r--profiles/prefix/aix/7.1.0.0/parent1
-rw-r--r--profiles/prefix/aix/7.1.0.0/ppc/eapi1
-rw-r--r--profiles/prefix/aix/7.1.0.0/ppc/make.defaults7
-rw-r--r--profiles/prefix/aix/7.1.0.0/ppc/parent1
-rw-r--r--profiles/prefix/aix/eapi1
-rw-r--r--profiles/prefix/aix/make.defaults20
-rw-r--r--profiles/prefix/aix/package.mask32
-rw-r--r--profiles/prefix/aix/package.use.force14
-rw-r--r--profiles/prefix/aix/package.use.mask11
-rw-r--r--profiles/prefix/aix/packages10
-rw-r--r--profiles/prefix/aix/parent1
-rw-r--r--profiles/prefix/aix/profile.bashrc7
-rw-r--r--profiles/prefix/aix/use.force10
-rw-r--r--profiles/prefix/aix/use.mask46
-rw-r--r--profiles/prefix/bsd/eapi1
-rw-r--r--profiles/prefix/bsd/freebsd/7.1/eapi1
-rw-r--r--profiles/prefix/bsd/freebsd/7.1/package.mask3
-rw-r--r--profiles/prefix/bsd/freebsd/7.1/package.provided5
-rw-r--r--profiles/prefix/bsd/freebsd/7.1/parent1
-rw-r--r--profiles/prefix/bsd/freebsd/7.1/x64/eapi1
-rw-r--r--profiles/prefix/bsd/freebsd/7.1/x64/make.defaults9
-rw-r--r--profiles/prefix/bsd/freebsd/7.1/x64/parent2
-rw-r--r--profiles/prefix/bsd/freebsd/7.1/x86/eapi1
-rw-r--r--profiles/prefix/bsd/freebsd/7.1/x86/make.defaults9
-rw-r--r--profiles/prefix/bsd/freebsd/7.1/x86/parent2
-rw-r--r--profiles/prefix/bsd/freebsd/7.2/eapi1
-rw-r--r--profiles/prefix/bsd/freebsd/7.2/package.mask3
-rw-r--r--profiles/prefix/bsd/freebsd/7.2/package.provided5
-rw-r--r--profiles/prefix/bsd/freebsd/7.2/parent1
-rw-r--r--profiles/prefix/bsd/freebsd/7.2/x64/eapi1
-rw-r--r--profiles/prefix/bsd/freebsd/7.2/x64/make.defaults9
-rw-r--r--profiles/prefix/bsd/freebsd/7.2/x64/parent2
-rw-r--r--profiles/prefix/bsd/freebsd/7.2/x86/eapi1
-rw-r--r--profiles/prefix/bsd/freebsd/7.2/x86/make.defaults9
-rw-r--r--profiles/prefix/bsd/freebsd/7.2/x86/parent2
-rw-r--r--profiles/prefix/bsd/freebsd/8.0/eapi1
-rw-r--r--profiles/prefix/bsd/freebsd/8.0/package.mask7
-rw-r--r--profiles/prefix/bsd/freebsd/8.0/package.provided5
-rw-r--r--profiles/prefix/bsd/freebsd/8.0/parent1
-rw-r--r--profiles/prefix/bsd/freebsd/8.0/x64/eapi1
-rw-r--r--profiles/prefix/bsd/freebsd/8.0/x64/make.defaults9
-rw-r--r--profiles/prefix/bsd/freebsd/8.0/x64/parent2
-rw-r--r--profiles/prefix/bsd/freebsd/8.0/x86/eapi1
-rw-r--r--profiles/prefix/bsd/freebsd/8.0/x86/make.defaults9
-rw-r--r--profiles/prefix/bsd/freebsd/8.0/x86/parent2
-rw-r--r--profiles/prefix/bsd/freebsd/8.1/eapi1
-rw-r--r--profiles/prefix/bsd/freebsd/8.1/package.mask3
-rw-r--r--profiles/prefix/bsd/freebsd/8.1/package.provided5
-rw-r--r--profiles/prefix/bsd/freebsd/8.1/parent1
-rw-r--r--profiles/prefix/bsd/freebsd/8.1/sparc64/eapi1
-rw-r--r--profiles/prefix/bsd/freebsd/8.1/sparc64/make.defaults9
-rw-r--r--profiles/prefix/bsd/freebsd/8.1/sparc64/parent2
-rw-r--r--profiles/prefix/bsd/freebsd/8.1/x64/eapi1
-rw-r--r--profiles/prefix/bsd/freebsd/8.1/x64/make.defaults9
-rw-r--r--profiles/prefix/bsd/freebsd/8.1/x64/parent2
-rw-r--r--profiles/prefix/bsd/freebsd/8.1/x86/eapi1
-rw-r--r--profiles/prefix/bsd/freebsd/8.1/x86/make.defaults9
-rw-r--r--profiles/prefix/bsd/freebsd/8.1/x86/parent2
-rw-r--r--profiles/prefix/bsd/freebsd/8.2/eapi1
-rw-r--r--profiles/prefix/bsd/freebsd/8.2/package.provided5
-rw-r--r--profiles/prefix/bsd/freebsd/8.2/parent1
-rw-r--r--profiles/prefix/bsd/freebsd/8.2/x64/eapi1
-rw-r--r--profiles/prefix/bsd/freebsd/8.2/x64/make.defaults9
-rw-r--r--profiles/prefix/bsd/freebsd/8.2/x64/parent2
-rw-r--r--profiles/prefix/bsd/freebsd/8.2/x86/eapi1
-rw-r--r--profiles/prefix/bsd/freebsd/8.2/x86/make.defaults9
-rw-r--r--profiles/prefix/bsd/freebsd/8.2/x86/parent2
-rw-r--r--profiles/prefix/bsd/freebsd/9.0/eapi1
-rw-r--r--profiles/prefix/bsd/freebsd/9.0/package.provided5
-rw-r--r--profiles/prefix/bsd/freebsd/9.0/parent1
-rw-r--r--profiles/prefix/bsd/freebsd/9.0/x64/eapi1
-rw-r--r--profiles/prefix/bsd/freebsd/9.0/x64/make.defaults9
-rw-r--r--profiles/prefix/bsd/freebsd/9.0/x64/parent2
-rw-r--r--profiles/prefix/bsd/freebsd/9.0/x86/eapi1
-rw-r--r--profiles/prefix/bsd/freebsd/9.0/x86/make.defaults9
-rw-r--r--profiles/prefix/bsd/freebsd/9.0/x86/parent2
-rw-r--r--profiles/prefix/bsd/freebsd/9.1/eapi1
-rw-r--r--profiles/prefix/bsd/freebsd/9.1/package.provided5
-rw-r--r--profiles/prefix/bsd/freebsd/9.1/parent1
-rw-r--r--profiles/prefix/bsd/freebsd/9.1/x64/eapi1
-rw-r--r--profiles/prefix/bsd/freebsd/9.1/x64/make.defaults9
-rw-r--r--profiles/prefix/bsd/freebsd/9.1/x64/parent2
-rw-r--r--profiles/prefix/bsd/freebsd/9.1/x86/eapi1
-rw-r--r--profiles/prefix/bsd/freebsd/9.1/x86/make.defaults9
-rw-r--r--profiles/prefix/bsd/freebsd/9.1/x86/parent2
-rw-r--r--profiles/prefix/bsd/freebsd/arch/eapi1
-rw-r--r--profiles/prefix/bsd/freebsd/arch/sparc64/eapi1
-rw-r--r--profiles/prefix/bsd/freebsd/arch/sparc64/package.mask7
-rw-r--r--profiles/prefix/bsd/freebsd/arch/sparc64/package.use.mask7
-rw-r--r--profiles/prefix/bsd/freebsd/arch/x64/eapi1
-rw-r--r--profiles/prefix/bsd/freebsd/arch/x64/make.defaults10
-rw-r--r--profiles/prefix/bsd/freebsd/arch/x64/package.mask8
-rw-r--r--profiles/prefix/bsd/freebsd/arch/x64/package.use.mask8
-rw-r--r--profiles/prefix/bsd/freebsd/arch/x64/parent1
-rw-r--r--profiles/prefix/bsd/freebsd/arch/x64/use.force6
-rw-r--r--profiles/prefix/bsd/freebsd/arch/x86/eapi1
-rw-r--r--profiles/prefix/bsd/freebsd/arch/x86/make.defaults10
-rw-r--r--profiles/prefix/bsd/freebsd/arch/x86/package.mask8
-rw-r--r--profiles/prefix/bsd/freebsd/arch/x86/package.use.mask12
-rw-r--r--profiles/prefix/bsd/freebsd/arch/x86/use.force6
-rw-r--r--profiles/prefix/bsd/freebsd/eapi1
-rw-r--r--profiles/prefix/bsd/freebsd/make.defaults10
-rw-r--r--profiles/prefix/bsd/freebsd/parent1
-rw-r--r--profiles/prefix/bsd/freebsd/use.force7
-rw-r--r--profiles/prefix/bsd/freebsd/use.mask8
-rw-r--r--profiles/prefix/bsd/netbsd/4.0/eapi1
-rw-r--r--profiles/prefix/bsd/netbsd/4.0/package.provided5
-rw-r--r--profiles/prefix/bsd/netbsd/4.0/parent1
-rw-r--r--profiles/prefix/bsd/netbsd/4.0/x86/eapi1
-rw-r--r--profiles/prefix/bsd/netbsd/4.0/x86/make.defaults8
-rw-r--r--profiles/prefix/bsd/netbsd/4.0/x86/parent1
-rw-r--r--profiles/prefix/bsd/netbsd/eapi1
-rw-r--r--profiles/prefix/bsd/netbsd/make.defaults10
-rw-r--r--profiles/prefix/bsd/netbsd/parent1
-rw-r--r--profiles/prefix/bsd/netbsd/use.force7
-rw-r--r--profiles/prefix/bsd/netbsd/use.mask8
-rw-r--r--profiles/prefix/bsd/openbsd/4.2/eapi1
-rw-r--r--profiles/prefix/bsd/openbsd/4.2/package.mask4
-rw-r--r--profiles/prefix/bsd/openbsd/4.2/package.provided5
-rw-r--r--profiles/prefix/bsd/openbsd/4.2/parent1
-rw-r--r--profiles/prefix/bsd/openbsd/4.2/ppc/eapi1
-rw-r--r--profiles/prefix/bsd/openbsd/4.2/ppc/make.defaults8
-rw-r--r--profiles/prefix/bsd/openbsd/4.2/ppc/parent1
-rw-r--r--profiles/prefix/bsd/openbsd/4.2/x64/eapi1
-rw-r--r--profiles/prefix/bsd/openbsd/4.2/x64/make.defaults8
-rw-r--r--profiles/prefix/bsd/openbsd/4.2/x64/parent1
-rw-r--r--profiles/prefix/bsd/openbsd/4.2/x86/eapi1
-rw-r--r--profiles/prefix/bsd/openbsd/4.2/x86/make.defaults8
-rw-r--r--profiles/prefix/bsd/openbsd/4.2/x86/parent1
-rw-r--r--profiles/prefix/bsd/openbsd/eapi1
-rw-r--r--profiles/prefix/bsd/openbsd/make.defaults10
-rw-r--r--profiles/prefix/bsd/openbsd/parent1
-rw-r--r--profiles/prefix/bsd/openbsd/use.force7
-rw-r--r--profiles/prefix/bsd/openbsd/use.mask8
-rw-r--r--profiles/prefix/bsd/package.mask4
-rw-r--r--profiles/prefix/bsd/package.use.mask7
-rw-r--r--profiles/prefix/bsd/packages6
-rw-r--r--profiles/prefix/bsd/parent1
-rw-r--r--profiles/prefix/bsd/use.mask41
-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
-rw-r--r--profiles/prefix/eapi1
-rw-r--r--profiles/prefix/hpux/B.11.11/eapi1
-rw-r--r--profiles/prefix/hpux/B.11.11/hppa2.0/eapi1
-rw-r--r--profiles/prefix/hpux/B.11.11/hppa2.0/make.defaults12
-rw-r--r--profiles/prefix/hpux/B.11.11/hppa2.0/parent1
-rw-r--r--profiles/prefix/hpux/B.11.11/package.provided5
-rw-r--r--profiles/prefix/hpux/B.11.11/package.use.mask7
-rw-r--r--profiles/prefix/hpux/B.11.11/parent1
-rw-r--r--profiles/prefix/hpux/B.11.23/eapi1
-rw-r--r--profiles/prefix/hpux/B.11.23/ia64/eapi1
-rw-r--r--profiles/prefix/hpux/B.11.23/ia64/make.defaults7
-rw-r--r--profiles/prefix/hpux/B.11.23/ia64/parent1
-rw-r--r--profiles/prefix/hpux/B.11.23/package.provided5
-rw-r--r--profiles/prefix/hpux/B.11.23/parent1
-rw-r--r--profiles/prefix/hpux/B.11.31/eapi1
-rw-r--r--profiles/prefix/hpux/B.11.31/hppa2.0/eapi1
-rw-r--r--profiles/prefix/hpux/B.11.31/hppa2.0/make.defaults12
-rw-r--r--profiles/prefix/hpux/B.11.31/hppa2.0/parent1
-rw-r--r--profiles/prefix/hpux/B.11.31/ia64/eapi1
-rw-r--r--profiles/prefix/hpux/B.11.31/ia64/make.defaults7
-rw-r--r--profiles/prefix/hpux/B.11.31/ia64/parent1
-rw-r--r--profiles/prefix/hpux/B.11.31/package.provided5
-rw-r--r--profiles/prefix/hpux/B.11.31/parent1
-rw-r--r--profiles/prefix/hpux/eapi1
-rw-r--r--profiles/prefix/hpux/make.defaults13
-rw-r--r--profiles/prefix/hpux/package.mask8
-rw-r--r--profiles/prefix/hpux/packages6
-rw-r--r--profiles/prefix/hpux/parent1
-rw-r--r--profiles/prefix/hpux/profile.bashrc114
-rw-r--r--profiles/prefix/hpux/use.force7
-rw-r--r--profiles/prefix/hpux/use.mask46
-rw-r--r--profiles/prefix/linux-standalone/amd64/eapi1
-rw-r--r--profiles/prefix/linux-standalone/amd64/make.defaults8
-rw-r--r--profiles/prefix/linux-standalone/amd64/parent2
-rw-r--r--profiles/prefix/linux-standalone/eapi1
-rw-r--r--profiles/prefix/linux-standalone/make.defaults15
-rw-r--r--profiles/prefix/linux-standalone/parent1
-rw-r--r--profiles/prefix/linux-standalone/x86/eapi1
-rw-r--r--profiles/prefix/linux-standalone/x86/make.defaults8
-rw-r--r--profiles/prefix/linux-standalone/x86/parent2
-rw-r--r--profiles/prefix/linux/amd64/eapi1
-rw-r--r--profiles/prefix/linux/amd64/make.defaults21
-rw-r--r--profiles/prefix/linux/amd64/parent2
-rw-r--r--profiles/prefix/linux/arm/eapi1
-rw-r--r--profiles/prefix/linux/arm/make.defaults7
-rw-r--r--profiles/prefix/linux/arm/parent2
-rw-r--r--profiles/prefix/linux/eapi1
-rw-r--r--profiles/prefix/linux/ia64/eapi1
-rw-r--r--profiles/prefix/linux/ia64/make.defaults6
-rw-r--r--profiles/prefix/linux/ia64/parent2
-rw-r--r--profiles/prefix/linux/make.defaults30
-rw-r--r--profiles/prefix/linux/package.mask3
-rw-r--r--profiles/prefix/linux/package.provided5
-rw-r--r--profiles/prefix/linux/package.use9
-rw-r--r--profiles/prefix/linux/packages8
-rw-r--r--profiles/prefix/linux/parent1
-rw-r--r--profiles/prefix/linux/ppc64/eapi1
-rw-r--r--profiles/prefix/linux/ppc64/make.defaults13
-rw-r--r--profiles/prefix/linux/ppc64/packages8
-rw-r--r--profiles/prefix/linux/ppc64/parent2
-rw-r--r--profiles/prefix/linux/profile.bashrc25
-rw-r--r--profiles/prefix/linux/x86/eapi1
-rw-r--r--profiles/prefix/linux/x86/make.defaults19
-rw-r--r--profiles/prefix/linux/x86/parent2
-rw-r--r--profiles/prefix/linux/x86/profile.bashrc13
-rw-r--r--profiles/prefix/make.defaults12
-rw-r--r--profiles/prefix/mint/eapi1
-rw-r--r--profiles/prefix/mint/m68k/eapi1
-rw-r--r--profiles/prefix/mint/m68k/make.defaults7
-rw-r--r--profiles/prefix/mint/m68k/parent1
-rw-r--r--profiles/prefix/mint/m68k/use.mask6
-rw-r--r--profiles/prefix/mint/make.defaults13
-rw-r--r--profiles/prefix/mint/package.provided5
-rw-r--r--profiles/prefix/mint/package.use.force6
-rw-r--r--profiles/prefix/mint/package.use.mask15
-rw-r--r--profiles/prefix/mint/packages5
-rw-r--r--profiles/prefix/mint/parent1
-rw-r--r--profiles/prefix/mint/use.mask50
-rw-r--r--profiles/prefix/package.mask30
-rw-r--r--profiles/prefix/package.use.mask21
-rw-r--r--profiles/prefix/packages10
-rw-r--r--profiles/prefix/parent2
-rw-r--r--profiles/prefix/sunos/eapi1
-rw-r--r--profiles/prefix/sunos/make.defaults14
-rw-r--r--profiles/prefix/sunos/packages5
-rw-r--r--profiles/prefix/sunos/parent1
-rw-r--r--profiles/prefix/sunos/solaris/5.10/eapi1
-rw-r--r--profiles/prefix/sunos/solaris/5.10/package.provided5
-rw-r--r--profiles/prefix/sunos/solaris/5.10/parent1
-rw-r--r--profiles/prefix/sunos/solaris/5.10/sparc/eapi1
-rw-r--r--profiles/prefix/sunos/solaris/5.10/sparc/make.defaults8
-rw-r--r--profiles/prefix/sunos/solaris/5.10/sparc/package.mask5
-rw-r--r--profiles/prefix/sunos/solaris/5.10/sparc/package.use.mask4
-rw-r--r--profiles/prefix/sunos/solaris/5.10/sparc/parent2
-rw-r--r--profiles/prefix/sunos/solaris/5.10/sparc64/eapi1
-rw-r--r--profiles/prefix/sunos/solaris/5.10/sparc64/make.defaults8
-rw-r--r--profiles/prefix/sunos/solaris/5.10/sparc64/package.mask5
-rw-r--r--profiles/prefix/sunos/solaris/5.10/sparc64/package.use.mask4
-rw-r--r--profiles/prefix/sunos/solaris/5.10/sparc64/parent2
-rw-r--r--profiles/prefix/sunos/solaris/5.10/x64/eapi1
-rw-r--r--profiles/prefix/sunos/solaris/5.10/x64/make.defaults8
-rw-r--r--profiles/prefix/sunos/solaris/5.10/x64/package.mask3
-rw-r--r--profiles/prefix/sunos/solaris/5.10/x64/package.use.mask5
-rw-r--r--profiles/prefix/sunos/solaris/5.10/x64/parent2
-rw-r--r--profiles/prefix/sunos/solaris/5.10/x86/eapi1
-rw-r--r--profiles/prefix/sunos/solaris/5.10/x86/make.defaults8
-rw-r--r--profiles/prefix/sunos/solaris/5.10/x86/package.use.mask9
-rw-r--r--profiles/prefix/sunos/solaris/5.10/x86/parent2
-rw-r--r--profiles/prefix/sunos/solaris/5.11/eapi1
-rw-r--r--profiles/prefix/sunos/solaris/5.11/package.mask8
-rw-r--r--profiles/prefix/sunos/solaris/5.11/package.provided5
-rw-r--r--profiles/prefix/sunos/solaris/5.11/package.use.mask8
-rw-r--r--profiles/prefix/sunos/solaris/5.11/parent1
-rw-r--r--profiles/prefix/sunos/solaris/5.11/sparc/eapi1
-rw-r--r--profiles/prefix/sunos/solaris/5.11/sparc/make.defaults8
-rw-r--r--profiles/prefix/sunos/solaris/5.11/sparc/package.mask5
-rw-r--r--profiles/prefix/sunos/solaris/5.11/sparc/package.use.mask4
-rw-r--r--profiles/prefix/sunos/solaris/5.11/sparc/parent2
-rw-r--r--profiles/prefix/sunos/solaris/5.11/sparc64/eapi1
-rw-r--r--profiles/prefix/sunos/solaris/5.11/sparc64/make.defaults8
-rw-r--r--profiles/prefix/sunos/solaris/5.11/sparc64/package.mask5
-rw-r--r--profiles/prefix/sunos/solaris/5.11/sparc64/package.use.mask4
-rw-r--r--profiles/prefix/sunos/solaris/5.11/sparc64/parent2
-rw-r--r--profiles/prefix/sunos/solaris/5.11/x64/eapi1
-rw-r--r--profiles/prefix/sunos/solaris/5.11/x64/make.defaults8
-rw-r--r--profiles/prefix/sunos/solaris/5.11/x64/package.use.mask5
-rw-r--r--profiles/prefix/sunos/solaris/5.11/x64/parent2
-rw-r--r--profiles/prefix/sunos/solaris/5.11/x86/eapi1
-rw-r--r--profiles/prefix/sunos/solaris/5.11/x86/make.defaults8
-rw-r--r--profiles/prefix/sunos/solaris/5.11/x86/package.use.mask4
-rw-r--r--profiles/prefix/sunos/solaris/5.11/x86/parent2
-rw-r--r--profiles/prefix/sunos/solaris/5.9/eapi1
-rw-r--r--profiles/prefix/sunos/solaris/5.9/package.mask15
-rw-r--r--profiles/prefix/sunos/solaris/5.9/package.provided5
-rw-r--r--profiles/prefix/sunos/solaris/5.9/package.use.force6
-rw-r--r--profiles/prefix/sunos/solaris/5.9/package.use.mask8
-rw-r--r--profiles/prefix/sunos/solaris/5.9/parent1
-rw-r--r--profiles/prefix/sunos/solaris/5.9/sparc/eapi1
-rw-r--r--profiles/prefix/sunos/solaris/5.9/sparc/make.defaults8
-rw-r--r--profiles/prefix/sunos/solaris/5.9/sparc/package.mask5
-rw-r--r--profiles/prefix/sunos/solaris/5.9/sparc/parent2
-rw-r--r--profiles/prefix/sunos/solaris/5.9/sparc64/eapi1
-rw-r--r--profiles/prefix/sunos/solaris/5.9/sparc64/make.defaults8
-rw-r--r--profiles/prefix/sunos/solaris/5.9/sparc64/package.mask5
-rw-r--r--profiles/prefix/sunos/solaris/5.9/sparc64/parent2
-rw-r--r--profiles/prefix/sunos/solaris/arch/eapi1
-rw-r--r--profiles/prefix/sunos/solaris/arch/sparc/eapi1
-rw-r--r--profiles/prefix/sunos/solaris/arch/sparc/package.mask11
-rw-r--r--profiles/prefix/sunos/solaris/arch/sparc/package.use.mask12
-rw-r--r--profiles/prefix/sunos/solaris/arch/sparc64/eapi1
-rw-r--r--profiles/prefix/sunos/solaris/arch/sparc64/package.mask8
-rw-r--r--profiles/prefix/sunos/solaris/arch/sparc64/package.use.mask8
-rw-r--r--profiles/prefix/sunos/solaris/arch/sparc64/parent1
-rw-r--r--profiles/prefix/sunos/solaris/arch/x64/eapi1
-rw-r--r--profiles/prefix/sunos/solaris/arch/x64/make.defaults10
-rw-r--r--profiles/prefix/sunos/solaris/arch/x64/package.mask8
-rw-r--r--profiles/prefix/sunos/solaris/arch/x64/package.use.mask8
-rw-r--r--profiles/prefix/sunos/solaris/arch/x64/parent1
-rw-r--r--profiles/prefix/sunos/solaris/arch/x64/use.force6
-rw-r--r--profiles/prefix/sunos/solaris/arch/x86/eapi1
-rw-r--r--profiles/prefix/sunos/solaris/arch/x86/make.defaults10
-rw-r--r--profiles/prefix/sunos/solaris/arch/x86/package.mask8
-rw-r--r--profiles/prefix/sunos/solaris/arch/x86/package.use.mask8
-rw-r--r--profiles/prefix/sunos/solaris/arch/x86/use.force6
-rw-r--r--profiles/prefix/sunos/solaris/eapi1
-rw-r--r--profiles/prefix/sunos/solaris/make.defaults7
-rw-r--r--profiles/prefix/sunos/solaris/package.mask45
-rw-r--r--profiles/prefix/sunos/solaris/package.use.force10
-rw-r--r--profiles/prefix/sunos/solaris/package.use.mask24
-rw-r--r--profiles/prefix/sunos/solaris/parent1
-rw-r--r--profiles/prefix/sunos/solaris/profile.bashrc12
-rw-r--r--profiles/prefix/sunos/use.force7
-rw-r--r--profiles/prefix/sunos/use.mask46
-rw-r--r--profiles/prefix/use.force8
-rw-r--r--profiles/prefix/use.mask12
-rw-r--r--profiles/prefix/windows/cygwin/1.7/eapi1
-rw-r--r--profiles/prefix/windows/cygwin/1.7/package.provided5
-rw-r--r--profiles/prefix/windows/cygwin/1.7/parent1
-rw-r--r--profiles/prefix/windows/cygwin/1.7/x86/eapi1
-rw-r--r--profiles/prefix/windows/cygwin/1.7/x86/make.defaults7
-rw-r--r--profiles/prefix/windows/cygwin/1.7/x86/parent1
-rw-r--r--profiles/prefix/windows/cygwin/2.0/eapi1
-rw-r--r--profiles/prefix/windows/cygwin/2.0/package.provided5
-rw-r--r--profiles/prefix/windows/cygwin/2.0/parent1
-rw-r--r--profiles/prefix/windows/cygwin/2.0/x64/eapi1
-rw-r--r--profiles/prefix/windows/cygwin/2.0/x64/make.defaults7
-rw-r--r--profiles/prefix/windows/cygwin/2.0/x64/parent1
-rw-r--r--profiles/prefix/windows/cygwin/2.0/x86/eapi1
-rw-r--r--profiles/prefix/windows/cygwin/2.0/x86/make.defaults7
-rw-r--r--profiles/prefix/windows/cygwin/2.0/x86/parent1
-rw-r--r--profiles/prefix/windows/cygwin/eapi1
-rw-r--r--profiles/prefix/windows/cygwin/make.defaults12
-rw-r--r--profiles/prefix/windows/cygwin/parent1
-rw-r--r--profiles/prefix/windows/cygwin/use.force6
-rw-r--r--profiles/prefix/windows/cygwin/use.mask6
-rw-r--r--profiles/prefix/windows/eapi1
-rw-r--r--profiles/prefix/windows/interix/3.5/eapi1
-rw-r--r--profiles/prefix/windows/interix/3.5/package.mask8
-rw-r--r--profiles/prefix/windows/interix/3.5/package.provided5
-rw-r--r--profiles/prefix/windows/interix/3.5/parent1
-rw-r--r--profiles/prefix/windows/interix/3.5/x86/eapi1
-rw-r--r--profiles/prefix/windows/interix/3.5/x86/make.defaults7
-rw-r--r--profiles/prefix/windows/interix/3.5/x86/parent1
-rw-r--r--profiles/prefix/windows/interix/5.2/eapi1
-rw-r--r--profiles/prefix/windows/interix/5.2/package.provided5
-rw-r--r--profiles/prefix/windows/interix/5.2/parent1
-rw-r--r--profiles/prefix/windows/interix/5.2/x86/eapi1
-rw-r--r--profiles/prefix/windows/interix/5.2/x86/make.defaults7
-rw-r--r--profiles/prefix/windows/interix/5.2/x86/parent1
-rw-r--r--profiles/prefix/windows/interix/6.0/eapi1
-rw-r--r--profiles/prefix/windows/interix/6.0/package.provided5
-rw-r--r--profiles/prefix/windows/interix/6.0/parent1
-rw-r--r--profiles/prefix/windows/interix/6.0/use.mask8
-rw-r--r--profiles/prefix/windows/interix/6.0/x86/eapi1
-rw-r--r--profiles/prefix/windows/interix/6.0/x86/make.defaults9
-rw-r--r--profiles/prefix/windows/interix/6.0/x86/parent1
-rw-r--r--profiles/prefix/windows/interix/6.1/eapi1
-rw-r--r--profiles/prefix/windows/interix/6.1/package.provided5
-rw-r--r--profiles/prefix/windows/interix/6.1/parent1
-rw-r--r--profiles/prefix/windows/interix/6.1/use.mask8
-rw-r--r--profiles/prefix/windows/interix/6.1/x86/eapi1
-rw-r--r--profiles/prefix/windows/interix/6.1/x86/make.defaults9
-rw-r--r--profiles/prefix/windows/interix/6.1/x86/parent1
-rw-r--r--profiles/prefix/windows/interix/eapi1
-rw-r--r--profiles/prefix/windows/interix/make.defaults12
-rw-r--r--profiles/prefix/windows/interix/package.mask14
-rw-r--r--profiles/prefix/windows/interix/package.use.force10
-rw-r--r--profiles/prefix/windows/interix/package.use.mask22
-rw-r--r--profiles/prefix/windows/interix/packages3
-rw-r--r--profiles/prefix/windows/interix/parent1
-rw-r--r--profiles/prefix/windows/interix/profile.bashrc146
-rw-r--r--profiles/prefix/windows/interix/use.force6
-rw-r--r--profiles/prefix/windows/interix/use.mask88
-rw-r--r--profiles/prefix/windows/parent1
-rw-r--r--profiles/prefix/windows/use.force6
-rw-r--r--profiles/prefix/windows/use.mask6
-rw-r--r--profiles/prefix/windows/winnt/3.5/eapi1
-rw-r--r--profiles/prefix/windows/winnt/3.5/package.provided5
-rw-r--r--profiles/prefix/windows/winnt/3.5/parent1
-rw-r--r--profiles/prefix/windows/winnt/3.5/x86/eapi1
-rw-r--r--profiles/prefix/windows/winnt/3.5/x86/make.defaults7
-rw-r--r--profiles/prefix/windows/winnt/3.5/x86/parent1
-rw-r--r--profiles/prefix/windows/winnt/5.2/eapi1
-rw-r--r--profiles/prefix/windows/winnt/5.2/package.provided5
-rw-r--r--profiles/prefix/windows/winnt/5.2/parent1
-rw-r--r--profiles/prefix/windows/winnt/5.2/x86/eapi1
-rw-r--r--profiles/prefix/windows/winnt/5.2/x86/make.defaults7
-rw-r--r--profiles/prefix/windows/winnt/5.2/x86/parent1
-rw-r--r--profiles/prefix/windows/winnt/6.0/eapi1
-rw-r--r--profiles/prefix/windows/winnt/6.0/package.provided5
-rw-r--r--profiles/prefix/windows/winnt/6.0/parent1
-rw-r--r--profiles/prefix/windows/winnt/6.0/x86/eapi1
-rw-r--r--profiles/prefix/windows/winnt/6.0/x86/make.defaults7
-rw-r--r--profiles/prefix/windows/winnt/6.0/x86/parent1
-rw-r--r--profiles/prefix/windows/winnt/6.1/eapi1
-rw-r--r--profiles/prefix/windows/winnt/6.1/package.provided5
-rw-r--r--profiles/prefix/windows/winnt/6.1/parent1
-rw-r--r--profiles/prefix/windows/winnt/6.1/x86/eapi1
-rw-r--r--profiles/prefix/windows/winnt/6.1/x86/make.defaults7
-rw-r--r--profiles/prefix/windows/winnt/6.1/x86/parent1
-rw-r--r--profiles/prefix/windows/winnt/eapi1
-rw-r--r--profiles/prefix/windows/winnt/make.defaults11
-rw-r--r--profiles/prefix/windows/winnt/package.mask10
-rw-r--r--profiles/prefix/windows/winnt/packages38
-rw-r--r--profiles/prefix/windows/winnt/parent1
-rw-r--r--profiles/prefix/windows/winnt/profile.bashrc152
-rw-r--r--profiles/prefix/windows/winnt/use.force6
-rw-r--r--profiles/prefix/windows/winnt/use.mask87
634 files changed, 4879 insertions, 0 deletions
diff --git a/profiles/prefix/aix/5.2.0.0/eapi b/profiles/prefix/aix/5.2.0.0/eapi
new file mode 100644
index 00000000000..7ed6ff82de6
--- /dev/null
+++ b/profiles/prefix/aix/5.2.0.0/eapi
@@ -0,0 +1 @@
+5
diff --git a/profiles/prefix/aix/5.2.0.0/package.provided b/profiles/prefix/aix/5.2.0.0/package.provided
new file mode 100644
index 00000000000..b222773f767
--- /dev/null
+++ b/profiles/prefix/aix/5.2.0.0/package.provided
@@ -0,0 +1,5 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+sys-aix/libc-5.2
diff --git a/profiles/prefix/aix/5.2.0.0/parent b/profiles/prefix/aix/5.2.0.0/parent
new file mode 100644
index 00000000000..f3229c5b987
--- /dev/null
+++ b/profiles/prefix/aix/5.2.0.0/parent
@@ -0,0 +1 @@
+..
diff --git a/profiles/prefix/aix/5.2.0.0/ppc/eapi b/profiles/prefix/aix/5.2.0.0/ppc/eapi
new file mode 100644
index 00000000000..7ed6ff82de6
--- /dev/null
+++ b/profiles/prefix/aix/5.2.0.0/ppc/eapi
@@ -0,0 +1 @@
+5
diff --git a/profiles/prefix/aix/5.2.0.0/ppc/make.defaults b/profiles/prefix/aix/5.2.0.0/ppc/make.defaults
new file mode 100644
index 00000000000..b758ef89cc4
--- /dev/null
+++ b/profiles/prefix/aix/5.2.0.0/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-aix"
+CHOST="powerpc-ibm-aix5.2.0.0"
+ACCEPT_KEYWORDS="~ppc-aix"
diff --git a/profiles/prefix/aix/5.2.0.0/ppc/parent b/profiles/prefix/aix/5.2.0.0/ppc/parent
new file mode 100644
index 00000000000..f3229c5b987
--- /dev/null
+++ b/profiles/prefix/aix/5.2.0.0/ppc/parent
@@ -0,0 +1 @@
+..
diff --git a/profiles/prefix/aix/5.3.0.0/eapi b/profiles/prefix/aix/5.3.0.0/eapi
new file mode 100644
index 00000000000..7ed6ff82de6
--- /dev/null
+++ b/profiles/prefix/aix/5.3.0.0/eapi
@@ -0,0 +1 @@
+5
diff --git a/profiles/prefix/aix/5.3.0.0/package.mask b/profiles/prefix/aix/5.3.0.0/package.mask
new file mode 100644
index 00000000000..addad5db632
--- /dev/null
+++ b/profiles/prefix/aix/5.3.0.0/package.mask
@@ -0,0 +1,7 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+# Michael Haubenwallner <haubi@gentoo.org> (14 Jul 2009)
+# Has build errors on aix5.3.
+=sys-process/lsof-4.82
diff --git a/profiles/prefix/aix/5.3.0.0/package.provided b/profiles/prefix/aix/5.3.0.0/package.provided
new file mode 100644
index 00000000000..c9eb9b92202
--- /dev/null
+++ b/profiles/prefix/aix/5.3.0.0/package.provided
@@ -0,0 +1,5 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+sys-aix/libc-5.3
diff --git a/profiles/prefix/aix/5.3.0.0/parent b/profiles/prefix/aix/5.3.0.0/parent
new file mode 100644
index 00000000000..f3229c5b987
--- /dev/null
+++ b/profiles/prefix/aix/5.3.0.0/parent
@@ -0,0 +1 @@
+..
diff --git a/profiles/prefix/aix/5.3.0.0/ppc/eapi b/profiles/prefix/aix/5.3.0.0/ppc/eapi
new file mode 100644
index 00000000000..7ed6ff82de6
--- /dev/null
+++ b/profiles/prefix/aix/5.3.0.0/ppc/eapi
@@ -0,0 +1 @@
+5
diff --git a/profiles/prefix/aix/5.3.0.0/ppc/make.defaults b/profiles/prefix/aix/5.3.0.0/ppc/make.defaults
new file mode 100644
index 00000000000..72e3270aec6
--- /dev/null
+++ b/profiles/prefix/aix/5.3.0.0/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-aix"
+CHOST="powerpc-ibm-aix5.3.0.0"
+ACCEPT_KEYWORDS="~ppc-aix"
diff --git a/profiles/prefix/aix/5.3.0.0/ppc/parent b/profiles/prefix/aix/5.3.0.0/ppc/parent
new file mode 100644
index 00000000000..f3229c5b987
--- /dev/null
+++ b/profiles/prefix/aix/5.3.0.0/ppc/parent
@@ -0,0 +1 @@
+..
diff --git a/profiles/prefix/aix/6.1.0.0/eapi b/profiles/prefix/aix/6.1.0.0/eapi
new file mode 100644
index 00000000000..7ed6ff82de6
--- /dev/null
+++ b/profiles/prefix/aix/6.1.0.0/eapi
@@ -0,0 +1 @@
+5
diff --git a/profiles/prefix/aix/6.1.0.0/package.provided b/profiles/prefix/aix/6.1.0.0/package.provided
new file mode 100644
index 00000000000..4aab46ca81d
--- /dev/null
+++ b/profiles/prefix/aix/6.1.0.0/package.provided
@@ -0,0 +1,5 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+sys-aix/libc-6.1
diff --git a/profiles/prefix/aix/6.1.0.0/parent b/profiles/prefix/aix/6.1.0.0/parent
new file mode 100644
index 00000000000..f3229c5b987
--- /dev/null
+++ b/profiles/prefix/aix/6.1.0.0/parent
@@ -0,0 +1 @@
+..
diff --git a/profiles/prefix/aix/6.1.0.0/ppc/eapi b/profiles/prefix/aix/6.1.0.0/ppc/eapi
new file mode 100644
index 00000000000..7ed6ff82de6
--- /dev/null
+++ b/profiles/prefix/aix/6.1.0.0/ppc/eapi
@@ -0,0 +1 @@
+5
diff --git a/profiles/prefix/aix/6.1.0.0/ppc/make.defaults b/profiles/prefix/aix/6.1.0.0/ppc/make.defaults
new file mode 100644
index 00000000000..71cd10bb04d
--- /dev/null
+++ b/profiles/prefix/aix/6.1.0.0/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-aix"
+CHOST="powerpc-ibm-aix6.1.0.0"
+ACCEPT_KEYWORDS="~ppc-aix"
diff --git a/profiles/prefix/aix/6.1.0.0/ppc/parent b/profiles/prefix/aix/6.1.0.0/ppc/parent
new file mode 100644
index 00000000000..f3229c5b987
--- /dev/null
+++ b/profiles/prefix/aix/6.1.0.0/ppc/parent
@@ -0,0 +1 @@
+..
diff --git a/profiles/prefix/aix/7.1.0.0/eapi b/profiles/prefix/aix/7.1.0.0/eapi
new file mode 100644
index 00000000000..7ed6ff82de6
--- /dev/null
+++ b/profiles/prefix/aix/7.1.0.0/eapi
@@ -0,0 +1 @@
+5
diff --git a/profiles/prefix/aix/7.1.0.0/package.provided b/profiles/prefix/aix/7.1.0.0/package.provided
new file mode 100644
index 00000000000..f0d43086f8b
--- /dev/null
+++ b/profiles/prefix/aix/7.1.0.0/package.provided
@@ -0,0 +1,5 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+sys-aix/libc-7.1
diff --git a/profiles/prefix/aix/7.1.0.0/parent b/profiles/prefix/aix/7.1.0.0/parent
new file mode 100644
index 00000000000..f3229c5b987
--- /dev/null
+++ b/profiles/prefix/aix/7.1.0.0/parent
@@ -0,0 +1 @@
+..
diff --git a/profiles/prefix/aix/7.1.0.0/ppc/eapi b/profiles/prefix/aix/7.1.0.0/ppc/eapi
new file mode 100644
index 00000000000..7ed6ff82de6
--- /dev/null
+++ b/profiles/prefix/aix/7.1.0.0/ppc/eapi
@@ -0,0 +1 @@
+5
diff --git a/profiles/prefix/aix/7.1.0.0/ppc/make.defaults b/profiles/prefix/aix/7.1.0.0/ppc/make.defaults
new file mode 100644
index 00000000000..8bd0a2f8867
--- /dev/null
+++ b/profiles/prefix/aix/7.1.0.0/ppc/make.defaults
@@ -0,0 +1,7 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+ARCH="ppc-aix"
+CHOST="powerpc-ibm-aix7.1.0.0"
+ACCEPT_KEYWORDS="~ppc-aix"
diff --git a/profiles/prefix/aix/7.1.0.0/ppc/parent b/profiles/prefix/aix/7.1.0.0/ppc/parent
new file mode 100644
index 00000000000..f3229c5b987
--- /dev/null
+++ b/profiles/prefix/aix/7.1.0.0/ppc/parent
@@ -0,0 +1 @@
+..
diff --git a/profiles/prefix/aix/eapi b/profiles/prefix/aix/eapi
new file mode 100644
index 00000000000..7ed6ff82de6
--- /dev/null
+++ b/profiles/prefix/aix/eapi
@@ -0,0 +1 @@
+5
diff --git a/profiles/prefix/aix/make.defaults b/profiles/prefix/aix/make.defaults
new file mode 100644
index 00000000000..24e3c2806a5
--- /dev/null
+++ b/profiles/prefix/aix/make.defaults
@@ -0,0 +1,20 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+# System-wide defaults for all AIX profiles
+# This file should rarely need to be changed
+
+# 'Sane' defaults
+ELIBC="AIX"
+KERNEL="AIX"
+
+# no scanelf
+FEATURES="nostrip"
+
+# 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/aix/package.mask b/profiles/prefix/aix/package.mask
new file mode 100644
index 00000000000..dcb85a4566c
--- /dev/null
+++ b/profiles/prefix/aix/package.mask
@@ -0,0 +1,32 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+# Michael Haubenwallner <haubi@gentoo.org> (17 Feb 2015)
+# Fails to include "config.h" first in some sources.
+=sci-visualization/gnuplot-5.0.0
+
+# Michael Haubenwallner <haubi@gentoo.org> (17 Feb 2015)
+# Ships without gnulib module faccessat, necessary for AIX.
+=sys-devel/patch-2.7.4
+
+# Michael Haubenwallner <haubi@gentoo.org> (17 Feb 2015)
+# Breaks (openssh, ...) because of PR target/65058
+=sys-devel/gcc-4.3*
+=sys-devel/gcc-4.4*
+=sys-devel/gcc-4.5*
+=sys-devel/gcc-4.6*
+=sys-devel/gcc-4.7*
+~sys-devel/gcc-4.8.0
+~sys-devel/gcc-4.8.1
+~sys-devel/gcc-4.8.2
+~sys-devel/gcc-4.8.3
+=sys-devel/gcc-4.9*
+
+# Michael Haubenwallner <haubi@gentoo.org> (14 Apr 2014)
+# Endless loop while compiling gcc-4.2.4 for yet unknown reason.
+~sys-devel/make-4.0
+
+# Fabian Groffen <grobian@gentoo.org> (04 Apr 2007)
+# This is the only linker for AIX
+-sys-devel/native-cctools
diff --git a/profiles/prefix/aix/package.use.force b/profiles/prefix/aix/package.use.force
new file mode 100644
index 00000000000..9f6373e9ed7
--- /dev/null
+++ b/profiles/prefix/aix/package.use.force
@@ -0,0 +1,14 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+# Michael Haubenwallner <haubi@gentoo.org> (2009-03-18)
+# Plugins need to be built and installed using libtool (#261186)
+net-nds/openldap minimal
+
+# Michael Haubenwallner <haubi@gentoo.org> (2008-05-09)
+# Gentoo's PIE patch for gcc-3 does not work on AIX.
+# One might want to use gcc-3.4 on AIX, because IBM Rational Purify
+# might not support gcc-4. The first gcc-support (gcc-3.4) has come
+# with PurifyPlus Interim Fix v7.0.0.0-010 (released in February 2008).
+=sys-devel/gcc-3* nopie
diff --git a/profiles/prefix/aix/package.use.mask b/profiles/prefix/aix/package.use.mask
new file mode 100644
index 00000000000..11d87df3519
--- /dev/null
+++ b/profiles/prefix/aix/package.use.mask
@@ -0,0 +1,11 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+# Michael Haubenwallner <haubi@gentoo.org> (16 Feb 2012)
+# JIT implementation in pcre does not know about AIX.
+dev-libs/libpcre jit
+
+# Michael Haubenwallner <haubi@gentoo.org> (08 May 2009)
+# IBM does not provide "Java Communications API support" for AIX
+dev-java/ibm-jdk-bin javacomm
diff --git a/profiles/prefix/aix/packages b/profiles/prefix/aix/packages
new file mode 100644
index 00000000000..1a7bec4d4e2
--- /dev/null
+++ b/profiles/prefix/aix/packages
@@ -0,0 +1,10 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+# AIX uses the native (non-source available) linker
+*sys-devel/native-cctools
+# because AIX ar isn't able to unpack .deb files, we need deb2targz
+*app-arch/deb2targz
+# need some dll helpers on AIX
+*sys-apps/aix-miscutils
diff --git a/profiles/prefix/aix/parent b/profiles/prefix/aix/parent
new file mode 100644
index 00000000000..f3229c5b987
--- /dev/null
+++ b/profiles/prefix/aix/parent
@@ -0,0 +1 @@
+..
diff --git a/profiles/prefix/aix/profile.bashrc b/profiles/prefix/aix/profile.bashrc
new file mode 100644
index 00000000000..50e5fae4a06
--- /dev/null
+++ b/profiles/prefix/aix/profile.bashrc
@@ -0,0 +1,7 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+# never use /bin/sh as CONFIG_SHELL on AIX: it is ways too slow,
+# as well as broken in some corner cases.
+export CONFIG_SHELL=${BASH}
diff --git a/profiles/prefix/aix/use.force b/profiles/prefix/aix/use.force
new file mode 100644
index 00000000000..3b4e50e077b
--- /dev/null
+++ b/profiles/prefix/aix/use.force
@@ -0,0 +1,10 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+# Re-add AIX OS
+kernel_AIX
+elibc_AIX
+
+# Force the flag corresponding to the default ABI
+abi_ppc_32
diff --git a/profiles/prefix/aix/use.mask b/profiles/prefix/aix/use.mask
new file mode 100644
index 00000000000..ca40a6d015b
--- /dev/null
+++ b/profiles/prefix/aix/use.mask
@@ -0,0 +1,46 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+# Re-add AIX libc
+-elibc_AIX
+-kernel_AIX
+
+# these will more than likely never work on AIX
+3dfx
+3dnow
+3dnowext
+acpi
+alsa
+apm
+cap
+caps
+cman
+clvm
+directfb
+divx4linux
+djbfft
+fbcon
+fdftk
+fmod
+ggi
+gpm
+hardened
+icc
+icc-pgo
+mmx
+mmx2
+# the following USE flag requires device-mapper
+on-the-fly-crypt
+oss
+solid
+sse
+sse2
+svga
+sybase
+sybase-ct
+rtc
+uclibc
+voodoo3
+pvm
+v4l
diff --git a/profiles/prefix/bsd/eapi b/profiles/prefix/bsd/eapi
new file mode 100644
index 00000000000..7ed6ff82de6
--- /dev/null
+++ b/profiles/prefix/bsd/eapi
@@ -0,0 +1 @@
+5
diff --git a/profiles/prefix/bsd/freebsd/7.1/eapi b/profiles/prefix/bsd/freebsd/7.1/eapi
new file mode 100644
index 00000000000..7ed6ff82de6
--- /dev/null
+++ b/profiles/prefix/bsd/freebsd/7.1/eapi
@@ -0,0 +1 @@
+5
diff --git a/profiles/prefix/bsd/freebsd/7.1/package.mask b/profiles/prefix/bsd/freebsd/7.1/package.mask
new file mode 100644
index 00000000000..9973a0f32ab
--- /dev/null
+++ b/profiles/prefix/bsd/freebsd/7.1/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/bsd/freebsd/7.1/package.provided b/profiles/prefix/bsd/freebsd/7.1/package.provided
new file mode 100644
index 00000000000..6781f44faf1
--- /dev/null
+++ b/profiles/prefix/bsd/freebsd/7.1/package.provided
@@ -0,0 +1,5 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+sys-freebsd/libc-7.1
diff --git a/profiles/prefix/bsd/freebsd/7.1/parent b/profiles/prefix/bsd/freebsd/7.1/parent
new file mode 100644
index 00000000000..f3229c5b987
--- /dev/null
+++ b/profiles/prefix/bsd/freebsd/7.1/parent
@@ -0,0 +1 @@
+..
diff --git a/profiles/prefix/bsd/freebsd/7.1/x64/eapi b/profiles/prefix/bsd/freebsd/7.1/x64/eapi
new file mode 100644
index 00000000000..7ed6ff82de6
--- /dev/null
+++ b/profiles/prefix/bsd/freebsd/7.1/x64/eapi
@@ -0,0 +1 @@
+5
diff --git a/profiles/prefix/bsd/freebsd/7.1/x64/make.defaults b/profiles/prefix/bsd/freebsd/7.1/x64/make.defaults
new file mode 100644
index 00000000000..e007d601991
--- /dev/null
+++ b/profiles/prefix/bsd/freebsd/7.1/x64/make.defaults
@@ -0,0 +1,9 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+# retain backwards compatability for freebsd keywords/conditionals
+ARCH="amd64-fbsd"
+CHOST="x86_64-pc-freebsd7.1"
+ACCEPT_KEYWORDS="~x64-freebsd"
+
diff --git a/profiles/prefix/bsd/freebsd/7.1/x64/parent b/profiles/prefix/bsd/freebsd/7.1/x64/parent
new file mode 100644
index 00000000000..fc24616eeda
--- /dev/null
+++ b/profiles/prefix/bsd/freebsd/7.1/x64/parent
@@ -0,0 +1,2 @@
+../../arch/x64
+..
diff --git a/profiles/prefix/bsd/freebsd/7.1/x86/eapi b/profiles/prefix/bsd/freebsd/7.1/x86/eapi
new file mode 100644
index 00000000000..7ed6ff82de6
--- /dev/null
+++ b/profiles/prefix/bsd/freebsd/7.1/x86/eapi
@@ -0,0 +1 @@
+5
diff --git a/profiles/prefix/bsd/freebsd/7.1/x86/make.defaults b/profiles/prefix/bsd/freebsd/7.1/x86/make.defaults
new file mode 100644
index 00000000000..0dc5cdb44ac
--- /dev/null
+++ b/profiles/prefix/bsd/freebsd/7.1/x86/make.defaults
@@ -0,0 +1,9 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+# retain backwards compatability for freebsd keywords/conditionals
+ARCH="x86-fbsd"
+CHOST="i686-pc-freebsd7.1"
+ACCEPT_KEYWORDS="~x86-freebsd"
+
diff --git a/profiles/prefix/bsd/freebsd/7.1/x86/parent b/profiles/prefix/bsd/freebsd/7.1/x86/parent
new file mode 100644
index 00000000000..4a6aa36b18d
--- /dev/null
+++ b/profiles/prefix/bsd/freebsd/7.1/x86/parent
@@ -0,0 +1,2 @@
+../../arch/x86
+..
diff --git a/profiles/prefix/bsd/freebsd/7.2/eapi b/profiles/prefix/bsd/freebsd/7.2/eapi
new file mode 100644
index 00000000000..7ed6ff82de6
--- /dev/null
+++ b/profiles/prefix/bsd/freebsd/7.2/eapi
@@ -0,0 +1 @@
+5
diff --git a/profiles/prefix/bsd/freebsd/7.2/package.mask b/profiles/prefix/bsd/freebsd/7.2/package.mask
new file mode 100644
index 00000000000..9973a0f32ab
--- /dev/null
+++ b/profiles/prefix/bsd/freebsd/7.2/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/bsd/freebsd/7.2/package.provided b/profiles/prefix/bsd/freebsd/7.2/package.provided
new file mode 100644
index 00000000000..6781f44faf1
--- /dev/null
+++ b/profiles/prefix/bsd/freebsd/7.2/package.provided
@@ -0,0 +1,5 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+sys-freebsd/libc-7.1
diff --git a/profiles/prefix/bsd/freebsd/7.2/parent b/profiles/prefix/bsd/freebsd/7.2/parent
new file mode 100644
index 00000000000..f3229c5b987
--- /dev/null
+++ b/profiles/prefix/bsd/freebsd/7.2/parent
@@ -0,0 +1 @@
+..
diff --git a/profiles/prefix/bsd/freebsd/7.2/x64/eapi b/profiles/prefix/bsd/freebsd/7.2/x64/eapi
new file mode 100644
index 00000000000..7ed6ff82de6
--- /dev/null
+++ b/profiles/prefix/bsd/freebsd/7.2/x64/eapi
@@ -0,0 +1 @@
+5
diff --git a/profiles/prefix/bsd/freebsd/7.2/x64/make.defaults b/profiles/prefix/bsd/freebsd/7.2/x64/make.defaults
new file mode 100644
index 00000000000..e5d8e89254e
--- /dev/null
+++ b/profiles/prefix/bsd/freebsd/7.2/x64/make.defaults
@@ -0,0 +1,9 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+# retain backwards compatability for freebsd keywords/conditionals
+ARCH="amd64-fbsd"
+CHOST="x86_64-pc-freebsd7.2"
+ACCEPT_KEYWORDS="~x64-freebsd"
+
diff --git a/profiles/prefix/bsd/freebsd/7.2/x64/parent b/profiles/prefix/bsd/freebsd/7.2/x64/parent
new file mode 100644
index 00000000000..fc24616eeda
--- /dev/null
+++ b/profiles/prefix/bsd/freebsd/7.2/x64/parent
@@ -0,0 +1,2 @@
+../../arch/x64
+..
diff --git a/profiles/prefix/bsd/freebsd/7.2/x86/eapi b/profiles/prefix/bsd/freebsd/7.2/x86/eapi
new file mode 100644
index 00000000000..7ed6ff82de6
--- /dev/null
+++ b/profiles/prefix/bsd/freebsd/7.2/x86/eapi
@@ -0,0 +1 @@
+5
diff --git a/profiles/prefix/bsd/freebsd/7.2/x86/make.defaults b/profiles/prefix/bsd/freebsd/7.2/x86/make.defaults
new file mode 100644
index 00000000000..36ca33a8e4e
--- /dev/null
+++ b/profiles/prefix/bsd/freebsd/7.2/x86/make.defaults
@@ -0,0 +1,9 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+# retain backwards compatability for freebsd keywords/conditionals
+ARCH="x86-fbsd"
+CHOST="i686-pc-freebsd7.2"
+ACCEPT_KEYWORDS="~x86-freebsd"
+
diff --git a/profiles/prefix/bsd/freebsd/7.2/x86/parent b/profiles/prefix/bsd/freebsd/7.2/x86/parent
new file mode 100644
index 00000000000..4a6aa36b18d
--- /dev/null
+++ b/profiles/prefix/bsd/freebsd/7.2/x86/parent
@@ -0,0 +1,2 @@
+../../arch/x86
+..
diff --git a/profiles/prefix/bsd/freebsd/8.0/eapi b/profiles/prefix/bsd/freebsd/8.0/eapi
new file mode 100644
index 00000000000..7ed6ff82de6
--- /dev/null
+++ b/profiles/prefix/bsd/freebsd/8.0/eapi
@@ -0,0 +1 @@
+5
diff --git a/profiles/prefix/bsd/freebsd/8.0/package.mask b/profiles/prefix/bsd/freebsd/8.0/package.mask
new file mode 100644
index 00000000000..767a0143f9d
--- /dev/null
+++ b/profiles/prefix/bsd/freebsd/8.0/package.mask
@@ -0,0 +1,7 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+# Christian Faulhammer <fauli@gentoo.org> (08 Dec 2009)
+# Is currently broken
+>=sys-devel/gcc-4.4
diff --git a/profiles/prefix/bsd/freebsd/8.0/package.provided b/profiles/prefix/bsd/freebsd/8.0/package.provided
new file mode 100644
index 00000000000..f48afa835b6
--- /dev/null
+++ b/profiles/prefix/bsd/freebsd/8.0/package.provided
@@ -0,0 +1,5 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+sys-freebsd/libc-8.0
diff --git a/profiles/prefix/bsd/freebsd/8.0/parent b/profiles/prefix/bsd/freebsd/8.0/parent
new file mode 100644
index 00000000000..f3229c5b987
--- /dev/null
+++ b/profiles/prefix/bsd/freebsd/8.0/parent
@@ -0,0 +1 @@
+..
diff --git a/profiles/prefix/bsd/freebsd/8.0/x64/eapi b/profiles/prefix/bsd/freebsd/8.0/x64/eapi
new file mode 100644
index 00000000000..7ed6ff82de6
--- /dev/null
+++ b/profiles/prefix/bsd/freebsd/8.0/x64/eapi
@@ -0,0 +1 @@
+5
diff --git a/profiles/prefix/bsd/freebsd/8.0/x64/make.defaults b/profiles/prefix/bsd/freebsd/8.0/x64/make.defaults
new file mode 100644
index 00000000000..336201124ae
--- /dev/null
+++ b/profiles/prefix/bsd/freebsd/8.0/x64/make.defaults
@@ -0,0 +1,9 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+# retain backwards compatability for freebsd keywords/conditionals
+ARCH="amd64-fbsd"
+CHOST="x86_64-pc-freebsd8.0"
+ACCEPT_KEYWORDS="~x64-freebsd"
+
diff --git a/profiles/prefix/bsd/freebsd/8.0/x64/parent b/profiles/prefix/bsd/freebsd/8.0/x64/parent
new file mode 100644
index 00000000000..fc24616eeda
--- /dev/null
+++ b/profiles/prefix/bsd/freebsd/8.0/x64/parent
@@ -0,0 +1,2 @@
+../../arch/x64
+..
diff --git a/profiles/prefix/bsd/freebsd/8.0/x86/eapi b/profiles/prefix/bsd/freebsd/8.0/x86/eapi
new file mode 100644
index 00000000000..7ed6ff82de6
--- /dev/null
+++ b/profiles/prefix/bsd/freebsd/8.0/x86/eapi
@@ -0,0 +1 @@
+5
diff --git a/profiles/prefix/bsd/freebsd/8.0/x86/make.defaults b/profiles/prefix/bsd/freebsd/8.0/x86/make.defaults
new file mode 100644
index 00000000000..16928ae009b
--- /dev/null
+++ b/profiles/prefix/bsd/freebsd/8.0/x86/make.defaults
@@ -0,0 +1,9 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+# retain backwards compatability for freebsd keywords/conditionals
+ARCH="x86-fbsd"
+CHOST="i686-pc-freebsd8.0"
+ACCEPT_KEYWORDS="~x86-freebsd"
+
diff --git a/profiles/prefix/bsd/freebsd/8.0/x86/parent b/profiles/prefix/bsd/freebsd/8.0/x86/parent
new file mode 100644
index 00000000000..4a6aa36b18d
--- /dev/null
+++ b/profiles/prefix/bsd/freebsd/8.0/x86/parent
@@ -0,0 +1,2 @@
+../../arch/x86
+..
diff --git a/profiles/prefix/bsd/freebsd/8.1/eapi b/profiles/prefix/bsd/freebsd/8.1/eapi
new file mode 100644
index 00000000000..7ed6ff82de6
--- /dev/null
+++ b/profiles/prefix/bsd/freebsd/8.1/eapi
@@ -0,0 +1 @@
+5
diff --git a/profiles/prefix/bsd/freebsd/8.1/package.mask b/profiles/prefix/bsd/freebsd/8.1/package.mask
new file mode 100644
index 00000000000..9973a0f32ab
--- /dev/null
+++ b/profiles/prefix/bsd/freebsd/8.1/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/bsd/freebsd/8.1/package.provided b/profiles/prefix/bsd/freebsd/8.1/package.provided
new file mode 100644
index 00000000000..4133cf0b56f
--- /dev/null
+++ b/profiles/prefix/bsd/freebsd/8.1/package.provided
@@ -0,0 +1,5 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+sys-freebsd/libc-8.1
diff --git a/profiles/prefix/bsd/freebsd/8.1/parent b/profiles/prefix/bsd/freebsd/8.1/parent
new file mode 100644
index 00000000000..f3229c5b987
--- /dev/null
+++ b/profiles/prefix/bsd/freebsd/8.1/parent
@@ -0,0 +1 @@
+..
diff --git a/profiles/prefix/bsd/freebsd/8.1/sparc64/eapi b/profiles/prefix/bsd/freebsd/8.1/sparc64/eapi
new file mode 100644
index 00000000000..7ed6ff82de6
--- /dev/null
+++ b/profiles/prefix/bsd/freebsd/8.1/sparc64/eapi
@@ -0,0 +1 @@
+5
diff --git a/profiles/prefix/bsd/freebsd/8.1/sparc64/make.defaults b/profiles/prefix/bsd/freebsd/8.1/sparc64/make.defaults
new file mode 100644
index 00000000000..cac905fc132
--- /dev/null
+++ b/profiles/prefix/bsd/freebsd/8.1/sparc64/make.defaults
@@ -0,0 +1,9 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+# retain backwards compatability for freebsd keywords/conditionals
+ARCH="sparc64-fbsd"
+CHOST="sparc64-unknown-freebsd8.1"
+ACCEPT_KEYWORDS="~sparc64-freebsd"
+
diff --git a/profiles/prefix/bsd/freebsd/8.1/sparc64/parent b/profiles/prefix/bsd/freebsd/8.1/sparc64/parent
new file mode 100644
index 00000000000..9dbef0db89b
--- /dev/null
+++ b/profiles/prefix/bsd/freebsd/8.1/sparc64/parent
@@ -0,0 +1,2 @@
+../../arch/sparc64
+..
diff --git a/profiles/prefix/bsd/freebsd/8.1/x64/eapi b/profiles/prefix/bsd/freebsd/8.1/x64/eapi
new file mode 100644
index 00000000000..7ed6ff82de6
--- /dev/null
+++ b/profiles/prefix/bsd/freebsd/8.1/x64/eapi
@@ -0,0 +1 @@
+5
diff --git a/profiles/prefix/bsd/freebsd/8.1/x64/make.defaults b/profiles/prefix/bsd/freebsd/8.1/x64/make.defaults
new file mode 100644
index 00000000000..644f7e2f231
--- /dev/null
+++ b/profiles/prefix/bsd/freebsd/8.1/x64/make.defaults
@@ -0,0 +1,9 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+# retain backwards compatability for freebsd keywords/conditionals
+ARCH="amd64-fbsd"
+CHOST="x86_64-pc-freebsd8.1"
+ACCEPT_KEYWORDS="~x64-freebsd"
+
diff --git a/profiles/prefix/bsd/freebsd/8.1/x64/parent b/profiles/prefix/bsd/freebsd/8.1/x64/parent
new file mode 100644
index 00000000000..fc24616eeda
--- /dev/null
+++ b/profiles/prefix/bsd/freebsd/8.1/x64/parent
@@ -0,0 +1,2 @@
+../../arch/x64
+..
diff --git a/profiles/prefix/bsd/freebsd/8.1/x86/eapi b/profiles/prefix/bsd/freebsd/8.1/x86/eapi
new file mode 100644
index 00000000000..7ed6ff82de6
--- /dev/null
+++ b/profiles/prefix/bsd/freebsd/8.1/x86/eapi
@@ -0,0 +1 @@
+5
diff --git a/profiles/prefix/bsd/freebsd/8.1/x86/make.defaults b/profiles/prefix/bsd/freebsd/8.1/x86/make.defaults
new file mode 100644
index 00000000000..87b98faffb5
--- /dev/null
+++ b/profiles/prefix/bsd/freebsd/8.1/x86/make.defaults
@@ -0,0 +1,9 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+# retain backwards compatability for freebsd keywords/conditionals
+ARCH="x86-fbsd"
+CHOST="i686-pc-freebsd8.1"
+ACCEPT_KEYWORDS="~x86-freebsd"
+
diff --git a/profiles/prefix/bsd/freebsd/8.1/x86/parent b/profiles/prefix/bsd/freebsd/8.1/x86/parent
new file mode 100644
index 00000000000..4a6aa36b18d
--- /dev/null
+++ b/profiles/prefix/bsd/freebsd/8.1/x86/parent
@@ -0,0 +1,2 @@
+../../arch/x86
+..
diff --git a/profiles/prefix/bsd/freebsd/8.2/eapi b/profiles/prefix/bsd/freebsd/8.2/eapi
new file mode 100644
index 00000000000..7ed6ff82de6
--- /dev/null
+++ b/profiles/prefix/bsd/freebsd/8.2/eapi
@@ -0,0 +1 @@
+5
diff --git a/profiles/prefix/bsd/freebsd/8.2/package.provided b/profiles/prefix/bsd/freebsd/8.2/package.provided
new file mode 100644
index 00000000000..70063546e7c
--- /dev/null
+++ b/profiles/prefix/bsd/freebsd/8.2/package.provided
@@ -0,0 +1,5 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+sys-freebsd/libc-8.2
diff --git a/profiles/prefix/bsd/freebsd/8.2/parent b/profiles/prefix/bsd/freebsd/8.2/parent
new file mode 100644
index 00000000000..f3229c5b987
--- /dev/null
+++ b/profiles/prefix/bsd/freebsd/8.2/parent
@@ -0,0 +1 @@
+..
diff --git a/profiles/prefix/bsd/freebsd/8.2/x64/eapi b/profiles/prefix/bsd/freebsd/8.2/x64/eapi
new file mode 100644
index 00000000000..7ed6ff82de6
--- /dev/null
+++ b/profiles/prefix/bsd/freebsd/8.2/x64/eapi
@@ -0,0 +1 @@
+5
diff --git a/profiles/prefix/bsd/freebsd/8.2/x64/make.defaults b/profiles/prefix/bsd/freebsd/8.2/x64/make.defaults
new file mode 100644
index 00000000000..ffe40a37274
--- /dev/null
+++ b/profiles/prefix/bsd/freebsd/8.2/x64/make.defaults
@@ -0,0 +1,9 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+# retain backwards compatability for freebsd keywords/conditionals
+ARCH="amd64-fbsd"
+CHOST="x86_64-pc-freebsd8.2"
+ACCEPT_KEYWORDS="~x64-freebsd"
+
diff --git a/profiles/prefix/bsd/freebsd/8.2/x64/parent b/profiles/prefix/bsd/freebsd/8.2/x64/parent
new file mode 100644
index 00000000000..fc24616eeda
--- /dev/null
+++ b/profiles/prefix/bsd/freebsd/8.2/x64/parent
@@ -0,0 +1,2 @@
+../../arch/x64
+..
diff --git a/profiles/prefix/bsd/freebsd/8.2/x86/eapi b/profiles/prefix/bsd/freebsd/8.2/x86/eapi
new file mode 100644
index 00000000000..7ed6ff82de6
--- /dev/null
+++ b/profiles/prefix/bsd/freebsd/8.2/x86/eapi
@@ -0,0 +1 @@
+5
diff --git a/profiles/prefix/bsd/freebsd/8.2/x86/make.defaults b/profiles/prefix/bsd/freebsd/8.2/x86/make.defaults
new file mode 100644
index 00000000000..893f4e9d4b7
--- /dev/null
+++ b/profiles/prefix/bsd/freebsd/8.2/x86/make.defaults
@@ -0,0 +1,9 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+# retain backwards compatability for freebsd keywords/conditionals
+ARCH="x86-fbsd"
+CHOST="i686-pc-freebsd8.2"
+ACCEPT_KEYWORDS="~x86-freebsd"
+
diff --git a/profiles/prefix/bsd/freebsd/8.2/x86/parent b/profiles/prefix/bsd/freebsd/8.2/x86/parent
new file mode 100644
index 00000000000..4a6aa36b18d
--- /dev/null
+++ b/profiles/prefix/bsd/freebsd/8.2/x86/parent
@@ -0,0 +1,2 @@
+../../arch/x86
+..
diff --git a/profiles/prefix/bsd/freebsd/9.0/eapi b/profiles/prefix/bsd/freebsd/9.0/eapi
new file mode 100644
index 00000000000..7ed6ff82de6
--- /dev/null
+++ b/profiles/prefix/bsd/freebsd/9.0/eapi
@@ -0,0 +1 @@
+5
diff --git a/profiles/prefix/bsd/freebsd/9.0/package.provided b/profiles/prefix/bsd/freebsd/9.0/package.provided
new file mode 100644
index 00000000000..e372683bec2
--- /dev/null
+++ b/profiles/prefix/bsd/freebsd/9.0/package.provided
@@ -0,0 +1,5 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+sys-freebsd/libc-9.0
diff --git a/profiles/prefix/bsd/freebsd/9.0/parent b/profiles/prefix/bsd/freebsd/9.0/parent
new file mode 100644
index 00000000000..f3229c5b987
--- /dev/null
+++ b/profiles/prefix/bsd/freebsd/9.0/parent
@@ -0,0 +1 @@
+..
diff --git a/profiles/prefix/bsd/freebsd/9.0/x64/eapi b/profiles/prefix/bsd/freebsd/9.0/x64/eapi
new file mode 100644
index 00000000000..7ed6ff82de6
--- /dev/null
+++ b/profiles/prefix/bsd/freebsd/9.0/x64/eapi
@@ -0,0 +1 @@
+5
diff --git a/profiles/prefix/bsd/freebsd/9.0/x64/make.defaults b/profiles/prefix/bsd/freebsd/9.0/x64/make.defaults
new file mode 100644
index 00000000000..443ebf23621
--- /dev/null
+++ b/profiles/prefix/bsd/freebsd/9.0/x64/make.defaults
@@ -0,0 +1,9 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+# retain backwards compatability for freebsd keywords/conditionals
+ARCH="amd64-fbsd"
+CHOST="x86_64-pc-freebsd9.0"
+ACCEPT_KEYWORDS="~x64-freebsd"
+
diff --git a/profiles/prefix/bsd/freebsd/9.0/x64/parent b/profiles/prefix/bsd/freebsd/9.0/x64/parent
new file mode 100644
index 00000000000..fc24616eeda
--- /dev/null
+++ b/profiles/prefix/bsd/freebsd/9.0/x64/parent
@@ -0,0 +1,2 @@
+../../arch/x64
+..
diff --git a/profiles/prefix/bsd/freebsd/9.0/x86/eapi b/profiles/prefix/bsd/freebsd/9.0/x86/eapi
new file mode 100644
index 00000000000..7ed6ff82de6
--- /dev/null
+++ b/profiles/prefix/bsd/freebsd/9.0/x86/eapi
@@ -0,0 +1 @@
+5
diff --git a/profiles/prefix/bsd/freebsd/9.0/x86/make.defaults b/profiles/prefix/bsd/freebsd/9.0/x86/make.defaults
new file mode 100644
index 00000000000..45574c13774
--- /dev/null
+++ b/profiles/prefix/bsd/freebsd/9.0/x86/make.defaults
@@ -0,0 +1,9 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+# retain backwards compatability for freebsd keywords/conditionals
+ARCH="x86-fbsd"
+CHOST="i686-pc-freebsd9.0"
+ACCEPT_KEYWORDS="~x86-freebsd"
+
diff --git a/profiles/prefix/bsd/freebsd/9.0/x86/parent b/profiles/prefix/bsd/freebsd/9.0/x86/parent
new file mode 100644
index 00000000000..4a6aa36b18d
--- /dev/null
+++ b/profiles/prefix/bsd/freebsd/9.0/x86/parent
@@ -0,0 +1,2 @@
+../../arch/x86
+..
diff --git a/profiles/prefix/bsd/freebsd/9.1/eapi b/profiles/prefix/bsd/freebsd/9.1/eapi
new file mode 100644
index 00000000000..7ed6ff82de6
--- /dev/null
+++ b/profiles/prefix/bsd/freebsd/9.1/eapi
@@ -0,0 +1 @@
+5
diff --git a/profiles/prefix/bsd/freebsd/9.1/package.provided b/profiles/prefix/bsd/freebsd/9.1/package.provided
new file mode 100644
index 00000000000..75aa19b9201
--- /dev/null
+++ b/profiles/prefix/bsd/freebsd/9.1/package.provided
@@ -0,0 +1,5 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+sys-freebsd/libc-9.1
diff --git a/profiles/prefix/bsd/freebsd/9.1/parent b/profiles/prefix/bsd/freebsd/9.1/parent
new file mode 100644
index 00000000000..f3229c5b987
--- /dev/null
+++ b/profiles/prefix/bsd/freebsd/9.1/parent
@@ -0,0 +1 @@
+..
diff --git a/profiles/prefix/bsd/freebsd/9.1/x64/eapi b/profiles/prefix/bsd/freebsd/9.1/x64/eapi
new file mode 100644
index 00000000000..7ed6ff82de6
--- /dev/null
+++ b/profiles/prefix/bsd/freebsd/9.1/x64/eapi
@@ -0,0 +1 @@
+5
diff --git a/profiles/prefix/bsd/freebsd/9.1/x64/make.defaults b/profiles/prefix/bsd/freebsd/9.1/x64/make.defaults
new file mode 100644
index 00000000000..0c1362555e2
--- /dev/null
+++ b/profiles/prefix/bsd/freebsd/9.1/x64/make.defaults
@@ -0,0 +1,9 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+# retain backwards compatability for freebsd keywords/conditionals
+ARCH="amd64-fbsd"
+CHOST="x86_64-pc-freebsd9.1"
+ACCEPT_KEYWORDS="~x64-freebsd"
+
diff --git a/profiles/prefix/bsd/freebsd/9.1/x64/parent b/profiles/prefix/bsd/freebsd/9.1/x64/parent
new file mode 100644
index 00000000000..fc24616eeda
--- /dev/null
+++ b/profiles/prefix/bsd/freebsd/9.1/x64/parent
@@ -0,0 +1,2 @@
+../../arch/x64
+..
diff --git a/profiles/prefix/bsd/freebsd/9.1/x86/eapi b/profiles/prefix/bsd/freebsd/9.1/x86/eapi
new file mode 100644
index 00000000000..7ed6ff82de6
--- /dev/null
+++ b/profiles/prefix/bsd/freebsd/9.1/x86/eapi
@@ -0,0 +1 @@
+5
diff --git a/profiles/prefix/bsd/freebsd/9.1/x86/make.defaults b/profiles/prefix/bsd/freebsd/9.1/x86/make.defaults
new file mode 100644
index 00000000000..80f5d9fd32f
--- /dev/null
+++ b/profiles/prefix/bsd/freebsd/9.1/x86/make.defaults
@@ -0,0 +1,9 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+# retain backwards compatability for freebsd keywords/conditionals
+ARCH="x86-fbsd"
+CHOST="i686-pc-freebsd9.1"
+ACCEPT_KEYWORDS="~x86-freebsd"
+
diff --git a/profiles/prefix/bsd/freebsd/9.1/x86/parent b/profiles/prefix/bsd/freebsd/9.1/x86/parent
new file mode 100644
index 00000000000..4a6aa36b18d
--- /dev/null
+++ b/profiles/prefix/bsd/freebsd/9.1/x86/parent
@@ -0,0 +1,2 @@
+../../arch/x86
+..
diff --git a/profiles/prefix/bsd/freebsd/arch/eapi b/profiles/prefix/bsd/freebsd/arch/eapi
new file mode 100644
index 00000000000..7ed6ff82de6
--- /dev/null
+++ b/profiles/prefix/bsd/freebsd/arch/eapi
@@ -0,0 +1 @@
+5
diff --git a/profiles/prefix/bsd/freebsd/arch/sparc64/eapi b/profiles/prefix/bsd/freebsd/arch/sparc64/eapi
new file mode 100644
index 00000000000..7ed6ff82de6
--- /dev/null
+++ b/profiles/prefix/bsd/freebsd/arch/sparc64/eapi
@@ -0,0 +1 @@
+5
diff --git a/profiles/prefix/bsd/freebsd/arch/sparc64/package.mask b/profiles/prefix/bsd/freebsd/arch/sparc64/package.mask
new file mode 100644
index 00000000000..a84e40548a5
--- /dev/null
+++ b/profiles/prefix/bsd/freebsd/arch/sparc64/package.mask
@@ -0,0 +1,7 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+# All the FreeBSD profiles inherit from their matching arch profile here.
+
+
diff --git a/profiles/prefix/bsd/freebsd/arch/sparc64/package.use.mask b/profiles/prefix/bsd/freebsd/arch/sparc64/package.use.mask
new file mode 100644
index 00000000000..a84e40548a5
--- /dev/null
+++ b/profiles/prefix/bsd/freebsd/arch/sparc64/package.use.mask
@@ -0,0 +1,7 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+# All the FreeBSD profiles inherit from their matching arch profile here.
+
+
diff --git a/profiles/prefix/bsd/freebsd/arch/x64/eapi b/profiles/prefix/bsd/freebsd/arch/x64/eapi
new file mode 100644
index 00000000000..7ed6ff82de6
--- /dev/null
+++ b/profiles/prefix/bsd/freebsd/arch/x64/eapi
@@ -0,0 +1 @@
+5
diff --git a/profiles/prefix/bsd/freebsd/arch/x64/make.defaults b/profiles/prefix/bsd/freebsd/arch/x64/make.defaults
new file mode 100644
index 00000000000..aff95e51d92
--- /dev/null
+++ b/profiles/prefix/bsd/freebsd/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/bsd/freebsd/arch/x64/package.mask b/profiles/prefix/bsd/freebsd/arch/x64/package.mask
new file mode 100644
index 00000000000..b72d8350a95
--- /dev/null
+++ b/profiles/prefix/bsd/freebsd/arch/x64/package.mask
@@ -0,0 +1,8 @@
+# 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 FreeBSD profiles inherit from their matching arch profile here.
+
+
diff --git a/profiles/prefix/bsd/freebsd/arch/x64/package.use.mask b/profiles/prefix/bsd/freebsd/arch/x64/package.use.mask
new file mode 100644
index 00000000000..b72d8350a95
--- /dev/null
+++ b/profiles/prefix/bsd/freebsd/arch/x64/package.use.mask
@@ -0,0 +1,8 @@
+# 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 FreeBSD profiles inherit from their matching arch profile here.
+
+
diff --git a/profiles/prefix/bsd/freebsd/arch/x64/parent b/profiles/prefix/bsd/freebsd/arch/x64/parent
new file mode 100644
index 00000000000..e6e4a52dfb3
--- /dev/null
+++ b/profiles/prefix/bsd/freebsd/arch/x64/parent
@@ -0,0 +1 @@
+../x86
diff --git a/profiles/prefix/bsd/freebsd/arch/x64/use.force b/profiles/prefix/bsd/freebsd/arch/x64/use.force
new file mode 100644
index 00000000000..953c26144a8
--- /dev/null
+++ b/profiles/prefix/bsd/freebsd/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/bsd/freebsd/arch/x86/eapi b/profiles/prefix/bsd/freebsd/arch/x86/eapi
new file mode 100644
index 00000000000..7ed6ff82de6
--- /dev/null
+++ b/profiles/prefix/bsd/freebsd/arch/x86/eapi
@@ -0,0 +1 @@
+5
diff --git a/profiles/prefix/bsd/freebsd/arch/x86/make.defaults b/profiles/prefix/bsd/freebsd/arch/x86/make.defaults
new file mode 100644
index 00000000000..4e6b922ab1b
--- /dev/null
+++ b/profiles/prefix/bsd/freebsd/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/bsd/freebsd/arch/x86/package.mask b/profiles/prefix/bsd/freebsd/arch/x86/package.mask
new file mode 100644
index 00000000000..b72d8350a95
--- /dev/null
+++ b/profiles/prefix/bsd/freebsd/arch/x86/package.mask
@@ -0,0 +1,8 @@
+# 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 FreeBSD profiles inherit from their matching arch profile here.
+
+
diff --git a/profiles/prefix/bsd/freebsd/arch/x86/package.use.mask b/profiles/prefix/bsd/freebsd/arch/x86/package.use.mask
new file mode 100644
index 00000000000..526fb3d3615
--- /dev/null
+++ b/profiles/prefix/bsd/freebsd/arch/x86/package.use.mask
@@ -0,0 +1,12 @@
+# 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 FreeBSD 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
diff --git a/profiles/prefix/bsd/freebsd/arch/x86/use.force b/profiles/prefix/bsd/freebsd/arch/x86/use.force
new file mode 100644
index 00000000000..63240617d47
--- /dev/null
+++ b/profiles/prefix/bsd/freebsd/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/bsd/freebsd/eapi b/profiles/prefix/bsd/freebsd/eapi
new file mode 100644
index 00000000000..7ed6ff82de6
--- /dev/null
+++ b/profiles/prefix/bsd/freebsd/eapi
@@ -0,0 +1 @@
+5
diff --git a/profiles/prefix/bsd/freebsd/make.defaults b/profiles/prefix/bsd/freebsd/make.defaults
new file mode 100644
index 00000000000..ee4e954b224
--- /dev/null
+++ b/profiles/prefix/bsd/freebsd/make.defaults
@@ -0,0 +1,10 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+# System-wide defaults for all FreeBSD profiles
+# This file should rarely need to be changed
+
+# 'Sane' defaults
+ELIBC="FreeBSD"
+KERNEL="FreeBSD"
diff --git a/profiles/prefix/bsd/freebsd/parent b/profiles/prefix/bsd/freebsd/parent
new file mode 100644
index 00000000000..f3229c5b987
--- /dev/null
+++ b/profiles/prefix/bsd/freebsd/parent
@@ -0,0 +1 @@
+..
diff --git a/profiles/prefix/bsd/freebsd/use.force b/profiles/prefix/bsd/freebsd/use.force
new file mode 100644
index 00000000000..38b12020c4a
--- /dev/null
+++ b/profiles/prefix/bsd/freebsd/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 FreeBSD OS
+kernel_FreeBSD
+elibc_FreeBSD
diff --git a/profiles/prefix/bsd/freebsd/use.mask b/profiles/prefix/bsd/freebsd/use.mask
new file mode 100644
index 00000000000..11d4d0bd2fe
--- /dev/null
+++ b/profiles/prefix/bsd/freebsd/use.mask
@@ -0,0 +1,8 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+# Re-add FreeBSD libc
+-elibc_FreeBSD
+-kernel_FreeBSD
+
diff --git a/profiles/prefix/bsd/netbsd/4.0/eapi b/profiles/prefix/bsd/netbsd/4.0/eapi
new file mode 100644
index 00000000000..7ed6ff82de6
--- /dev/null
+++ b/profiles/prefix/bsd/netbsd/4.0/eapi
@@ -0,0 +1 @@
+5
diff --git a/profiles/prefix/bsd/netbsd/4.0/package.provided b/profiles/prefix/bsd/netbsd/4.0/package.provided
new file mode 100644
index 00000000000..55d5dfbd98a
--- /dev/null
+++ b/profiles/prefix/bsd/netbsd/4.0/package.provided
@@ -0,0 +1,5 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+sys-netbsd/libc-4.0
diff --git a/profiles/prefix/bsd/netbsd/4.0/parent b/profiles/prefix/bsd/netbsd/4.0/parent
new file mode 100644
index 00000000000..f3229c5b987
--- /dev/null
+++ b/profiles/prefix/bsd/netbsd/4.0/parent
@@ -0,0 +1 @@
+..
diff --git a/profiles/prefix/bsd/netbsd/4.0/x86/eapi b/profiles/prefix/bsd/netbsd/4.0/x86/eapi
new file mode 100644
index 00000000000..7ed6ff82de6
--- /dev/null
+++ b/profiles/prefix/bsd/netbsd/4.0/x86/eapi
@@ -0,0 +1 @@
+5
diff --git a/profiles/prefix/bsd/netbsd/4.0/x86/make.defaults b/profiles/prefix/bsd/netbsd/4.0/x86/make.defaults
new file mode 100644
index 00000000000..defaf2de924
--- /dev/null
+++ b/profiles/prefix/bsd/netbsd/4.0/x86/make.defaults
@@ -0,0 +1,8 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+ARCH="x86-netbsd"
+# we use *-netbsdelf* to avoid the need to patch binutils, gcc and co
+CHOST="i686-pc-netbsdelf4.0"
+ACCEPT_KEYWORDS="~x86-netbsd"
diff --git a/profiles/prefix/bsd/netbsd/4.0/x86/parent b/profiles/prefix/bsd/netbsd/4.0/x86/parent
new file mode 100644
index 00000000000..f3229c5b987
--- /dev/null
+++ b/profiles/prefix/bsd/netbsd/4.0/x86/parent
@@ -0,0 +1 @@
+..
diff --git a/profiles/prefix/bsd/netbsd/eapi b/profiles/prefix/bsd/netbsd/eapi
new file mode 100644
index 00000000000..7ed6ff82de6
--- /dev/null
+++ b/profiles/prefix/bsd/netbsd/eapi
@@ -0,0 +1 @@
+5
diff --git a/profiles/prefix/bsd/netbsd/make.defaults b/profiles/prefix/bsd/netbsd/make.defaults
new file mode 100644
index 00000000000..626938eaf52
--- /dev/null
+++ b/profiles/prefix/bsd/netbsd/make.defaults
@@ -0,0 +1,10 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+# System-wide defaults for all NetBSD profiles
+# This file should rarely need to be changed
+
+# 'Sane' defaults
+ELIBC="NetBSD"
+KERNEL="NetBSD"
diff --git a/profiles/prefix/bsd/netbsd/parent b/profiles/prefix/bsd/netbsd/parent
new file mode 100644
index 00000000000..f3229c5b987
--- /dev/null
+++ b/profiles/prefix/bsd/netbsd/parent
@@ -0,0 +1 @@
+..
diff --git a/profiles/prefix/bsd/netbsd/use.force b/profiles/prefix/bsd/netbsd/use.force
new file mode 100644
index 00000000000..587cf1222ff
--- /dev/null
+++ b/profiles/prefix/bsd/netbsd/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 NetBSD OS
+kernel_NetBSD
+elibc_NetBSD
diff --git a/profiles/prefix/bsd/netbsd/use.mask b/profiles/prefix/bsd/netbsd/use.mask
new file mode 100644
index 00000000000..956bc5d1e8a
--- /dev/null
+++ b/profiles/prefix/bsd/netbsd/use.mask
@@ -0,0 +1,8 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+# Re-add NetBSD libc
+-elibc_NetBSD
+-kernel_NetBSD
+
diff --git a/profiles/prefix/bsd/openbsd/4.2/eapi b/profiles/prefix/bsd/openbsd/4.2/eapi
new file mode 100644
index 00000000000..7ed6ff82de6
--- /dev/null
+++ b/profiles/prefix/bsd/openbsd/4.2/eapi
@@ -0,0 +1 @@
+5
diff --git a/profiles/prefix/bsd/openbsd/4.2/package.mask b/profiles/prefix/bsd/openbsd/4.2/package.mask
new file mode 100644
index 00000000000..4413ca2d3df
--- /dev/null
+++ b/profiles/prefix/bsd/openbsd/4.2/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/bsd/openbsd/4.2/package.provided b/profiles/prefix/bsd/openbsd/4.2/package.provided
new file mode 100644
index 00000000000..8e03478929e
--- /dev/null
+++ b/profiles/prefix/bsd/openbsd/4.2/package.provided
@@ -0,0 +1,5 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+sys-openbsd/libc-4.2
diff --git a/profiles/prefix/bsd/openbsd/4.2/parent b/profiles/prefix/bsd/openbsd/4.2/parent
new file mode 100644
index 00000000000..f3229c5b987
--- /dev/null
+++ b/profiles/prefix/bsd/openbsd/4.2/parent
@@ -0,0 +1 @@
+..
diff --git a/profiles/prefix/bsd/openbsd/4.2/ppc/eapi b/profiles/prefix/bsd/openbsd/4.2/ppc/eapi
new file mode 100644
index 00000000000..7ed6ff82de6
--- /dev/null
+++ b/profiles/prefix/bsd/openbsd/4.2/ppc/eapi
@@ -0,0 +1 @@
+5
diff --git a/profiles/prefix/bsd/openbsd/4.2/ppc/make.defaults b/profiles/prefix/bsd/openbsd/4.2/ppc/make.defaults
new file mode 100644
index 00000000000..df49bc0d961
--- /dev/null
+++ b/profiles/prefix/bsd/openbsd/4.2/ppc/make.defaults
@@ -0,0 +1,8 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+ARCH="ppc-openbsd"
+CHOST="powerpc-unknown-openbsd4.2"
+ACCEPT_KEYWORDS="~ppc-openbsd"
+
diff --git a/profiles/prefix/bsd/openbsd/4.2/ppc/parent b/profiles/prefix/bsd/openbsd/4.2/ppc/parent
new file mode 100644
index 00000000000..f3229c5b987
--- /dev/null
+++ b/profiles/prefix/bsd/openbsd/4.2/ppc/parent
@@ -0,0 +1 @@
+..
diff --git a/profiles/prefix/bsd/openbsd/4.2/x64/eapi b/profiles/prefix/bsd/openbsd/4.2/x64/eapi
new file mode 100644
index 00000000000..7ed6ff82de6
--- /dev/null
+++ b/profiles/prefix/bsd/openbsd/4.2/x64/eapi
@@ -0,0 +1 @@
+5
diff --git a/profiles/prefix/bsd/openbsd/4.2/x64/make.defaults b/profiles/prefix/bsd/openbsd/4.2/x64/make.defaults
new file mode 100644
index 00000000000..bcd2e2ea9e7
--- /dev/null
+++ b/profiles/prefix/bsd/openbsd/4.2/x64/make.defaults
@@ -0,0 +1,8 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+ARCH="x64-openbsd"
+CHOST="x86_64-pc-openbsd4.2"
+ACCEPT_KEYWORDS="~x64-openbsd"
+
diff --git a/profiles/prefix/bsd/openbsd/4.2/x64/parent b/profiles/prefix/bsd/openbsd/4.2/x64/parent
new file mode 100644
index 00000000000..f3229c5b987
--- /dev/null
+++ b/profiles/prefix/bsd/openbsd/4.2/x64/parent
@@ -0,0 +1 @@
+..
diff --git a/profiles/prefix/bsd/openbsd/4.2/x86/eapi b/profiles/prefix/bsd/openbsd/4.2/x86/eapi
new file mode 100644
index 00000000000..7ed6ff82de6
--- /dev/null
+++ b/profiles/prefix/bsd/openbsd/4.2/x86/eapi
@@ -0,0 +1 @@
+5
diff --git a/profiles/prefix/bsd/openbsd/4.2/x86/make.defaults b/profiles/prefix/bsd/openbsd/4.2/x86/make.defaults
new file mode 100644
index 00000000000..e710eb17514
--- /dev/null
+++ b/profiles/prefix/bsd/openbsd/4.2/x86/make.defaults
@@ -0,0 +1,8 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+ARCH="x86-openbsd"
+CHOST="i686-pc-openbsd4.2"
+ACCEPT_KEYWORDS="~x86-openbsd"
+
diff --git a/profiles/prefix/bsd/openbsd/4.2/x86/parent b/profiles/prefix/bsd/openbsd/4.2/x86/parent
new file mode 100644
index 00000000000..f3229c5b987
--- /dev/null
+++ b/profiles/prefix/bsd/openbsd/4.2/x86/parent
@@ -0,0 +1 @@
+..
diff --git a/profiles/prefix/bsd/openbsd/eapi b/profiles/prefix/bsd/openbsd/eapi
new file mode 100644
index 00000000000..7ed6ff82de6
--- /dev/null
+++ b/profiles/prefix/bsd/openbsd/eapi
@@ -0,0 +1 @@
+5
diff --git a/profiles/prefix/bsd/openbsd/make.defaults b/profiles/prefix/bsd/openbsd/make.defaults
new file mode 100644
index 00000000000..76f47856f75
--- /dev/null
+++ b/profiles/prefix/bsd/openbsd/make.defaults
@@ -0,0 +1,10 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+# System-wide defaults for all OpenBSD profiles
+# This file should rarely need to be changed
+
+# 'Sane' defaults
+ELIBC="OpenBSD"
+KERNEL="OpenBSD"
diff --git a/profiles/prefix/bsd/openbsd/parent b/profiles/prefix/bsd/openbsd/parent
new file mode 100644
index 00000000000..f3229c5b987
--- /dev/null
+++ b/profiles/prefix/bsd/openbsd/parent
@@ -0,0 +1 @@
+..
diff --git a/profiles/prefix/bsd/openbsd/use.force b/profiles/prefix/bsd/openbsd/use.force
new file mode 100644
index 00000000000..6e5d042fc58
--- /dev/null
+++ b/profiles/prefix/bsd/openbsd/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 OpenBSD OS
+kernel_OpenBSD
+elibc_OpenBSD
diff --git a/profiles/prefix/bsd/openbsd/use.mask b/profiles/prefix/bsd/openbsd/use.mask
new file mode 100644
index 00000000000..dd9e42ad195
--- /dev/null
+++ b/profiles/prefix/bsd/openbsd/use.mask
@@ -0,0 +1,8 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+# Re-add OpenBSD libc
+-elibc_OpenBSD
+-kernel_OpenBSD
+
diff --git a/profiles/prefix/bsd/package.mask b/profiles/prefix/bsd/package.mask
new file mode 100644
index 00000000000..e2d57612705
--- /dev/null
+++ b/profiles/prefix/bsd/package.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/bsd/package.use.mask b/profiles/prefix/bsd/package.use.mask
new file mode 100644
index 00000000000..3fa7d51f03b
--- /dev/null
+++ b/profiles/prefix/bsd/package.use.mask
@@ -0,0 +1,7 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+# Michael Haubenwallner <haubi@gentoo.org> (30 Sep 2009)
+# *bsd do have a uuid implementation in libc (#230981).
+x11-libs/libSM -uuid
diff --git a/profiles/prefix/bsd/packages b/profiles/prefix/bsd/packages
new file mode 100644
index 00000000000..3b40ae877bf
--- /dev/null
+++ b/profiles/prefix/bsd/packages
@@ -0,0 +1,6 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+*sys-devel/binutils
+*sys-process/pidof-bsd
diff --git a/profiles/prefix/bsd/parent b/profiles/prefix/bsd/parent
new file mode 100644
index 00000000000..f3229c5b987
--- /dev/null
+++ b/profiles/prefix/bsd/parent
@@ -0,0 +1 @@
+..
diff --git a/profiles/prefix/bsd/use.mask b/profiles/prefix/bsd/use.mask
new file mode 100644
index 00000000000..feb5817b3a9
--- /dev/null
+++ b/profiles/prefix/bsd/use.mask
@@ -0,0 +1,41 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+# these will more than likely never work on bsd
+3dfx
+3dnow
+3dnowext
+acpi
+alsa
+apm
+cap
+caps
+cman
+clvm
+directfb
+divx4linux
+djbfft
+fbcon
+fdftk
+fmod
+ggi
+gpm
+hardened
+icc
+icc-pgo
+mmx
+mmx2
+# the following USE flag requires device-mapper
+on-the-fly-crypt
+solid
+sse
+sse2
+svga
+sybase
+sybase-ct
+rtc
+uclibc
+voodoo3
+pvm
+v4l
diff --git a/profiles/prefix/darwin/eapi b/profiles/prefix/darwin/eapi
new file mode 100644
index 00000000000..7ed6ff82de6
--- /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 00000000000..7ed6ff82de6
--- /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 00000000000..99d9bbc5d9d
--- /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 00000000000..e649fd04031
--- /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 00000000000..8c20fc3b250
--- /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 00000000000..f43f77c72fa
--- /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 00000000000..c93cfa79bb4
--- /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 00000000000..f3229c5b987
--- /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 00000000000..2eeb05377d6
--- /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 00000000000..7ed6ff82de6
--- /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 00000000000..d91e8091f9a
--- /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 00000000000..bc4612c59d1
--- /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 00000000000..d51c8d716a6
--- /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 00000000000..f0e8c9537cb
--- /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 00000000000..fc24616eeda
--- /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 00000000000..f1549ec0ec6
--- /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 00000000000..7ed6ff82de6
--- /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 00000000000..1c0df4a5c34
--- /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 00000000000..9822b76e194
--- /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 00000000000..d51c8d716a6
--- /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 00000000000..f0e8c9537cb
--- /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 00000000000..4a6aa36b18d
--- /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 00000000000..f1549ec0ec6
--- /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 00000000000..7ed6ff82de6
--- /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 00000000000..b5eeaa3c0f7
--- /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 00000000000..fbca77b5488
--- /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 00000000000..29db1c93c0d
--- /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 00000000000..3bd5e70e047
--- /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 00000000000..f3229c5b987
--- /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 00000000000..7ed6ff82de6
--- /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 00000000000..8c58b7fdfac
--- /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 00000000000..4413ca2d3df
--- /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 00000000000..e2d57612705
--- /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 00000000000..6cb6381b777
--- /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 00000000000..c028f783a62
--- /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 00000000000..7ed6ff82de6
--- /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 00000000000..20352822cec
--- /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 00000000000..4645c5d42c6
--- /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 00000000000..e2d57612705
--- /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 00000000000..4d64089b7bd
--- /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 00000000000..c028f783a62
--- /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 00000000000..b59a3d4befb
--- /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 00000000000..7ed6ff82de6
--- /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 00000000000..881ead4e2bb
--- /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 00000000000..e705a7270a6
--- /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 00000000000..224ed0fc48b
--- /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 00000000000..6bc858049e4
--- /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 00000000000..4a6aa36b18d
--- /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 00000000000..f1549ec0ec6
--- /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 00000000000..7ed6ff82de6
--- /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 00000000000..cd03963ead5
--- /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 00000000000..bc63c5e7e3e
--- /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 00000000000..29db1c93c0d
--- /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 00000000000..3bd5e70e047
--- /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 00000000000..f3229c5b987
--- /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 00000000000..7ed6ff82de6
--- /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 00000000000..ccee30c668f
--- /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 00000000000..13ff9386c8d
--- /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 00000000000..4881ebb0d8f
--- /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 00000000000..224ed0fc48b
--- /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 00000000000..e67fbdd21f0
--- /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 00000000000..6cb6381b777
--- /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 00000000000..c028f783a62
--- /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 00000000000..7ed6ff82de6
--- /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 00000000000..c0ade51b598
--- /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 00000000000..9973a0f32ab
--- /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 00000000000..e2d57612705
--- /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 00000000000..4d64089b7bd
--- /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 00000000000..1325e1683f5
--- /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 00000000000..2d0fed7c9ca
--- /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 00000000000..7ed6ff82de6
--- /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 00000000000..fc7ab94d55c
--- /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 00000000000..1656fa35fb4
--- /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 00000000000..1f23cce6ba6
--- /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 00000000000..224ed0fc48b
--- /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 00000000000..6bc858049e4
--- /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 00000000000..fc24616eeda
--- /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 00000000000..f1549ec0ec6
--- /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 00000000000..7ed6ff82de6
--- /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 00000000000..e2de7310674
--- /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 00000000000..13ff9386c8d
--- /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 00000000000..1f23cce6ba6
--- /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 00000000000..224ed0fc48b
--- /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 00000000000..6bc858049e4
--- /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 00000000000..4a6aa36b18d
--- /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 00000000000..f1549ec0ec6
--- /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 00000000000..7ed6ff82de6
--- /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 00000000000..06b6fd8c124
--- /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 00000000000..29db1c93c0d
--- /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 00000000000..5003fa68970
--- /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 00000000000..f3229c5b987
--- /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 00000000000..69291f84135
--- /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 00000000000..7ed6ff82de6
--- /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 00000000000..23a4c84da2b
--- /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 00000000000..4645c5d42c6
--- /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 00000000000..224ed0fc48b
--- /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 00000000000..6bc858049e4
--- /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 00000000000..fc24616eeda
--- /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 00000000000..f1549ec0ec6
--- /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 00000000000..7ed6ff82de6
--- /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 00000000000..ef3a3932cb0
--- /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 00000000000..4413ca2d3df
--- /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 00000000000..224ed0fc48b
--- /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 00000000000..6bc858049e4
--- /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 00000000000..4a6aa36b18d
--- /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 00000000000..f1549ec0ec6
--- /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 00000000000..7ed6ff82de6
--- /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 00000000000..d49d1ad9968
--- /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 00000000000..33061bbe5dc
--- /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 00000000000..c91450cfd0a
--- /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 00000000000..f3229c5b987
--- /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 00000000000..032824b5933
--- /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 00000000000..7ed6ff82de6
--- /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 00000000000..69a5d6a640c
--- /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 00000000000..9973a0f32ab
--- /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 00000000000..22105b2beb0
--- /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 00000000000..6bc858049e4
--- /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 00000000000..fc24616eeda
--- /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 00000000000..f1549ec0ec6
--- /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 00000000000..7ed6ff82de6
--- /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 00000000000..2097d6872ee
--- /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 00000000000..2c336012be2
--- /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 00000000000..22105b2beb0
--- /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 00000000000..6bc858049e4
--- /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 00000000000..4a6aa36b18d
--- /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 00000000000..f1549ec0ec6
--- /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 00000000000..7ed6ff82de6
--- /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 00000000000..e0bcf6f9e68
--- /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 00000000000..2d9146deeec
--- /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 00000000000..107ddfe0684
--- /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 00000000000..2dd27582b8a
--- /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 00000000000..87e5c709ad1
--- /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 00000000000..f3229c5b987
--- /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 00000000000..f4b7140c83f
--- /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 00000000000..7ed6ff82de6
--- /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 00000000000..013e22939e1
--- /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 00000000000..fb619961e6d
--- /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 00000000000..e35f07f4559
--- /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 00000000000..ae43b989aaf
--- /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 00000000000..fc24616eeda
--- /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 00000000000..f1549ec0ec6
--- /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 00000000000..7ed6ff82de6
--- /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 00000000000..c3dd43c7132
--- /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 00000000000..2c336012be2
--- /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 00000000000..e35f07f4559
--- /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 00000000000..ae43b989aaf
--- /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 00000000000..4a6aa36b18d
--- /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 00000000000..f1549ec0ec6
--- /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 00000000000..7ed6ff82de6
--- /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 00000000000..5062be9ba30
--- /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 00000000000..f71c6e3ba79
--- /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 00000000000..31e765ad7ab
--- /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 00000000000..d2d60876464
--- /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 00000000000..7f154936de4
--- /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 00000000000..f3229c5b987
--- /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 00000000000..06bf9111d38
--- /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 00000000000..7ed6ff82de6
--- /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 00000000000..b10fb531d25
--- /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 00000000000..506a542c649
--- /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 00000000000..01103c99ea2
--- /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 00000000000..ae8748b0122
--- /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 00000000000..fc24616eeda
--- /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 00000000000..f1549ec0ec6
--- /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 00000000000..7ed6ff82de6
--- /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 00000000000..95b47fbd2d6
--- /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 00000000000..0a359aa4077
--- /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 00000000000..01103c99ea2
--- /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 00000000000..ae8748b0122
--- /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 00000000000..4a6aa36b18d
--- /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 00000000000..f1549ec0ec6
--- /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 00000000000..7ed6ff82de6
--- /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 00000000000..7ed6ff82de6
--- /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 00000000000..6c28906396f
--- /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 00000000000..c59605fea17
--- /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 00000000000..426aa9d8e2c
--- /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 00000000000..50b02bfe9d3
--- /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 00000000000..7ed6ff82de6
--- /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 00000000000..4dd581dac8b
--- /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 00000000000..4dd581dac8b
--- /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 00000000000..3f4be82271f
--- /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 00000000000..7ed6ff82de6
--- /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 00000000000..aff95e51d92
--- /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 00000000000..13e1c33d100
--- /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 00000000000..8177cbc6bd1
--- /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 00000000000..e6e4a52dfb3
--- /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 00000000000..953c26144a8
--- /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 00000000000..7ed6ff82de6
--- /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 00000000000..4e6b922ab1b
--- /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 00000000000..4dd581dac8b
--- /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 00000000000..67865470f6a
--- /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 00000000000..364cce448ff
--- /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 00000000000..63240617d47
--- /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 00000000000..7ed6ff82de6
--- /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 00000000000..8722483811f
--- /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 00000000000..750f7d2e886
--- /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 00000000000..7d01fdaad04
--- /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 00000000000..f64a2cd09f9
--- /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 00000000000..3b7d6312095
--- /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 00000000000..f3229c5b987
--- /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 00000000000..375d47e7c2d
--- /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 00000000000..eca936b640f
--- /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 00000000000..e8a57c0e8ec
--- /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 00000000000..e8faa818f9a
--- /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 00000000000..f3229c5b987
--- /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 00000000000..b0f488eb923
--- /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 00000000000..3b7c8f9378e
--- /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
diff --git a/profiles/prefix/eapi b/profiles/prefix/eapi
new file mode 100644
index 00000000000..7ed6ff82de6
--- /dev/null
+++ b/profiles/prefix/eapi
@@ -0,0 +1 @@
+5
diff --git a/profiles/prefix/hpux/B.11.11/eapi b/profiles/prefix/hpux/B.11.11/eapi
new file mode 100644
index 00000000000..7ed6ff82de6
--- /dev/null
+++ b/profiles/prefix/hpux/B.11.11/eapi
@@ -0,0 +1 @@
+5
diff --git a/profiles/prefix/hpux/B.11.11/hppa2.0/eapi b/profiles/prefix/hpux/B.11.11/hppa2.0/eapi
new file mode 100644
index 00000000000..7ed6ff82de6
--- /dev/null
+++ b/profiles/prefix/hpux/B.11.11/hppa2.0/eapi
@@ -0,0 +1 @@
+5
diff --git a/profiles/prefix/hpux/B.11.11/hppa2.0/make.defaults b/profiles/prefix/hpux/B.11.11/hppa2.0/make.defaults
new file mode 100644
index 00000000000..c163e4ae493
--- /dev/null
+++ b/profiles/prefix/hpux/B.11.11/hppa2.0/make.defaults
@@ -0,0 +1,12 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+ARCH="hppa-hpux"
+# config.guess tells for hpux11 on hppa2.0 cpu:
+# "hppa2.0n-hp-hpux11.11" for 32bit kernel
+# "hppa2.0w-hp-hpux11.11" for 64bit kernel and 32bit default compiler output
+# "hppa64-hp-hpux11.11" for 64bit kernel and 64bit default compiler output
+# This is the 32bit profile, so we use "hppa2.0n"
+CHOST="hppa2.0n-hp-hpux11.11"
+ACCEPT_KEYWORDS="~hppa-hpux"
diff --git a/profiles/prefix/hpux/B.11.11/hppa2.0/parent b/profiles/prefix/hpux/B.11.11/hppa2.0/parent
new file mode 100644
index 00000000000..f3229c5b987
--- /dev/null
+++ b/profiles/prefix/hpux/B.11.11/hppa2.0/parent
@@ -0,0 +1 @@
+..
diff --git a/profiles/prefix/hpux/B.11.11/package.provided b/profiles/prefix/hpux/B.11.11/package.provided
new file mode 100644
index 00000000000..4e2b2108f03
--- /dev/null
+++ b/profiles/prefix/hpux/B.11.11/package.provided
@@ -0,0 +1,5 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+sys-hpux/libc-11.11
diff --git a/profiles/prefix/hpux/B.11.11/package.use.mask b/profiles/prefix/hpux/B.11.11/package.use.mask
new file mode 100644
index 00000000000..2ad26564872
--- /dev/null
+++ b/profiles/prefix/hpux/B.11.11/package.use.mask
@@ -0,0 +1,7 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+# Michael Haubenwallner <haubi@gentoo.org> (28 Jul 2009)
+# hpux11.11 has neither /dev/urandom nor /dev/random
+dev-libs/apr urandom
diff --git a/profiles/prefix/hpux/B.11.11/parent b/profiles/prefix/hpux/B.11.11/parent
new file mode 100644
index 00000000000..f3229c5b987
--- /dev/null
+++ b/profiles/prefix/hpux/B.11.11/parent
@@ -0,0 +1 @@
+..
diff --git a/profiles/prefix/hpux/B.11.23/eapi b/profiles/prefix/hpux/B.11.23/eapi
new file mode 100644
index 00000000000..7ed6ff82de6
--- /dev/null
+++ b/profiles/prefix/hpux/B.11.23/eapi
@@ -0,0 +1 @@
+5
diff --git a/profiles/prefix/hpux/B.11.23/ia64/eapi b/profiles/prefix/hpux/B.11.23/ia64/eapi
new file mode 100644
index 00000000000..7ed6ff82de6
--- /dev/null
+++ b/profiles/prefix/hpux/B.11.23/ia64/eapi
@@ -0,0 +1 @@
+5
diff --git a/profiles/prefix/hpux/B.11.23/ia64/make.defaults b/profiles/prefix/hpux/B.11.23/ia64/make.defaults
new file mode 100644
index 00000000000..793bfc33f61
--- /dev/null
+++ b/profiles/prefix/hpux/B.11.23/ia64/make.defaults
@@ -0,0 +1,7 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+ARCH="ia64-hpux"
+CHOST="ia64-hp-hpux11.23"
+ACCEPT_KEYWORDS="~ia64-hpux"
diff --git a/profiles/prefix/hpux/B.11.23/ia64/parent b/profiles/prefix/hpux/B.11.23/ia64/parent
new file mode 100644
index 00000000000..f3229c5b987
--- /dev/null
+++ b/profiles/prefix/hpux/B.11.23/ia64/parent
@@ -0,0 +1 @@
+..
diff --git a/profiles/prefix/hpux/B.11.23/package.provided b/profiles/prefix/hpux/B.11.23/package.provided
new file mode 100644
index 00000000000..7e7247b8841
--- /dev/null
+++ b/profiles/prefix/hpux/B.11.23/package.provided
@@ -0,0 +1,5 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+sys-hpux/libc-11.23
diff --git a/profiles/prefix/hpux/B.11.23/parent b/profiles/prefix/hpux/B.11.23/parent
new file mode 100644
index 00000000000..f3229c5b987
--- /dev/null
+++ b/profiles/prefix/hpux/B.11.23/parent
@@ -0,0 +1 @@
+..
diff --git a/profiles/prefix/hpux/B.11.31/eapi b/profiles/prefix/hpux/B.11.31/eapi
new file mode 100644
index 00000000000..7ed6ff82de6
--- /dev/null
+++ b/profiles/prefix/hpux/B.11.31/eapi
@@ -0,0 +1 @@
+5
diff --git a/profiles/prefix/hpux/B.11.31/hppa2.0/eapi b/profiles/prefix/hpux/B.11.31/hppa2.0/eapi
new file mode 100644
index 00000000000..7ed6ff82de6
--- /dev/null
+++ b/profiles/prefix/hpux/B.11.31/hppa2.0/eapi
@@ -0,0 +1 @@
+5
diff --git a/profiles/prefix/hpux/B.11.31/hppa2.0/make.defaults b/profiles/prefix/hpux/B.11.31/hppa2.0/make.defaults
new file mode 100644
index 00000000000..a7d11b89a1d
--- /dev/null
+++ b/profiles/prefix/hpux/B.11.31/hppa2.0/make.defaults
@@ -0,0 +1,12 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+ARCH="hppa-hpux"
+# config.guess tells for hpux11 on hppa2.0 cpu:
+# "hppa2.0n-hp-hpux11.31" for 32bit kernel
+# "hppa2.0w-hp-hpux11.31" for 64bit kernel and 32bit default compiler output
+# "hppa64-hp-hpux11.31" for 64bit kernel and 64bit default compiler output
+# This is the 32bit profile, so we use "hppa2.0n"
+CHOST="hppa2.0n-hp-hpux11.31"
+ACCEPT_KEYWORDS="~hppa-hpux"
diff --git a/profiles/prefix/hpux/B.11.31/hppa2.0/parent b/profiles/prefix/hpux/B.11.31/hppa2.0/parent
new file mode 100644
index 00000000000..f3229c5b987
--- /dev/null
+++ b/profiles/prefix/hpux/B.11.31/hppa2.0/parent
@@ -0,0 +1 @@
+..
diff --git a/profiles/prefix/hpux/B.11.31/ia64/eapi b/profiles/prefix/hpux/B.11.31/ia64/eapi
new file mode 100644
index 00000000000..7ed6ff82de6
--- /dev/null
+++ b/profiles/prefix/hpux/B.11.31/ia64/eapi
@@ -0,0 +1 @@
+5
diff --git a/profiles/prefix/hpux/B.11.31/ia64/make.defaults b/profiles/prefix/hpux/B.11.31/ia64/make.defaults
new file mode 100644
index 00000000000..0cbbea055c3
--- /dev/null
+++ b/profiles/prefix/hpux/B.11.31/ia64/make.defaults
@@ -0,0 +1,7 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+ARCH="ia64-hpux"
+CHOST="ia64-hp-hpux11.31"
+ACCEPT_KEYWORDS="~ia64-hpux"
diff --git a/profiles/prefix/hpux/B.11.31/ia64/parent b/profiles/prefix/hpux/B.11.31/ia64/parent
new file mode 100644
index 00000000000..f3229c5b987
--- /dev/null
+++ b/profiles/prefix/hpux/B.11.31/ia64/parent
@@ -0,0 +1 @@
+..
diff --git a/profiles/prefix/hpux/B.11.31/package.provided b/profiles/prefix/hpux/B.11.31/package.provided
new file mode 100644
index 00000000000..a65f8f291fe
--- /dev/null
+++ b/profiles/prefix/hpux/B.11.31/package.provided
@@ -0,0 +1,5 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+sys-hpux/libc-11.31
diff --git a/profiles/prefix/hpux/B.11.31/parent b/profiles/prefix/hpux/B.11.31/parent
new file mode 100644
index 00000000000..f3229c5b987
--- /dev/null
+++ b/profiles/prefix/hpux/B.11.31/parent
@@ -0,0 +1 @@
+..
diff --git a/profiles/prefix/hpux/eapi b/profiles/prefix/hpux/eapi
new file mode 100644
index 00000000000..7ed6ff82de6
--- /dev/null
+++ b/profiles/prefix/hpux/eapi
@@ -0,0 +1 @@
+5
diff --git a/profiles/prefix/hpux/make.defaults b/profiles/prefix/hpux/make.defaults
new file mode 100644
index 00000000000..e340e742da6
--- /dev/null
+++ b/profiles/prefix/hpux/make.defaults
@@ -0,0 +1,13 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+# System-wide defaults for all HP-UX profiles
+# This file should rarely need to be changed
+
+# 'Sane' defaults
+ELIBC="HPUX"
+KERNEL="HPUX"
+
+# no scanelf
+FEATURES="nostrip"
diff --git a/profiles/prefix/hpux/package.mask b/profiles/prefix/hpux/package.mask
new file mode 100644
index 00000000000..8ebbeb9c45a
--- /dev/null
+++ b/profiles/prefix/hpux/package.mask
@@ -0,0 +1,8 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+# Michael Haubenwallner <haubi@gentoo.org> (16 Jul 2009)
+# Is blocked by QA check 'implicit pointer usage warnings' on ia64-hpux.
+# Cannot recompile itself on hppa-hpux and ia64-hpux. bug 311239
+>=sys-devel/gcc-4.3
diff --git a/profiles/prefix/hpux/packages b/profiles/prefix/hpux/packages
new file mode 100644
index 00000000000..f3617115cbc
--- /dev/null
+++ b/profiles/prefix/hpux/packages
@@ -0,0 +1,6 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+# need GNU as on HP-UX
+*sys-devel/binutils
diff --git a/profiles/prefix/hpux/parent b/profiles/prefix/hpux/parent
new file mode 100644
index 00000000000..f3229c5b987
--- /dev/null
+++ b/profiles/prefix/hpux/parent
@@ -0,0 +1 @@
+..
diff --git a/profiles/prefix/hpux/profile.bashrc b/profiles/prefix/hpux/profile.bashrc
new file mode 100644
index 00000000000..3056078ba1d
--- /dev/null
+++ b/profiles/prefix/hpux/profile.bashrc
@@ -0,0 +1,114 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+# /bin/sh is korn shell, incompatible with bash used by makefiles later.
+# This is a problem with recent libtool detecting non-bashism 'print' fex.
+export CONFIG_SHELL=${BASH}
+
+# On hpux, binary files (executables, shared libraries) in use
+# cannot be replaced during merge.
+# But it is possible to rename them and remove lateron when they are
+# not used any more by any running process.
+#
+# This is a workaround for portage bug#199868,
+# and should be dropped once portage does sth. like this itself.
+
+hpux-busytext-get-listfile() {
+ echo "${ROOT%%/}${EPREFIX}/var/lib/portage/files2bremoved"
+}
+
+hpux-busytext-cleanup() {
+ local removedlist=$(hpux-busytext-get-listfile)
+
+ rm -f "${removedlist}".new
+
+ if [[ -r ${removedlist} ]]; then
+ rm -f "${removedlist}".old
+ fi
+ # restore in case of system fault
+ if [[ -r ${removedlist}.old ]]; then
+ mv "${removedlist}"{.old,}
+ fi
+
+ touch "${removedlist}"{,.new} # ensure they exist
+
+ local rmstem f
+ while read rmstem
+ do
+ # try to remove previously recorded files
+ for f in $(ls "${ROOT}${rmstem}"*); do
+ echo "trying to remove old busy text file ${f}"
+ rm -f "${f}"
+ done
+ # but keep it in list if still exists
+ for f in $(ls "${ROOT}${rmstem}"*); do
+ echo "${rmstem}" >> "${removedlist}".new
+ break
+ done
+ done < "${removedlist}"
+
+ # update the list
+ mv "${removedlist}"{,.old}
+ mv "${removedlist}"{.new,}
+ rm "${removedlist}".old
+}
+
+hpux-busytext-backup() {
+ local removedlist=$(hpux-busytext-get-listfile)
+
+ # now go for current package
+ cd "${D}" || exit 1
+
+ /usr/bin/find ".${EPREFIX}" '!' -type d \
+ | while read f
+ do
+ f=${f#./}
+ [[ ! -f ${ROOT}${f} || -h ${ROOT}${f} ]] && continue
+ echo "${ROOT}${f}"
+ done \
+ | xargs -r /usr/bin/file \
+ | /usr/bin/grep -E '(object file|shared library|executable)' \
+ | while read f t
+ do
+ # file prints: "file-argument: type-of-file"
+ f=${f#${ROOT}}
+ f=${f%:}
+ test -r "${ROOT}${f}" || continue
+ rmstem="${f}.removedbyportage"
+ # keep list of old busy text files unique
+ /usr/bin/grep "^${rmstem/[/\\[}$" "${removedlist}" >/dev/null \
+ || echo "${rmstem}" >> "${removedlist}"
+ n=0
+ while [[ ${n} -lt 100 && -f "${ROOT}${rmstem}${n}" ]]; do
+ n=$((n=n+1))
+ done
+
+ if [[ ${n} -ge 100 ]]; then
+ echo "too many (>=100) old text files busy of '${ROOT}${f}'" >&2
+ exit 1
+ fi
+ echo "backing up text file ${ROOT}${f} (${n})"
+ /usr/bin/mv -f "${ROOT}${f}" "${ROOT}${rmstem}${n}" || exit 1
+ /usr/bin/cp -f "${ROOT}${rmstem}${n}" "${ROOT}${f}" || exit 1
+ done || exit 1
+}
+
+prefix_hpux-post_pkg_preinst() {
+ hpux-busytext-cleanup
+ hpux-busytext-backup
+}
+
+prefix_hpux-pre_pkg_postinst() {
+ hpux-busytext-cleanup
+}
+
+# These are because of
+# http://archives.gentoo.org/gentoo-dev/msg_529a0806ed2cf841a467940a57e2d588.xml
+# The profile-* ones are meant to be used in etc/portage/profile.bashrc by user
+# until there is the registration mechanism.
+profile-post_pkg_preinst() { prefix_hpux-post_pkg_preinst ; }
+ post_pkg_preinst() { prefix_hpux-post_pkg_preinst ; }
+
+profile-pre_pkg_postinst() { prefix_hpux-pre_pkg_postinst ; }
+ pre_pkg_postinst() { prefix_hpux-pre_pkg_postinst ; }
diff --git a/profiles/prefix/hpux/use.force b/profiles/prefix/hpux/use.force
new file mode 100644
index 00000000000..7851b40d1d1
--- /dev/null
+++ b/profiles/prefix/hpux/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 HPUX OS
+kernel_HPUX
+elibc_HPUX
diff --git a/profiles/prefix/hpux/use.mask b/profiles/prefix/hpux/use.mask
new file mode 100644
index 00000000000..66d38acc154
--- /dev/null
+++ b/profiles/prefix/hpux/use.mask
@@ -0,0 +1,46 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+# Re-add HPUX libc
+-elibc_HPUX
+-kernel_HPUX
+
+# these will more than likely never work on HPUX
+3dfx
+3dnow
+3dnowext
+acpi
+alsa
+apm
+cap
+caps
+cman
+clvm
+directfb
+divx4linux
+djbfft
+fbcon
+fdftk
+fmod
+ggi
+gpm
+hardened
+icc
+icc-pgo
+mmx
+mmx2
+# the following USE flag requires device-mapper
+on-the-fly-crypt
+oss
+solid
+sse
+sse2
+svga
+sybase
+sybase-ct
+rtc
+uclibc
+voodoo3
+pvm
+v4l
diff --git a/profiles/prefix/linux-standalone/amd64/eapi b/profiles/prefix/linux-standalone/amd64/eapi
new file mode 100644
index 00000000000..7ed6ff82de6
--- /dev/null
+++ b/profiles/prefix/linux-standalone/amd64/eapi
@@ -0,0 +1 @@
+5
diff --git a/profiles/prefix/linux-standalone/amd64/make.defaults b/profiles/prefix/linux-standalone/amd64/make.defaults
new file mode 100644
index 00000000000..88ac25bbc88
--- /dev/null
+++ b/profiles/prefix/linux-standalone/amd64/make.defaults
@@ -0,0 +1,8 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+ARCH="amd64"
+CHOST="x86_64-pc-linux-gnu"
+# The base profile sets ACCEPT_KEYWORDS=amd64 and we don't have that in prefix.
+ACCEPT_KEYWORDS="-amd64 ~amd64-linux"
diff --git a/profiles/prefix/linux-standalone/amd64/parent b/profiles/prefix/linux-standalone/amd64/parent
new file mode 100644
index 00000000000..16c974fd71e
--- /dev/null
+++ b/profiles/prefix/linux-standalone/amd64/parent
@@ -0,0 +1,2 @@
+../../../default/linux/amd64/13.0/no-multilib
+..
diff --git a/profiles/prefix/linux-standalone/eapi b/profiles/prefix/linux-standalone/eapi
new file mode 100644
index 00000000000..7ed6ff82de6
--- /dev/null
+++ b/profiles/prefix/linux-standalone/eapi
@@ -0,0 +1 @@
+5
diff --git a/profiles/prefix/linux-standalone/make.defaults b/profiles/prefix/linux-standalone/make.defaults
new file mode 100644
index 00000000000..76146a614eb
--- /dev/null
+++ b/profiles/prefix/linux-standalone/make.defaults
@@ -0,0 +1,15 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+# 'Sane' defaults
+ELIBC="glibc"
+KERNEL="linux"
+
+# 2006/10/28 - Luca Barbato <lu_zero@gentoo.org>
+# on glibc system you cannot turn it off
+USE="iconv"
+
+# build gcc with parallelization support
+USE="${USE} openmp"
+
diff --git a/profiles/prefix/linux-standalone/parent b/profiles/prefix/linux-standalone/parent
new file mode 100644
index 00000000000..b222cd302d4
--- /dev/null
+++ b/profiles/prefix/linux-standalone/parent
@@ -0,0 +1 @@
+../../features/prefix/standalone
diff --git a/profiles/prefix/linux-standalone/x86/eapi b/profiles/prefix/linux-standalone/x86/eapi
new file mode 100644
index 00000000000..7ed6ff82de6
--- /dev/null
+++ b/profiles/prefix/linux-standalone/x86/eapi
@@ -0,0 +1 @@
+5
diff --git a/profiles/prefix/linux-standalone/x86/make.defaults b/profiles/prefix/linux-standalone/x86/make.defaults
new file mode 100644
index 00000000000..ffde5d27d83
--- /dev/null
+++ b/profiles/prefix/linux-standalone/x86/make.defaults
@@ -0,0 +1,8 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+ARCH="x86"
+CHOST="i686-pc-linux-gnu"
+# The base profile sets ACCEPT_KEYWORDS=x86 and we don't have that in prefix.
+ACCEPT_KEYWORDS="-x86 ~x86-linux"
diff --git a/profiles/prefix/linux-standalone/x86/parent b/profiles/prefix/linux-standalone/x86/parent
new file mode 100644
index 00000000000..0fbf3318c1e
--- /dev/null
+++ b/profiles/prefix/linux-standalone/x86/parent
@@ -0,0 +1,2 @@
+../../../default/linux/x86/13.0
+..
diff --git a/profiles/prefix/linux/amd64/eapi b/profiles/prefix/linux/amd64/eapi
new file mode 100644
index 00000000000..7ed6ff82de6
--- /dev/null
+++ b/profiles/prefix/linux/amd64/eapi
@@ -0,0 +1 @@
+5
diff --git a/profiles/prefix/linux/amd64/make.defaults b/profiles/prefix/linux/amd64/make.defaults
new file mode 100644
index 00000000000..3905377560c
--- /dev/null
+++ b/profiles/prefix/linux/amd64/make.defaults
@@ -0,0 +1,21 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+#Note: this is Gentoo Prefix specific! (13 Jul 2008, darkside)
+
+ARCH="amd64"
+CHOST="x86_64-pc-linux-gnu"
+# The base profile sets ACCEPT_KEYWORDS=amd64 and we don't have that in prefix.
+ACCEPT_KEYWORDS="-amd64 ~amd64-linux"
+
+# We don't have lib64 in prefix so, remove it here.
+SYMLINK_LIB=""
+LIBDIR_amd64="lib"
+
+# 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/linux/amd64/parent b/profiles/prefix/linux/amd64/parent
new file mode 100644
index 00000000000..16c974fd71e
--- /dev/null
+++ b/profiles/prefix/linux/amd64/parent
@@ -0,0 +1,2 @@
+../../../default/linux/amd64/13.0/no-multilib
+..
diff --git a/profiles/prefix/linux/arm/eapi b/profiles/prefix/linux/arm/eapi
new file mode 100644
index 00000000000..7ed6ff82de6
--- /dev/null
+++ b/profiles/prefix/linux/arm/eapi
@@ -0,0 +1 @@
+5
diff --git a/profiles/prefix/linux/arm/make.defaults b/profiles/prefix/linux/arm/make.defaults
new file mode 100644
index 00000000000..c59f26d4e7c
--- /dev/null
+++ b/profiles/prefix/linux/arm/make.defaults
@@ -0,0 +1,7 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+ARCH="arm"
+# This is a pretty specific profile to the armv7 arch, we can change that later
+CHOST="armv7a-softfloat-linux-gnueabi"
diff --git a/profiles/prefix/linux/arm/parent b/profiles/prefix/linux/arm/parent
new file mode 100644
index 00000000000..c9cb641f50d
--- /dev/null
+++ b/profiles/prefix/linux/arm/parent
@@ -0,0 +1,2 @@
+../../../default/linux/arm/13.0
+..
diff --git a/profiles/prefix/linux/eapi b/profiles/prefix/linux/eapi
new file mode 100644
index 00000000000..7ed6ff82de6
--- /dev/null
+++ b/profiles/prefix/linux/eapi
@@ -0,0 +1 @@
+5
diff --git a/profiles/prefix/linux/ia64/eapi b/profiles/prefix/linux/ia64/eapi
new file mode 100644
index 00000000000..7ed6ff82de6
--- /dev/null
+++ b/profiles/prefix/linux/ia64/eapi
@@ -0,0 +1 @@
+5
diff --git a/profiles/prefix/linux/ia64/make.defaults b/profiles/prefix/linux/ia64/make.defaults
new file mode 100644
index 00000000000..625f04ae93e
--- /dev/null
+++ b/profiles/prefix/linux/ia64/make.defaults
@@ -0,0 +1,6 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+# The base profile sets ACCEPT_KEYWORDS=ia64 and we don't have that in prefix.
+ACCEPT_KEYWORDS="-ia64 ~ia64-linux"
diff --git a/profiles/prefix/linux/ia64/parent b/profiles/prefix/linux/ia64/parent
new file mode 100644
index 00000000000..ead1e333bef
--- /dev/null
+++ b/profiles/prefix/linux/ia64/parent
@@ -0,0 +1,2 @@
+../../../default/linux/ia64/13.0
+..
diff --git a/profiles/prefix/linux/make.defaults b/profiles/prefix/linux/make.defaults
new file mode 100644
index 00000000000..973e6f0c075
--- /dev/null
+++ b/profiles/prefix/linux/make.defaults
@@ -0,0 +1,30 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+# 'Sane' defaults
+ELIBC="glibc"
+KERNEL="linux"
+
+# 2006/10/28 - Luca Barbato <lu_zero@gentoo.org>
+# on glibc system you cannot turn it off
+USE="iconv"
+
+# build gcc with parallelization support
+USE="${USE} openmp"
+
+# Turn off acl to help with bootstrapping - it isn't as helpful for prefix as it
+# can be for a non-prefix install
+USE="${USE} -acl"
+
+# 2008/07/09 - Doug Goldstein <cardoe@gentoo.org>
+# Adding LDFLAGS="-Wl,-O1 for all Linux profiles by default
+# after discussion on the gentoo-dev ML. As we bang out a clear
+# direction with how LDFLAGS will be set by default, this entry
+# may move.
+# 2010/08/12 - Fabian Groffen <grobian@gentoo.org>
+# Unlike default/linux, we do NOT have --as-needed here, as it seems to
+# break a random amount of packages, that don't break (or just not
+# enough) for non-Prefix installs.
+LDFLAGS="-Wl,-O1"
+
diff --git a/profiles/prefix/linux/package.mask b/profiles/prefix/linux/package.mask
new file mode 100644
index 00000000000..506a542c649
--- /dev/null
+++ b/profiles/prefix/linux/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/linux/package.provided b/profiles/prefix/linux/package.provided
new file mode 100644
index 00000000000..e6d97e6a4c5
--- /dev/null
+++ b/profiles/prefix/linux/package.provided
@@ -0,0 +1,5 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+sys-linux/glibc-0
diff --git a/profiles/prefix/linux/package.use b/profiles/prefix/linux/package.use
new file mode 100644
index 00000000000..c8c6a714b03
--- /dev/null
+++ b/profiles/prefix/linux/package.use
@@ -0,0 +1,9 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+# Fabian Groffen <grobian@gentoo.org> (07 Feb 2014)
+# Python 3 often fails to compile with crypt and nis support due to
+# GNU/libc being able to be many different versions on a Linux system
+# See for example bug #500116
+dev-lang/python -crypt -nis
diff --git a/profiles/prefix/linux/packages b/profiles/prefix/linux/packages
new file mode 100644
index 00000000000..8434cbbb52f
--- /dev/null
+++ b/profiles/prefix/linux/packages
@@ -0,0 +1,8 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+# Here we remove packages that default/linux/packages pulls in and have no
+# business being in Gentoo Prefix
+-*sys-apps/busybox
+-*sys-apps/util-linux
diff --git a/profiles/prefix/linux/parent b/profiles/prefix/linux/parent
new file mode 100644
index 00000000000..9c654750f67
--- /dev/null
+++ b/profiles/prefix/linux/parent
@@ -0,0 +1 @@
+../../features/prefix/rpath
diff --git a/profiles/prefix/linux/ppc64/eapi b/profiles/prefix/linux/ppc64/eapi
new file mode 100644
index 00000000000..7ed6ff82de6
--- /dev/null
+++ b/profiles/prefix/linux/ppc64/eapi
@@ -0,0 +1 @@
+5
diff --git a/profiles/prefix/linux/ppc64/make.defaults b/profiles/prefix/linux/ppc64/make.defaults
new file mode 100644
index 00000000000..7d0674dc58c
--- /dev/null
+++ b/profiles/prefix/linux/ppc64/make.defaults
@@ -0,0 +1,13 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+ARCH="ppc64"
+CHOST="powerpc64-pc-linux-gnu"
+# The base profile sets ACCEPT_KEYWORDS=ppc64 and we don't have that in prefix.
+# Eventually, ~* should be removed once someone is motivated for this arch
+ACCEPT_KEYWORDS="-ppc64 ~ppc64-linux ~*"
+
+# We don't have lib64 in prefix so, remove it here.
+SYMLINK_LIB=""
+LIBDIR_ppc64="lib"
diff --git a/profiles/prefix/linux/ppc64/packages b/profiles/prefix/linux/ppc64/packages
new file mode 100644
index 00000000000..947902a7d72
--- /dev/null
+++ b/profiles/prefix/linux/ppc64/packages
@@ -0,0 +1,8 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+# Those are part of the base powerpc profile's @system set, but having them as
+# part of @system makes no sense for Gentoo Prefix.
+-*sys-fs/hfsutils
+-*sys-fs/hfsplusutils
diff --git a/profiles/prefix/linux/ppc64/parent b/profiles/prefix/linux/ppc64/parent
new file mode 100644
index 00000000000..51fedc0bc3e
--- /dev/null
+++ b/profiles/prefix/linux/ppc64/parent
@@ -0,0 +1,2 @@
+../../../default/linux/powerpc/ppc64/13.0/64bit-userland
+..
diff --git a/profiles/prefix/linux/profile.bashrc b/profiles/prefix/linux/profile.bashrc
new file mode 100644
index 00000000000..4e921825774
--- /dev/null
+++ b/profiles/prefix/linux/profile.bashrc
@@ -0,0 +1,25 @@
+# This is a ugly issue, see bug 289757 for origins
+# This mimics the check in gcc ebuilds, bug 362315
+#
+# # Remember, bash treats floats like strings..
+
+if [[ ${CATEGORY}/${PN} == sys-devel/gcc && ${EBUILD_PHASE} == unpack ]]; then
+ # Since 2.3 > 2.12 in numerical terms, just compare 2.X to 2.Y, will break
+ # if >=3.0 is ever released
+ VERS=$(/usr/bin/ldd --version | head -n1 | grep -o ") [0-9]\.[0-9]\+" | cut -d. -f2 )
+ if [[ $VERS -lt 12 ]]; then # compare host glibc 2.x to 2.12
+ ewarn "Your host glibc is too old; disabling automatic fortify. bug 289757"
+ EPATCH_EXCLUDE+=" 10_all_gcc-default-fortify-source.patch" # <=gcc-4.5*
+ EPATCH_EXCLUDE+=" 10_all_default-fortify-source.patch" # >=gcc-4.6*
+ fi
+fi
+
+if [[ ${EBUILD_PHASE} == setup ]]; then
+ VERS=$(/usr/bin/ldd --version | head -n1 | grep -o ") [0-9]\.[0-9]\+" | cut -d. -f2 )
+ if [[ $VERS -lt 6 && "${CFLAGS} " != *'gnu89-inline '* ]]; then # compare host glibc 2.x to 2.6
+ einfo "Your host glibc is too old; enabling -fgnu89-inline compiler flag. bug 473524"
+ CFLAGS="${CFLAGS} -fgnu89-inline" # for C only
+ fi
+fi
+
+# vim: set syn=sh expandtab ts=4:
diff --git a/profiles/prefix/linux/x86/eapi b/profiles/prefix/linux/x86/eapi
new file mode 100644
index 00000000000..7ed6ff82de6
--- /dev/null
+++ b/profiles/prefix/linux/x86/eapi
@@ -0,0 +1 @@
+5
diff --git a/profiles/prefix/linux/x86/make.defaults b/profiles/prefix/linux/x86/make.defaults
new file mode 100644
index 00000000000..e7f0d8de771
--- /dev/null
+++ b/profiles/prefix/linux/x86/make.defaults
@@ -0,0 +1,19 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+ARCH="x86"
+CHOST="i686-pc-linux-gnu"
+# The base profile sets ACCEPT_KEYWORDS=x86 and we don't have that in prefix.
+ACCEPT_KEYWORDS="-x86 ~x86-linux"
+
+# in case we are bootstrapping with the host compiler on an amd64 linux host:
+CFLAGS="${CFLAGS} -m32"
+CXXFLAGS="${CXXFLAGS} -m32"
+
+# 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/linux/x86/parent b/profiles/prefix/linux/x86/parent
new file mode 100644
index 00000000000..0fbf3318c1e
--- /dev/null
+++ b/profiles/prefix/linux/x86/parent
@@ -0,0 +1,2 @@
+../../../default/linux/x86/13.0
+..
diff --git a/profiles/prefix/linux/x86/profile.bashrc b/profiles/prefix/linux/x86/profile.bashrc
new file mode 100644
index 00000000000..c8d0269c040
--- /dev/null
+++ b/profiles/prefix/linux/x86/profile.bashrc
@@ -0,0 +1,13 @@
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
+# $Id$
+
+# When x86-linux runs on an amd64 host having /lib32,
+# we need to have binutils to search there too (#360197).
+# The patches to do so are applied upon SYMLINK_LIB=yes,
+# needed when /lib32 is (a symlink to) an existing directory.
+if [[ ${CATEGORY}/${PN} = sys-devel/binutils ]] \
+&& [[ ${EBUILD_PHASE} == setup ]] \
+&& [[ -d ${ROOT}lib32/. ]] \
+; then
+ export SYMLINK_LIB=yes
+fi
diff --git a/profiles/prefix/make.defaults b/profiles/prefix/make.defaults
new file mode 100644
index 00000000000..9d648919dee
--- /dev/null
+++ b/profiles/prefix/make.defaults
@@ -0,0 +1,12 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+# Some USE-flags that only die-hards don't want:
+# readline: to have some sane command line editing, e.g. in python
+# zlib: for many things you just want gzip support
+# ncurses: a nice working console drawing library
+# ssl: encrypted connections are a nice feature
+USE="readline zlib ncurses ssl"
+
+FEATURES="collision-protect"
diff --git a/profiles/prefix/mint/eapi b/profiles/prefix/mint/eapi
new file mode 100644
index 00000000000..7ed6ff82de6
--- /dev/null
+++ b/profiles/prefix/mint/eapi
@@ -0,0 +1 @@
+5
diff --git a/profiles/prefix/mint/m68k/eapi b/profiles/prefix/mint/m68k/eapi
new file mode 100644
index 00000000000..7ed6ff82de6
--- /dev/null
+++ b/profiles/prefix/mint/m68k/eapi
@@ -0,0 +1 @@
+5
diff --git a/profiles/prefix/mint/m68k/make.defaults b/profiles/prefix/mint/m68k/make.defaults
new file mode 100644
index 00000000000..fa793b05378
--- /dev/null
+++ b/profiles/prefix/mint/m68k/make.defaults
@@ -0,0 +1,7 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+ARCH="m68k-mint"
+CHOST="m68k-atari-mint"
+ACCEPT_KEYWORDS="~m68k-mint"
diff --git a/profiles/prefix/mint/m68k/parent b/profiles/prefix/mint/m68k/parent
new file mode 100644
index 00000000000..f3229c5b987
--- /dev/null
+++ b/profiles/prefix/mint/m68k/parent
@@ -0,0 +1 @@
+..
diff --git a/profiles/prefix/mint/m68k/use.mask b/profiles/prefix/mint/m68k/use.mask
new file mode 100644
index 00000000000..599a7fd3a44
--- /dev/null
+++ b/profiles/prefix/mint/m68k/use.mask
@@ -0,0 +1,6 @@
+# Copyright 1999-2009 Gentoo Foundation.
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+# dlopen() doesn't work in MiNT
+dso
diff --git a/profiles/prefix/mint/make.defaults b/profiles/prefix/mint/make.defaults
new file mode 100644
index 00000000000..603ec35e717
--- /dev/null
+++ b/profiles/prefix/mint/make.defaults
@@ -0,0 +1,13 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+# System-wide defaults for all MiNT profiles
+# This file should rarely need to be changed
+
+# 'Sane' defaults
+ELIBC="mintlib"
+KERNEL="freemint"
+
+# openmp: bug #515616
+USE="fortran static-libs -openmp"
diff --git a/profiles/prefix/mint/package.provided b/profiles/prefix/mint/package.provided
new file mode 100644
index 00000000000..f798a41077d
--- /dev/null
+++ b/profiles/prefix/mint/package.provided
@@ -0,0 +1,5 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+sys-mint/mintlib-1
diff --git a/profiles/prefix/mint/package.use.force b/profiles/prefix/mint/package.use.force
new file mode 100644
index 00000000000..55112e991a2
--- /dev/null
+++ b/profiles/prefix/mint/package.use.force
@@ -0,0 +1,6 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+#364789
+app-arch/libarchive static static-libs
diff --git a/profiles/prefix/mint/package.use.mask b/profiles/prefix/mint/package.use.mask
new file mode 100644
index 00000000000..09463640861
--- /dev/null
+++ b/profiles/prefix/mint/package.use.mask
@@ -0,0 +1,15 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+# Alan Hourihane <alanh@fairlite.co.uk> (11 Mar 2014)
+# plays havoc with GNU pth bug #503764
+dev-lang/tcl threads
+
+# Alan Hourihane <alanh@fairlite.co.uk> (30 Dec 2011)
+# xz-utils plays havoc with GNU pth
+app-arch/xz-utils threads
+
+# Alan Hourihane <alanh@fairlite.co.uk> (15 Dec 2011)
+# MiNT doesn't have mmap, and jit requires it.
+dev-libs/libpcre jit
diff --git a/profiles/prefix/mint/packages b/profiles/prefix/mint/packages
new file mode 100644
index 00000000000..679d62201c3
--- /dev/null
+++ b/profiles/prefix/mint/packages
@@ -0,0 +1,5 @@
+# Copyright 1999-2009 Gentoo Foundation.
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+*sys-devel/binutils
diff --git a/profiles/prefix/mint/parent b/profiles/prefix/mint/parent
new file mode 100644
index 00000000000..f3229c5b987
--- /dev/null
+++ b/profiles/prefix/mint/parent
@@ -0,0 +1 @@
+..
diff --git a/profiles/prefix/mint/use.mask b/profiles/prefix/mint/use.mask
new file mode 100644
index 00000000000..6c56e30a755
--- /dev/null
+++ b/profiles/prefix/mint/use.mask
@@ -0,0 +1,50 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+# Re-add MiNT libc
+-elibc_mintlib
+-kernel_freemint
+
+# these will more than likely never work on MiNT
+3dfx
+3dnow
+3dnowext
+acpi
+alsa
+apm
+cap
+caps
+cman
+clvm
+directfb
+divx4linux
+djbfft
+fbcon
+fdftk
+fmod
+ggi
+gpm
+hardened
+icc
+icc-pgo
+ipv6
+mmx
+mmx2
+# the following USE flag requires device-mapper
+on-the-fly-crypt
+oss
+solid
+sse
+sse2
+svga
+sybase
+sybase-ct
+rtc
+uclibc
+voodoo3
+pvm
+v4l
+
+# git doesn't work at this time, bug #339031\
+git
diff --git a/profiles/prefix/package.mask b/profiles/prefix/package.mask
new file mode 100644
index 00000000000..06feb292f1c
--- /dev/null
+++ b/profiles/prefix/package.mask
@@ -0,0 +1,30 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+#
+# When you add an entry to the top of this file, add your name, the date, and
+# an explanation of why something is getting masked. This file is for
+# Prefix profiles only!
+#
+# NOTE: Please add your entry at the top!
+#
+
+
+# Fabian Groffen <grobian@gentoo.org> (11 Feb 2014)
+# Fails to compile, bug #493464
+=sys-devel/autogen-5.18.1
+=sys-devel/autogen-5.18.2
+
+# Fabian Groffen <grobian@gentoo.org> (29 Apr 2012)
+# AT_FDCWD, openat, faccessat, etc. issues on probably all but Linux
+# platforms, masking for now.
+>=app-misc/pax-utils-0.3
+
+# Elias Pipping <pipping@gentoo.org> (09 Oct 2007)
+# darwin-miscutils are only available on darwin
+sys-apps/darwin-miscutils
+
+# Fabian Groffen <grobian@gentoo.org> (04 Apr 2007)
+# Don't use this, it is only provided for experimentation and as tool to
+# recover from broken linker situations.
+sys-devel/native-cctools
diff --git a/profiles/prefix/package.use.mask b/profiles/prefix/package.use.mask
new file mode 100644
index 00000000000..d2a2c7b9ed9
--- /dev/null
+++ b/profiles/prefix/package.use.mask
@@ -0,0 +1,21 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+# Mikle Kolyada <zlogene@gentoo.org> (29 Nov 2014)
+# Masked because of lack of manpower/time (bug #497068)
+dev-vcs/git mediawiki
+
+# Fabian Groffen <grobian@gentoo.org> (23 Oct 2010)
+# IPC relies on pipes, selects, polls, and more stuff that Python is
+# very bad with, that really causes way more issues than it is worth to
+# have some boundary bugs solved and more robust subshell die support
+sys-apps/portage ipc
+
+# Michael Haubenwallner <haubi@gentoo.org> (17 Sep 2010)
+# sys-apps/keyutils is a linux only package
+app-crypt/mit-krb5 keyutils
+
+# Michael Haubenwallner <haubi@gentoo.org> (30 Sep 2009)
+# Most prefix platforms do/can not have a uuid implementation (#230981).
+x11-libs/libSM uuid
diff --git a/profiles/prefix/packages b/profiles/prefix/packages
new file mode 100644
index 00000000000..ea972ca9374
--- /dev/null
+++ b/profiles/prefix/packages
@@ -0,0 +1,10 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+# we don't want binutils everywhere, only in linux and solaris
+-*sys-devel/binutils
+
+# linux only
+-*sys-process/procps
+-*sys-process/psmisc
diff --git a/profiles/prefix/parent b/profiles/prefix/parent
new file mode 100644
index 00000000000..a88ecf69d27
--- /dev/null
+++ b/profiles/prefix/parent
@@ -0,0 +1,2 @@
+../base
+../features/prefix/rpath
diff --git a/profiles/prefix/sunos/eapi b/profiles/prefix/sunos/eapi
new file mode 100644
index 00000000000..7ed6ff82de6
--- /dev/null
+++ b/profiles/prefix/sunos/eapi
@@ -0,0 +1 @@
+5
diff --git a/profiles/prefix/sunos/make.defaults b/profiles/prefix/sunos/make.defaults
new file mode 100644
index 00000000000..78c742b5b6c
--- /dev/null
+++ b/profiles/prefix/sunos/make.defaults
@@ -0,0 +1,14 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+# System-wide defaults for all SunOS profiles
+# This file should rarely need to be changed
+
+# 'Sane' defaults
+ELIBC="SunOS"
+KERNEL="SunOS"
+
+# stripping stuff works but makes
+# i.e. ldd output completely empty, which is sort of annoying
+FEATURES="nostrip"
diff --git a/profiles/prefix/sunos/packages b/profiles/prefix/sunos/packages
new file mode 100644
index 00000000000..8f7809e1bcc
--- /dev/null
+++ b/profiles/prefix/sunos/packages
@@ -0,0 +1,5 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+*sys-devel/binutils
diff --git a/profiles/prefix/sunos/parent b/profiles/prefix/sunos/parent
new file mode 100644
index 00000000000..f3229c5b987
--- /dev/null
+++ b/profiles/prefix/sunos/parent
@@ -0,0 +1 @@
+..
diff --git a/profiles/prefix/sunos/solaris/5.10/eapi b/profiles/prefix/sunos/solaris/5.10/eapi
new file mode 100644
index 00000000000..7ed6ff82de6
--- /dev/null
+++ b/profiles/prefix/sunos/solaris/5.10/eapi
@@ -0,0 +1 @@
+5
diff --git a/profiles/prefix/sunos/solaris/5.10/package.provided b/profiles/prefix/sunos/solaris/5.10/package.provided
new file mode 100644
index 00000000000..82364be8f47
--- /dev/null
+++ b/profiles/prefix/sunos/solaris/5.10/package.provided
@@ -0,0 +1,5 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+sys-sunos/libc-2.10
diff --git a/profiles/prefix/sunos/solaris/5.10/parent b/profiles/prefix/sunos/solaris/5.10/parent
new file mode 100644
index 00000000000..f3229c5b987
--- /dev/null
+++ b/profiles/prefix/sunos/solaris/5.10/parent
@@ -0,0 +1 @@
+..
diff --git a/profiles/prefix/sunos/solaris/5.10/sparc/eapi b/profiles/prefix/sunos/solaris/5.10/sparc/eapi
new file mode 100644
index 00000000000..7ed6ff82de6
--- /dev/null
+++ b/profiles/prefix/sunos/solaris/5.10/sparc/eapi
@@ -0,0 +1 @@
+5
diff --git a/profiles/prefix/sunos/solaris/5.10/sparc/make.defaults b/profiles/prefix/sunos/solaris/5.10/sparc/make.defaults
new file mode 100644
index 00000000000..5337c8e32d5
--- /dev/null
+++ b/profiles/prefix/sunos/solaris/5.10/sparc/make.defaults
@@ -0,0 +1,8 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+ARCH="sparc-solaris"
+CHOST="sparc-sun-solaris2.10"
+ACCEPT_KEYWORDS="~sparc-solaris"
+
diff --git a/profiles/prefix/sunos/solaris/5.10/sparc/package.mask b/profiles/prefix/sunos/solaris/5.10/sparc/package.mask
new file mode 100644
index 00000000000..6bc858049e4
--- /dev/null
+++ b/profiles/prefix/sunos/solaris/5.10/sparc/package.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/sunos/solaris/5.10/sparc/package.use.mask b/profiles/prefix/sunos/solaris/5.10/sparc/package.use.mask
new file mode 100644
index 00000000000..e2d57612705
--- /dev/null
+++ b/profiles/prefix/sunos/solaris/5.10/sparc/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/sunos/solaris/5.10/sparc/parent b/profiles/prefix/sunos/solaris/5.10/sparc/parent
new file mode 100644
index 00000000000..133d186d15d
--- /dev/null
+++ b/profiles/prefix/sunos/solaris/5.10/sparc/parent
@@ -0,0 +1,2 @@
+../../arch/sparc
+..
diff --git a/profiles/prefix/sunos/solaris/5.10/sparc64/eapi b/profiles/prefix/sunos/solaris/5.10/sparc64/eapi
new file mode 100644
index 00000000000..7ed6ff82de6
--- /dev/null
+++ b/profiles/prefix/sunos/solaris/5.10/sparc64/eapi
@@ -0,0 +1 @@
+5
diff --git a/profiles/prefix/sunos/solaris/5.10/sparc64/make.defaults b/profiles/prefix/sunos/solaris/5.10/sparc64/make.defaults
new file mode 100644
index 00000000000..1e54d5f7ed8
--- /dev/null
+++ b/profiles/prefix/sunos/solaris/5.10/sparc64/make.defaults
@@ -0,0 +1,8 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+ARCH="sparc64-solaris"
+CHOST="sparcv9-sun-solaris2.10"
+ACCEPT_KEYWORDS="~sparc64-solaris"
+
diff --git a/profiles/prefix/sunos/solaris/5.10/sparc64/package.mask b/profiles/prefix/sunos/solaris/5.10/sparc64/package.mask
new file mode 100644
index 00000000000..6bc858049e4
--- /dev/null
+++ b/profiles/prefix/sunos/solaris/5.10/sparc64/package.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/sunos/solaris/5.10/sparc64/package.use.mask b/profiles/prefix/sunos/solaris/5.10/sparc64/package.use.mask
new file mode 100644
index 00000000000..e2d57612705
--- /dev/null
+++ b/profiles/prefix/sunos/solaris/5.10/sparc64/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/sunos/solaris/5.10/sparc64/parent b/profiles/prefix/sunos/solaris/5.10/sparc64/parent
new file mode 100644
index 00000000000..9dbef0db89b
--- /dev/null
+++ b/profiles/prefix/sunos/solaris/5.10/sparc64/parent
@@ -0,0 +1,2 @@
+../../arch/sparc64
+..
diff --git a/profiles/prefix/sunos/solaris/5.10/x64/eapi b/profiles/prefix/sunos/solaris/5.10/x64/eapi
new file mode 100644
index 00000000000..7ed6ff82de6
--- /dev/null
+++ b/profiles/prefix/sunos/solaris/5.10/x64/eapi
@@ -0,0 +1 @@
+5
diff --git a/profiles/prefix/sunos/solaris/5.10/x64/make.defaults b/profiles/prefix/sunos/solaris/5.10/x64/make.defaults
new file mode 100644
index 00000000000..8fd6dd3bf1c
--- /dev/null
+++ b/profiles/prefix/sunos/solaris/5.10/x64/make.defaults
@@ -0,0 +1,8 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+ARCH="x64-solaris"
+CHOST="x86_64-pc-solaris2.10"
+ACCEPT_KEYWORDS="~x64-solaris"
+
diff --git a/profiles/prefix/sunos/solaris/5.10/x64/package.mask b/profiles/prefix/sunos/solaris/5.10/x64/package.mask
new file mode 100644
index 00000000000..4645c5d42c6
--- /dev/null
+++ b/profiles/prefix/sunos/solaris/5.10/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/sunos/solaris/5.10/x64/package.use.mask b/profiles/prefix/sunos/solaris/5.10/x64/package.use.mask
new file mode 100644
index 00000000000..c1124fd8280
--- /dev/null
+++ b/profiles/prefix/sunos/solaris/5.10/x64/package.use.mask
@@ -0,0 +1,5 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+
diff --git a/profiles/prefix/sunos/solaris/5.10/x64/parent b/profiles/prefix/sunos/solaris/5.10/x64/parent
new file mode 100644
index 00000000000..fc24616eeda
--- /dev/null
+++ b/profiles/prefix/sunos/solaris/5.10/x64/parent
@@ -0,0 +1,2 @@
+../../arch/x64
+..
diff --git a/profiles/prefix/sunos/solaris/5.10/x86/eapi b/profiles/prefix/sunos/solaris/5.10/x86/eapi
new file mode 100644
index 00000000000..7ed6ff82de6
--- /dev/null
+++ b/profiles/prefix/sunos/solaris/5.10/x86/eapi
@@ -0,0 +1 @@
+5
diff --git a/profiles/prefix/sunos/solaris/5.10/x86/make.defaults b/profiles/prefix/sunos/solaris/5.10/x86/make.defaults
new file mode 100644
index 00000000000..f311d2bc1f2
--- /dev/null
+++ b/profiles/prefix/sunos/solaris/5.10/x86/make.defaults
@@ -0,0 +1,8 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+ARCH="x86-solaris"
+CHOST="i386-pc-solaris2.10"
+ACCEPT_KEYWORDS="~x86-solaris"
+
diff --git a/profiles/prefix/sunos/solaris/5.10/x86/package.use.mask b/profiles/prefix/sunos/solaris/5.10/x86/package.use.mask
new file mode 100644
index 00000000000..5788b355496
--- /dev/null
+++ b/profiles/prefix/sunos/solaris/5.10/x86/package.use.mask
@@ -0,0 +1,9 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+
+# *** This configuration is not supported in the following
+# subdirectories:
+# target-libada gnattools target-libmudflap target-libssp
+sys-devel/gcc:4.3 mudflap
diff --git a/profiles/prefix/sunos/solaris/5.10/x86/parent b/profiles/prefix/sunos/solaris/5.10/x86/parent
new file mode 100644
index 00000000000..4a6aa36b18d
--- /dev/null
+++ b/profiles/prefix/sunos/solaris/5.10/x86/parent
@@ -0,0 +1,2 @@
+../../arch/x86
+..
diff --git a/profiles/prefix/sunos/solaris/5.11/eapi b/profiles/prefix/sunos/solaris/5.11/eapi
new file mode 100644
index 00000000000..7ed6ff82de6
--- /dev/null
+++ b/profiles/prefix/sunos/solaris/5.11/eapi
@@ -0,0 +1 @@
+5
diff --git a/profiles/prefix/sunos/solaris/5.11/package.mask b/profiles/prefix/sunos/solaris/5.11/package.mask
new file mode 100644
index 00000000000..b6577915b9a
--- /dev/null
+++ b/profiles/prefix/sunos/solaris/5.11/package.mask
@@ -0,0 +1,8 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+# Fabian Groffen <grobian@gentoo.org> (25 May 2009)
+# Can't deal with changed system headers which define their own versions
+# of vprintf, etc. when being called with _KERNEL defined.
+=sys-process/lsof-4.82
diff --git a/profiles/prefix/sunos/solaris/5.11/package.provided b/profiles/prefix/sunos/solaris/5.11/package.provided
new file mode 100644
index 00000000000..fcb98abe6b5
--- /dev/null
+++ b/profiles/prefix/sunos/solaris/5.11/package.provided
@@ -0,0 +1,5 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+sys-sunos/libc-2.11
diff --git a/profiles/prefix/sunos/solaris/5.11/package.use.mask b/profiles/prefix/sunos/solaris/5.11/package.use.mask
new file mode 100644
index 00000000000..3e59ebe16f9
--- /dev/null
+++ b/profiles/prefix/sunos/solaris/5.11/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> (30 Mar 2011)
+# git is broken with some repack failure (OpenSolaris only)
+sys-devel/gettext git
diff --git a/profiles/prefix/sunos/solaris/5.11/parent b/profiles/prefix/sunos/solaris/5.11/parent
new file mode 100644
index 00000000000..f3229c5b987
--- /dev/null
+++ b/profiles/prefix/sunos/solaris/5.11/parent
@@ -0,0 +1 @@
+..
diff --git a/profiles/prefix/sunos/solaris/5.11/sparc/eapi b/profiles/prefix/sunos/solaris/5.11/sparc/eapi
new file mode 100644
index 00000000000..7ed6ff82de6
--- /dev/null
+++ b/profiles/prefix/sunos/solaris/5.11/sparc/eapi
@@ -0,0 +1 @@
+5
diff --git a/profiles/prefix/sunos/solaris/5.11/sparc/make.defaults b/profiles/prefix/sunos/solaris/5.11/sparc/make.defaults
new file mode 100644
index 00000000000..ac4127669fc
--- /dev/null
+++ b/profiles/prefix/sunos/solaris/5.11/sparc/make.defaults
@@ -0,0 +1,8 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+ARCH="sparc-solaris"
+CHOST="sparc-sun-solaris2.11"
+ACCEPT_KEYWORDS="~sparc-solaris"
+
diff --git a/profiles/prefix/sunos/solaris/5.11/sparc/package.mask b/profiles/prefix/sunos/solaris/5.11/sparc/package.mask
new file mode 100644
index 00000000000..6bc858049e4
--- /dev/null
+++ b/profiles/prefix/sunos/solaris/5.11/sparc/package.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/sunos/solaris/5.11/sparc/package.use.mask b/profiles/prefix/sunos/solaris/5.11/sparc/package.use.mask
new file mode 100644
index 00000000000..e2d57612705
--- /dev/null
+++ b/profiles/prefix/sunos/solaris/5.11/sparc/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/sunos/solaris/5.11/sparc/parent b/profiles/prefix/sunos/solaris/5.11/sparc/parent
new file mode 100644
index 00000000000..133d186d15d
--- /dev/null
+++ b/profiles/prefix/sunos/solaris/5.11/sparc/parent
@@ -0,0 +1,2 @@
+../../arch/sparc
+..
diff --git a/profiles/prefix/sunos/solaris/5.11/sparc64/eapi b/profiles/prefix/sunos/solaris/5.11/sparc64/eapi
new file mode 100644
index 00000000000..7ed6ff82de6
--- /dev/null
+++ b/profiles/prefix/sunos/solaris/5.11/sparc64/eapi
@@ -0,0 +1 @@
+5
diff --git a/profiles/prefix/sunos/solaris/5.11/sparc64/make.defaults b/profiles/prefix/sunos/solaris/5.11/sparc64/make.defaults
new file mode 100644
index 00000000000..61a734e0caa
--- /dev/null
+++ b/profiles/prefix/sunos/solaris/5.11/sparc64/make.defaults
@@ -0,0 +1,8 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+ARCH="sparc64-solaris"
+CHOST="sparcv9-sun-solaris2.11"
+ACCEPT_KEYWORDS="~sparc64-solaris"
+
diff --git a/profiles/prefix/sunos/solaris/5.11/sparc64/package.mask b/profiles/prefix/sunos/solaris/5.11/sparc64/package.mask
new file mode 100644
index 00000000000..6bc858049e4
--- /dev/null
+++ b/profiles/prefix/sunos/solaris/5.11/sparc64/package.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/sunos/solaris/5.11/sparc64/package.use.mask b/profiles/prefix/sunos/solaris/5.11/sparc64/package.use.mask
new file mode 100644
index 00000000000..e2d57612705
--- /dev/null
+++ b/profiles/prefix/sunos/solaris/5.11/sparc64/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/sunos/solaris/5.11/sparc64/parent b/profiles/prefix/sunos/solaris/5.11/sparc64/parent
new file mode 100644
index 00000000000..9dbef0db89b
--- /dev/null
+++ b/profiles/prefix/sunos/solaris/5.11/sparc64/parent
@@ -0,0 +1,2 @@
+../../arch/sparc64
+..
diff --git a/profiles/prefix/sunos/solaris/5.11/x64/eapi b/profiles/prefix/sunos/solaris/5.11/x64/eapi
new file mode 100644
index 00000000000..7ed6ff82de6
--- /dev/null
+++ b/profiles/prefix/sunos/solaris/5.11/x64/eapi
@@ -0,0 +1 @@
+5
diff --git a/profiles/prefix/sunos/solaris/5.11/x64/make.defaults b/profiles/prefix/sunos/solaris/5.11/x64/make.defaults
new file mode 100644
index 00000000000..15abaa39b4b
--- /dev/null
+++ b/profiles/prefix/sunos/solaris/5.11/x64/make.defaults
@@ -0,0 +1,8 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+ARCH="x64-solaris"
+CHOST="x86_64-pc-solaris2.11"
+ACCEPT_KEYWORDS="~x64-solaris"
+
diff --git a/profiles/prefix/sunos/solaris/5.11/x64/package.use.mask b/profiles/prefix/sunos/solaris/5.11/x64/package.use.mask
new file mode 100644
index 00000000000..c1124fd8280
--- /dev/null
+++ b/profiles/prefix/sunos/solaris/5.11/x64/package.use.mask
@@ -0,0 +1,5 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+
diff --git a/profiles/prefix/sunos/solaris/5.11/x64/parent b/profiles/prefix/sunos/solaris/5.11/x64/parent
new file mode 100644
index 00000000000..fc24616eeda
--- /dev/null
+++ b/profiles/prefix/sunos/solaris/5.11/x64/parent
@@ -0,0 +1,2 @@
+../../arch/x64
+..
diff --git a/profiles/prefix/sunos/solaris/5.11/x86/eapi b/profiles/prefix/sunos/solaris/5.11/x86/eapi
new file mode 100644
index 00000000000..7ed6ff82de6
--- /dev/null
+++ b/profiles/prefix/sunos/solaris/5.11/x86/eapi
@@ -0,0 +1 @@
+5
diff --git a/profiles/prefix/sunos/solaris/5.11/x86/make.defaults b/profiles/prefix/sunos/solaris/5.11/x86/make.defaults
new file mode 100644
index 00000000000..ee88cdf489b
--- /dev/null
+++ b/profiles/prefix/sunos/solaris/5.11/x86/make.defaults
@@ -0,0 +1,8 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+ARCH="x86-solaris"
+CHOST="i386-pc-solaris2.11"
+ACCEPT_KEYWORDS="~x86-solaris"
+
diff --git a/profiles/prefix/sunos/solaris/5.11/x86/package.use.mask b/profiles/prefix/sunos/solaris/5.11/x86/package.use.mask
new file mode 100644
index 00000000000..e2d57612705
--- /dev/null
+++ b/profiles/prefix/sunos/solaris/5.11/x86/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/sunos/solaris/5.11/x86/parent b/profiles/prefix/sunos/solaris/5.11/x86/parent
new file mode 100644
index 00000000000..4a6aa36b18d
--- /dev/null
+++ b/profiles/prefix/sunos/solaris/5.11/x86/parent
@@ -0,0 +1,2 @@
+../../arch/x86
+..
diff --git a/profiles/prefix/sunos/solaris/5.9/eapi b/profiles/prefix/sunos/solaris/5.9/eapi
new file mode 100644
index 00000000000..7ed6ff82de6
--- /dev/null
+++ b/profiles/prefix/sunos/solaris/5.9/eapi
@@ -0,0 +1 @@
+5
diff --git a/profiles/prefix/sunos/solaris/5.9/package.mask b/profiles/prefix/sunos/solaris/5.9/package.mask
new file mode 100644
index 00000000000..c86af0af78d
--- /dev/null
+++ b/profiles/prefix/sunos/solaris/5.9/package.mask
@@ -0,0 +1,15 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+
+# Jeremy Olexa <darkside@gentoo.org> (26 Aug 2008)
+# Requires that pthread.h defines pthread_atfork() but it doesn't on Solaris 9
+# SPARC.
+dev-libs/nss
+
+# Jeremy Olexa <darkside@gentoo.org> (26 Aug 2008)
+# Massive header errors. SIZE_MAX is defined in limits.h, getopt_long.c requires
+# getopt.h and err.h which don't seem to be present. Might be salvageable with
+# gnulib but I don't know much about that yet. Old versions still work.
+>=sys-apps/file-4.25
diff --git a/profiles/prefix/sunos/solaris/5.9/package.provided b/profiles/prefix/sunos/solaris/5.9/package.provided
new file mode 100644
index 00000000000..98ed1f8c664
--- /dev/null
+++ b/profiles/prefix/sunos/solaris/5.9/package.provided
@@ -0,0 +1,5 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+sys-sunos/libc-2.9
diff --git a/profiles/prefix/sunos/solaris/5.9/package.use.force b/profiles/prefix/sunos/solaris/5.9/package.use.force
new file mode 100644
index 00000000000..39a9c75e56a
--- /dev/null
+++ b/profiles/prefix/sunos/solaris/5.9/package.use.force
@@ -0,0 +1,6 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+# still need scandir() from gnulib on solaris2.9
+app-eselect/eselect-python gnulib
diff --git a/profiles/prefix/sunos/solaris/5.9/package.use.mask b/profiles/prefix/sunos/solaris/5.9/package.use.mask
new file mode 100644
index 00000000000..86de9f39e84
--- /dev/null
+++ b/profiles/prefix/sunos/solaris/5.9/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> (16 Nov 2011)
+# jit not supported on sparc
+dev-libs/libpcre jit
+
diff --git a/profiles/prefix/sunos/solaris/5.9/parent b/profiles/prefix/sunos/solaris/5.9/parent
new file mode 100644
index 00000000000..f3229c5b987
--- /dev/null
+++ b/profiles/prefix/sunos/solaris/5.9/parent
@@ -0,0 +1 @@
+..
diff --git a/profiles/prefix/sunos/solaris/5.9/sparc/eapi b/profiles/prefix/sunos/solaris/5.9/sparc/eapi
new file mode 100644
index 00000000000..7ed6ff82de6
--- /dev/null
+++ b/profiles/prefix/sunos/solaris/5.9/sparc/eapi
@@ -0,0 +1 @@
+5
diff --git a/profiles/prefix/sunos/solaris/5.9/sparc/make.defaults b/profiles/prefix/sunos/solaris/5.9/sparc/make.defaults
new file mode 100644
index 00000000000..45a62771ecb
--- /dev/null
+++ b/profiles/prefix/sunos/solaris/5.9/sparc/make.defaults
@@ -0,0 +1,8 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+ARCH="sparc-solaris"
+CHOST="sparc-sun-solaris2.9"
+ACCEPT_KEYWORDS="~sparc-solaris"
+
diff --git a/profiles/prefix/sunos/solaris/5.9/sparc/package.mask b/profiles/prefix/sunos/solaris/5.9/sparc/package.mask
new file mode 100644
index 00000000000..6bc858049e4
--- /dev/null
+++ b/profiles/prefix/sunos/solaris/5.9/sparc/package.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/sunos/solaris/5.9/sparc/parent b/profiles/prefix/sunos/solaris/5.9/sparc/parent
new file mode 100644
index 00000000000..133d186d15d
--- /dev/null
+++ b/profiles/prefix/sunos/solaris/5.9/sparc/parent
@@ -0,0 +1,2 @@
+../../arch/sparc
+..
diff --git a/profiles/prefix/sunos/solaris/5.9/sparc64/eapi b/profiles/prefix/sunos/solaris/5.9/sparc64/eapi
new file mode 100644
index 00000000000..7ed6ff82de6
--- /dev/null
+++ b/profiles/prefix/sunos/solaris/5.9/sparc64/eapi
@@ -0,0 +1 @@
+5
diff --git a/profiles/prefix/sunos/solaris/5.9/sparc64/make.defaults b/profiles/prefix/sunos/solaris/5.9/sparc64/make.defaults
new file mode 100644
index 00000000000..a290b5e5af6
--- /dev/null
+++ b/profiles/prefix/sunos/solaris/5.9/sparc64/make.defaults
@@ -0,0 +1,8 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+ARCH="sparc64-solaris"
+CHOST="sparcv9-sun-solaris2.9"
+ACCEPT_KEYWORDS="~sparc64-solaris"
+
diff --git a/profiles/prefix/sunos/solaris/5.9/sparc64/package.mask b/profiles/prefix/sunos/solaris/5.9/sparc64/package.mask
new file mode 100644
index 00000000000..6bc858049e4
--- /dev/null
+++ b/profiles/prefix/sunos/solaris/5.9/sparc64/package.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/sunos/solaris/5.9/sparc64/parent b/profiles/prefix/sunos/solaris/5.9/sparc64/parent
new file mode 100644
index 00000000000..9dbef0db89b
--- /dev/null
+++ b/profiles/prefix/sunos/solaris/5.9/sparc64/parent
@@ -0,0 +1,2 @@
+../../arch/sparc64
+..
diff --git a/profiles/prefix/sunos/solaris/arch/eapi b/profiles/prefix/sunos/solaris/arch/eapi
new file mode 100644
index 00000000000..7ed6ff82de6
--- /dev/null
+++ b/profiles/prefix/sunos/solaris/arch/eapi
@@ -0,0 +1 @@
+5
diff --git a/profiles/prefix/sunos/solaris/arch/sparc/eapi b/profiles/prefix/sunos/solaris/arch/sparc/eapi
new file mode 100644
index 00000000000..7ed6ff82de6
--- /dev/null
+++ b/profiles/prefix/sunos/solaris/arch/sparc/eapi
@@ -0,0 +1 @@
+5
diff --git a/profiles/prefix/sunos/solaris/arch/sparc/package.mask b/profiles/prefix/sunos/solaris/arch/sparc/package.mask
new file mode 100644
index 00000000000..b49d97e073e
--- /dev/null
+++ b/profiles/prefix/sunos/solaris/arch/sparc/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 Solaris profiles inherit from their matching arch profile here.
+
+
+# Fabian Groffen <grobian@gentoo.org> (30 Dec 2011)
+# Does not support Solaris/SPARC, http://mj.ucw.cz/pciutils.html
+sys-apps/pciutils
diff --git a/profiles/prefix/sunos/solaris/arch/sparc/package.use.mask b/profiles/prefix/sunos/solaris/arch/sparc/package.use.mask
new file mode 100644
index 00000000000..a1de10250bd
--- /dev/null
+++ b/profiles/prefix/sunos/solaris/arch/sparc/package.use.mask
@@ -0,0 +1,12 @@
+# 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 Solaris profiles inherit from their matching arch profile here.
+
+
+# Fabian Groffen <grobian@gentoo.org> (16 Nov 2011)
+# jit not supported on sparc
+dev-libs/libpcre jit
+
diff --git a/profiles/prefix/sunos/solaris/arch/sparc64/eapi b/profiles/prefix/sunos/solaris/arch/sparc64/eapi
new file mode 100644
index 00000000000..7ed6ff82de6
--- /dev/null
+++ b/profiles/prefix/sunos/solaris/arch/sparc64/eapi
@@ -0,0 +1 @@
+5
diff --git a/profiles/prefix/sunos/solaris/arch/sparc64/package.mask b/profiles/prefix/sunos/solaris/arch/sparc64/package.mask
new file mode 100644
index 00000000000..cc5087b0428
--- /dev/null
+++ b/profiles/prefix/sunos/solaris/arch/sparc64/package.mask
@@ -0,0 +1,8 @@
+# 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 Solaris profiles inherit from their matching arch profile here.
+
+
diff --git a/profiles/prefix/sunos/solaris/arch/sparc64/package.use.mask b/profiles/prefix/sunos/solaris/arch/sparc64/package.use.mask
new file mode 100644
index 00000000000..cc5087b0428
--- /dev/null
+++ b/profiles/prefix/sunos/solaris/arch/sparc64/package.use.mask
@@ -0,0 +1,8 @@
+# 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 Solaris profiles inherit from their matching arch profile here.
+
+
diff --git a/profiles/prefix/sunos/solaris/arch/sparc64/parent b/profiles/prefix/sunos/solaris/arch/sparc64/parent
new file mode 100644
index 00000000000..0d45c166444
--- /dev/null
+++ b/profiles/prefix/sunos/solaris/arch/sparc64/parent
@@ -0,0 +1 @@
+../sparc
diff --git a/profiles/prefix/sunos/solaris/arch/x64/eapi b/profiles/prefix/sunos/solaris/arch/x64/eapi
new file mode 100644
index 00000000000..7ed6ff82de6
--- /dev/null
+++ b/profiles/prefix/sunos/solaris/arch/x64/eapi
@@ -0,0 +1 @@
+5
diff --git a/profiles/prefix/sunos/solaris/arch/x64/make.defaults b/profiles/prefix/sunos/solaris/arch/x64/make.defaults
new file mode 100644
index 00000000000..aff95e51d92
--- /dev/null
+++ b/profiles/prefix/sunos/solaris/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/sunos/solaris/arch/x64/package.mask b/profiles/prefix/sunos/solaris/arch/x64/package.mask
new file mode 100644
index 00000000000..cc5087b0428
--- /dev/null
+++ b/profiles/prefix/sunos/solaris/arch/x64/package.mask
@@ -0,0 +1,8 @@
+# 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 Solaris profiles inherit from their matching arch profile here.
+
+
diff --git a/profiles/prefix/sunos/solaris/arch/x64/package.use.mask b/profiles/prefix/sunos/solaris/arch/x64/package.use.mask
new file mode 100644
index 00000000000..cc5087b0428
--- /dev/null
+++ b/profiles/prefix/sunos/solaris/arch/x64/package.use.mask
@@ -0,0 +1,8 @@
+# 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 Solaris profiles inherit from their matching arch profile here.
+
+
diff --git a/profiles/prefix/sunos/solaris/arch/x64/parent b/profiles/prefix/sunos/solaris/arch/x64/parent
new file mode 100644
index 00000000000..e6e4a52dfb3
--- /dev/null
+++ b/profiles/prefix/sunos/solaris/arch/x64/parent
@@ -0,0 +1 @@
+../x86
diff --git a/profiles/prefix/sunos/solaris/arch/x64/use.force b/profiles/prefix/sunos/solaris/arch/x64/use.force
new file mode 100644
index 00000000000..953c26144a8
--- /dev/null
+++ b/profiles/prefix/sunos/solaris/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/sunos/solaris/arch/x86/eapi b/profiles/prefix/sunos/solaris/arch/x86/eapi
new file mode 100644
index 00000000000..7ed6ff82de6
--- /dev/null
+++ b/profiles/prefix/sunos/solaris/arch/x86/eapi
@@ -0,0 +1 @@
+5
diff --git a/profiles/prefix/sunos/solaris/arch/x86/make.defaults b/profiles/prefix/sunos/solaris/arch/x86/make.defaults
new file mode 100644
index 00000000000..4e6b922ab1b
--- /dev/null
+++ b/profiles/prefix/sunos/solaris/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/sunos/solaris/arch/x86/package.mask b/profiles/prefix/sunos/solaris/arch/x86/package.mask
new file mode 100644
index 00000000000..cc5087b0428
--- /dev/null
+++ b/profiles/prefix/sunos/solaris/arch/x86/package.mask
@@ -0,0 +1,8 @@
+# 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 Solaris profiles inherit from their matching arch profile here.
+
+
diff --git a/profiles/prefix/sunos/solaris/arch/x86/package.use.mask b/profiles/prefix/sunos/solaris/arch/x86/package.use.mask
new file mode 100644
index 00000000000..cc5087b0428
--- /dev/null
+++ b/profiles/prefix/sunos/solaris/arch/x86/package.use.mask
@@ -0,0 +1,8 @@
+# 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 Solaris profiles inherit from their matching arch profile here.
+
+
diff --git a/profiles/prefix/sunos/solaris/arch/x86/use.force b/profiles/prefix/sunos/solaris/arch/x86/use.force
new file mode 100644
index 00000000000..63240617d47
--- /dev/null
+++ b/profiles/prefix/sunos/solaris/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/sunos/solaris/eapi b/profiles/prefix/sunos/solaris/eapi
new file mode 100644
index 00000000000..7ed6ff82de6
--- /dev/null
+++ b/profiles/prefix/sunos/solaris/eapi
@@ -0,0 +1 @@
+5
diff --git a/profiles/prefix/sunos/solaris/make.defaults b/profiles/prefix/sunos/solaris/make.defaults
new file mode 100644
index 00000000000..01db3b4e40a
--- /dev/null
+++ b/profiles/prefix/sunos/solaris/make.defaults
@@ -0,0 +1,7 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+# Solaris comes with ipv6 support since Solaris 7, full ipv6 integration
+# since Solaris 8. Let's enjoy that we have it.
+USE="ipv6"
diff --git a/profiles/prefix/sunos/solaris/package.mask b/profiles/prefix/sunos/solaris/package.mask
new file mode 100644
index 00000000000..c912aeed2ea
--- /dev/null
+++ b/profiles/prefix/sunos/solaris/package.mask
@@ -0,0 +1,45 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+
+# Fabian Groffen <grobian@gentoo.org> (13 Jun 2015)
+# Needs patching to compile (d_type and DT_REG), bug #551696
+=app-portage/portage-utils-0.56
+
+# Michael Haubenwallner <haubi@gentoo.org> (17 Feb 2015)
+# Ships without gnulib module faccessat.
+=sys-devel/patch-2.7.4
+
+# Fabian Groffen <grobian@gentoo.org> (14 Jan 2014)
+# util-linux has no business on Solaris systems
+sys-apps/util-linux
+
+# Fabian Groffen <grobian@gentoo.org> (07 May 2013)
+# gnulib module has a missing dependency (statat), causing linking
+# failure, next version should have it fixed
+=app-portage/portage-utils-0.30
+
+# Fabian Groffen <grobian@gentoo.org> (09 May 2012)
+# Installing libelf will hurt your system. In particular libkvm needs
+# the system libelf to function properly.
+dev-libs/libelf
+
+# Fabian Groffen <grobian@gentoo.org> (25 Aug 2011)
+# Fails to compile, and not worth fixing, bug #379723
+=sys-devel/gcc-4.3.3*
+=sys-devel/gcc-4.3.4*
+=sys-devel/gcc-4.3.5*
+=sys-devel/gcc-4.3.6*
+
+# Fabian Groffen <grobian@gentoo.org> (14 Feb 2010)
+# fails to compile, offical 7.2 works like a charm
+=sys-devel/gdb-7.2.50.20101117.4.15
+
+# Fabian Groffen <grobian@gentoo.org> (29 Nov 2009)
+# segfaults during compilation, bug #294479
+=virtual/emacs-23
+
+# Fabian Groffen <grobian@gentoo.org> (21 Jan 2007)
+# doesn't understand arguments on Solaris
+=dev-vcs/cvs-1.12.12*
diff --git a/profiles/prefix/sunos/solaris/package.use.force b/profiles/prefix/sunos/solaris/package.use.force
new file mode 100644
index 00000000000..fbe5f16446a
--- /dev/null
+++ b/profiles/prefix/sunos/solaris/package.use.force
@@ -0,0 +1,10 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+# Fabian Groffen <grobian@gentoo.org> (08 Dec 2011)
+# Force libssp, Solaris' libc doesn't have stack protection symbols,
+# hence without this, -fstack-protector fails with linker unresolved
+# symbol errors.
+sys-devel/gcc libssp
+
diff --git a/profiles/prefix/sunos/solaris/package.use.mask b/profiles/prefix/sunos/solaris/package.use.mask
new file mode 100644
index 00000000000..9e93227a941
--- /dev/null
+++ b/profiles/prefix/sunos/solaris/package.use.mask
@@ -0,0 +1,24 @@
+# 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
+
+# Fabian Groffen <grobian@gentoo.org> (08 Dec 2011)
+# Unmask libssp, Solaris' libc doesn't have stack protection symbols
+sys-devel/gcc -libssp
+
+# Fabian Groffen <grobian@gentoo.org> (05 Sep 2011)
+# gir tries to link c++ code using gcc and obviously fails
+app-text/poppler introspection
+
+# Fabian Groffen <grobian@gentoo.org> (24 Apr 2011)
+# kms seems linux only, bug #319285
+x11-libs/libdrm libkms
+
+# Jeremy Olexa <darkside@gentoo.org> (03 Dec 2008)
+# Fails to compile on Solaris, bug #245659
+media-gfx/inkscape lcms
diff --git a/profiles/prefix/sunos/solaris/parent b/profiles/prefix/sunos/solaris/parent
new file mode 100644
index 00000000000..f3229c5b987
--- /dev/null
+++ b/profiles/prefix/sunos/solaris/parent
@@ -0,0 +1 @@
+..
diff --git a/profiles/prefix/sunos/solaris/profile.bashrc b/profiles/prefix/sunos/solaris/profile.bashrc
new file mode 100644
index 00000000000..206ebca70e9
--- /dev/null
+++ b/profiles/prefix/sunos/solaris/profile.bashrc
@@ -0,0 +1,12 @@
+# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
+# $Id$
+
+# Automatically determine whether or not gen_usr_ldscript should be
+# doing something or not. This is necessary due to previous screwups,
+# which may have lead to people bootstrapping already without
+# gen_usr_ldscript being active, while existing installs should remain
+# untouched for now.
+if [[ -z ${PREFIX_DISABLE_GEN_USR_LDSCRIPT} ]] ; then
+ [[ ! -e ${EPREFIX}/lib/libz.so.1 ]] \
+ && PREFIX_DISABLE_GEN_USR_LDSCRIPT=yes
+fi
diff --git a/profiles/prefix/sunos/use.force b/profiles/prefix/sunos/use.force
new file mode 100644
index 00000000000..c1972e931c0
--- /dev/null
+++ b/profiles/prefix/sunos/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 Solaris OS
+kernel_SunOS
+elibc_SunOS
diff --git a/profiles/prefix/sunos/use.mask b/profiles/prefix/sunos/use.mask
new file mode 100644
index 00000000000..028e75726d5
--- /dev/null
+++ b/profiles/prefix/sunos/use.mask
@@ -0,0 +1,46 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+# Re-add SunOS libc
+-elibc_SunOS
+-kernel_SunOS
+
+# these will more than likely never work on solaris
+3dfx
+3dnow
+3dnowext
+acpi
+alsa
+apm
+cap
+caps
+cman
+clvm
+directfb
+divx4linux
+djbfft
+fbcon
+fdftk
+fmod
+ggi
+gpm
+hardened
+icc
+icc-pgo
+mmx
+mmx2
+# the following USE flag requires device-mapper
+on-the-fly-crypt
+oss
+solid
+sse
+sse2
+svga
+sybase
+sybase-ct
+rtc
+uclibc
+voodoo3
+pvm
+v4l
diff --git a/profiles/prefix/use.force b/profiles/prefix/use.force
new file mode 100644
index 00000000000..a10281ddd42
--- /dev/null
+++ b/profiles/prefix/use.force
@@ -0,0 +1,8 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+# unforce the GNU/Linux ELIBC, KERNEL, and USERLAND
+# flags that come from the base profile
+-elibc_glibc
+-kernel_linux
diff --git a/profiles/prefix/use.mask b/profiles/prefix/use.mask
new file mode 100644
index 00000000000..89664a8e314
--- /dev/null
+++ b/profiles/prefix/use.mask
@@ -0,0 +1,12 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+# Mask all glibc/linux combination, unmasked in the appropriate profiles
+elibc_glibc
+kernel_linux
+
+# USE=acl will probably never work because of how it is related to the kernel
+# and Gentoo Prefix does not have access to that. Also, definately problems with
+# coreutils on darwin.
+acl
diff --git a/profiles/prefix/windows/cygwin/1.7/eapi b/profiles/prefix/windows/cygwin/1.7/eapi
new file mode 100644
index 00000000000..7ed6ff82de6
--- /dev/null
+++ b/profiles/prefix/windows/cygwin/1.7/eapi
@@ -0,0 +1 @@
+5
diff --git a/profiles/prefix/windows/cygwin/1.7/package.provided b/profiles/prefix/windows/cygwin/1.7/package.provided
new file mode 100644
index 00000000000..51d995c2331
--- /dev/null
+++ b/profiles/prefix/windows/cygwin/1.7/package.provided
@@ -0,0 +1,5 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+sys-cygwin/libc-1.7
diff --git a/profiles/prefix/windows/cygwin/1.7/parent b/profiles/prefix/windows/cygwin/1.7/parent
new file mode 100644
index 00000000000..f3229c5b987
--- /dev/null
+++ b/profiles/prefix/windows/cygwin/1.7/parent
@@ -0,0 +1 @@
+..
diff --git a/profiles/prefix/windows/cygwin/1.7/x86/eapi b/profiles/prefix/windows/cygwin/1.7/x86/eapi
new file mode 100644
index 00000000000..7ed6ff82de6
--- /dev/null
+++ b/profiles/prefix/windows/cygwin/1.7/x86/eapi
@@ -0,0 +1 @@
+5
diff --git a/profiles/prefix/windows/cygwin/1.7/x86/make.defaults b/profiles/prefix/windows/cygwin/1.7/x86/make.defaults
new file mode 100644
index 00000000000..16c65012c30
--- /dev/null
+++ b/profiles/prefix/windows/cygwin/1.7/x86/make.defaults
@@ -0,0 +1,7 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+ARCH="x86-cygwin"
+CHOST="i686-pc-cygwin1.7"
+ACCEPT_KEYWORDS="~x86-cygwin"
diff --git a/profiles/prefix/windows/cygwin/1.7/x86/parent b/profiles/prefix/windows/cygwin/1.7/x86/parent
new file mode 100644
index 00000000000..f3229c5b987
--- /dev/null
+++ b/profiles/prefix/windows/cygwin/1.7/x86/parent
@@ -0,0 +1 @@
+..
diff --git a/profiles/prefix/windows/cygwin/2.0/eapi b/profiles/prefix/windows/cygwin/2.0/eapi
new file mode 100644
index 00000000000..7ed6ff82de6
--- /dev/null
+++ b/profiles/prefix/windows/cygwin/2.0/eapi
@@ -0,0 +1 @@
+5
diff --git a/profiles/prefix/windows/cygwin/2.0/package.provided b/profiles/prefix/windows/cygwin/2.0/package.provided
new file mode 100644
index 00000000000..86ffec8627b
--- /dev/null
+++ b/profiles/prefix/windows/cygwin/2.0/package.provided
@@ -0,0 +1,5 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+sys-cygwin/libc-2.0
diff --git a/profiles/prefix/windows/cygwin/2.0/parent b/profiles/prefix/windows/cygwin/2.0/parent
new file mode 100644
index 00000000000..f3229c5b987
--- /dev/null
+++ b/profiles/prefix/windows/cygwin/2.0/parent
@@ -0,0 +1 @@
+..
diff --git a/profiles/prefix/windows/cygwin/2.0/x64/eapi b/profiles/prefix/windows/cygwin/2.0/x64/eapi
new file mode 100644
index 00000000000..7ed6ff82de6
--- /dev/null
+++ b/profiles/prefix/windows/cygwin/2.0/x64/eapi
@@ -0,0 +1 @@
+5
diff --git a/profiles/prefix/windows/cygwin/2.0/x64/make.defaults b/profiles/prefix/windows/cygwin/2.0/x64/make.defaults
new file mode 100644
index 00000000000..966294ecc78
--- /dev/null
+++ b/profiles/prefix/windows/cygwin/2.0/x64/make.defaults
@@ -0,0 +1,7 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+ARCH="x64-cygwin"
+CHOST="x86_64-pc-cygwin"
+ACCEPT_KEYWORDS="~x64-cygwin"
diff --git a/profiles/prefix/windows/cygwin/2.0/x64/parent b/profiles/prefix/windows/cygwin/2.0/x64/parent
new file mode 100644
index 00000000000..f3229c5b987
--- /dev/null
+++ b/profiles/prefix/windows/cygwin/2.0/x64/parent
@@ -0,0 +1 @@
+..
diff --git a/profiles/prefix/windows/cygwin/2.0/x86/eapi b/profiles/prefix/windows/cygwin/2.0/x86/eapi
new file mode 100644
index 00000000000..7ed6ff82de6
--- /dev/null
+++ b/profiles/prefix/windows/cygwin/2.0/x86/eapi
@@ -0,0 +1 @@
+5
diff --git a/profiles/prefix/windows/cygwin/2.0/x86/make.defaults b/profiles/prefix/windows/cygwin/2.0/x86/make.defaults
new file mode 100644
index 00000000000..eb66c3d2eb4
--- /dev/null
+++ b/profiles/prefix/windows/cygwin/2.0/x86/make.defaults
@@ -0,0 +1,7 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+ARCH="x86-cygwin"
+CHOST="i686-pc-cygwin2.0"
+ACCEPT_KEYWORDS="~x86-cygwin"
diff --git a/profiles/prefix/windows/cygwin/2.0/x86/parent b/profiles/prefix/windows/cygwin/2.0/x86/parent
new file mode 100644
index 00000000000..f3229c5b987
--- /dev/null
+++ b/profiles/prefix/windows/cygwin/2.0/x86/parent
@@ -0,0 +1 @@
+..
diff --git a/profiles/prefix/windows/cygwin/eapi b/profiles/prefix/windows/cygwin/eapi
new file mode 100644
index 00000000000..7ed6ff82de6
--- /dev/null
+++ b/profiles/prefix/windows/cygwin/eapi
@@ -0,0 +1 @@
+5
diff --git a/profiles/prefix/windows/cygwin/make.defaults b/profiles/prefix/windows/cygwin/make.defaults
new file mode 100644
index 00000000000..84d8fc3c751
--- /dev/null
+++ b/profiles/prefix/windows/cygwin/make.defaults
@@ -0,0 +1,12 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+# System-wide defaults for all Cygwin profiles
+# This file should rarely need to be changed
+
+# 'Sane' defaults
+ELIBC="Cygwin"
+
+# no scanelf
+FEATURES="nostrip"
diff --git a/profiles/prefix/windows/cygwin/parent b/profiles/prefix/windows/cygwin/parent
new file mode 100644
index 00000000000..f3229c5b987
--- /dev/null
+++ b/profiles/prefix/windows/cygwin/parent
@@ -0,0 +1 @@
+..
diff --git a/profiles/prefix/windows/cygwin/use.force b/profiles/prefix/windows/cygwin/use.force
new file mode 100644
index 00000000000..b1832a5eb6b
--- /dev/null
+++ b/profiles/prefix/windows/cygwin/use.force
@@ -0,0 +1,6 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+# Re-add Cygwin's libc
+elibc_Cygwin
diff --git a/profiles/prefix/windows/cygwin/use.mask b/profiles/prefix/windows/cygwin/use.mask
new file mode 100644
index 00000000000..f4da8b4f7b3
--- /dev/null
+++ b/profiles/prefix/windows/cygwin/use.mask
@@ -0,0 +1,6 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+# Re-add Cygwin's libc
+-elibc_Cygwin
diff --git a/profiles/prefix/windows/eapi b/profiles/prefix/windows/eapi
new file mode 100644
index 00000000000..7ed6ff82de6
--- /dev/null
+++ b/profiles/prefix/windows/eapi
@@ -0,0 +1 @@
+5
diff --git a/profiles/prefix/windows/interix/3.5/eapi b/profiles/prefix/windows/interix/3.5/eapi
new file mode 100644
index 00000000000..7ed6ff82de6
--- /dev/null
+++ b/profiles/prefix/windows/interix/3.5/eapi
@@ -0,0 +1 @@
+5
diff --git a/profiles/prefix/windows/interix/3.5/package.mask b/profiles/prefix/windows/interix/3.5/package.mask
new file mode 100644
index 00000000000..b71075d054f
--- /dev/null
+++ b/profiles/prefix/windows/interix/3.5/package.mask
@@ -0,0 +1,8 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+# Markus Duft <mduft@gentoo.org> 31 Jul 2009
+# Does not build on Interix 3.5 because some functions
+# conflict with system math.h header.
+dev-python/numpy
diff --git a/profiles/prefix/windows/interix/3.5/package.provided b/profiles/prefix/windows/interix/3.5/package.provided
new file mode 100644
index 00000000000..f521461c6ae
--- /dev/null
+++ b/profiles/prefix/windows/interix/3.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-interix/libc-3.5
diff --git a/profiles/prefix/windows/interix/3.5/parent b/profiles/prefix/windows/interix/3.5/parent
new file mode 100644
index 00000000000..f3229c5b987
--- /dev/null
+++ b/profiles/prefix/windows/interix/3.5/parent
@@ -0,0 +1 @@
+..
diff --git a/profiles/prefix/windows/interix/3.5/x86/eapi b/profiles/prefix/windows/interix/3.5/x86/eapi
new file mode 100644
index 00000000000..7ed6ff82de6
--- /dev/null
+++ b/profiles/prefix/windows/interix/3.5/x86/eapi
@@ -0,0 +1 @@
+5
diff --git a/profiles/prefix/windows/interix/3.5/x86/make.defaults b/profiles/prefix/windows/interix/3.5/x86/make.defaults
new file mode 100644
index 00000000000..d438c993bfe
--- /dev/null
+++ b/profiles/prefix/windows/interix/3.5/x86/make.defaults
@@ -0,0 +1,7 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+ARCH="x86-interix"
+CHOST="i586-pc-interix3.5"
+ACCEPT_KEYWORDS="~x86-interix"
diff --git a/profiles/prefix/windows/interix/3.5/x86/parent b/profiles/prefix/windows/interix/3.5/x86/parent
new file mode 100644
index 00000000000..f3229c5b987
--- /dev/null
+++ b/profiles/prefix/windows/interix/3.5/x86/parent
@@ -0,0 +1 @@
+..
diff --git a/profiles/prefix/windows/interix/5.2/eapi b/profiles/prefix/windows/interix/5.2/eapi
new file mode 100644
index 00000000000..7ed6ff82de6
--- /dev/null
+++ b/profiles/prefix/windows/interix/5.2/eapi
@@ -0,0 +1 @@
+5
diff --git a/profiles/prefix/windows/interix/5.2/package.provided b/profiles/prefix/windows/interix/5.2/package.provided
new file mode 100644
index 00000000000..98b293c000a
--- /dev/null
+++ b/profiles/prefix/windows/interix/5.2/package.provided
@@ -0,0 +1,5 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+sys-interix/libc-5.2
diff --git a/profiles/prefix/windows/interix/5.2/parent b/profiles/prefix/windows/interix/5.2/parent
new file mode 100644
index 00000000000..f3229c5b987
--- /dev/null
+++ b/profiles/prefix/windows/interix/5.2/parent
@@ -0,0 +1 @@
+..
diff --git a/profiles/prefix/windows/interix/5.2/x86/eapi b/profiles/prefix/windows/interix/5.2/x86/eapi
new file mode 100644
index 00000000000..7ed6ff82de6
--- /dev/null
+++ b/profiles/prefix/windows/interix/5.2/x86/eapi
@@ -0,0 +1 @@
+5
diff --git a/profiles/prefix/windows/interix/5.2/x86/make.defaults b/profiles/prefix/windows/interix/5.2/x86/make.defaults
new file mode 100644
index 00000000000..ff5f7534a5c
--- /dev/null
+++ b/profiles/prefix/windows/interix/5.2/x86/make.defaults
@@ -0,0 +1,7 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+ARCH="x86-interix"
+CHOST="i586-pc-interix5.2"
+ACCEPT_KEYWORDS="~x86-interix"
diff --git a/profiles/prefix/windows/interix/5.2/x86/parent b/profiles/prefix/windows/interix/5.2/x86/parent
new file mode 100644
index 00000000000..f3229c5b987
--- /dev/null
+++ b/profiles/prefix/windows/interix/5.2/x86/parent
@@ -0,0 +1 @@
+..
diff --git a/profiles/prefix/windows/interix/6.0/eapi b/profiles/prefix/windows/interix/6.0/eapi
new file mode 100644
index 00000000000..7ed6ff82de6
--- /dev/null
+++ b/profiles/prefix/windows/interix/6.0/eapi
@@ -0,0 +1 @@
+5
diff --git a/profiles/prefix/windows/interix/6.0/package.provided b/profiles/prefix/windows/interix/6.0/package.provided
new file mode 100644
index 00000000000..66231bf1966
--- /dev/null
+++ b/profiles/prefix/windows/interix/6.0/package.provided
@@ -0,0 +1,5 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+sys-interix/libc-6.0
diff --git a/profiles/prefix/windows/interix/6.0/parent b/profiles/prefix/windows/interix/6.0/parent
new file mode 100644
index 00000000000..f3229c5b987
--- /dev/null
+++ b/profiles/prefix/windows/interix/6.0/parent
@@ -0,0 +1 @@
+..
diff --git a/profiles/prefix/windows/interix/6.0/use.mask b/profiles/prefix/windows/interix/6.0/use.mask
new file mode 100644
index 00000000000..d1b9d91f8cb
--- /dev/null
+++ b/profiles/prefix/windows/interix/6.0/use.mask
@@ -0,0 +1,8 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+# Markus Duft <mduft@gentoo.org> (7 Jul 2009)
+# Unmask the globally masked i6fork USE flag to allow
+# interix 6 fork to be fixed by linking libi6fork.
+-i6fork
diff --git a/profiles/prefix/windows/interix/6.0/x86/eapi b/profiles/prefix/windows/interix/6.0/x86/eapi
new file mode 100644
index 00000000000..7ed6ff82de6
--- /dev/null
+++ b/profiles/prefix/windows/interix/6.0/x86/eapi
@@ -0,0 +1 @@
+5
diff --git a/profiles/prefix/windows/interix/6.0/x86/make.defaults b/profiles/prefix/windows/interix/6.0/x86/make.defaults
new file mode 100644
index 00000000000..36b4634f26b
--- /dev/null
+++ b/profiles/prefix/windows/interix/6.0/x86/make.defaults
@@ -0,0 +1,9 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+# the CHOST version number is the version number of the host libc, not the version of the interix SDK package.
+
+ARCH="x86-interix"
+CHOST="i586-pc-interix6.0"
+ACCEPT_KEYWORDS="~x86-interix"
diff --git a/profiles/prefix/windows/interix/6.0/x86/parent b/profiles/prefix/windows/interix/6.0/x86/parent
new file mode 100644
index 00000000000..f3229c5b987
--- /dev/null
+++ b/profiles/prefix/windows/interix/6.0/x86/parent
@@ -0,0 +1 @@
+..
diff --git a/profiles/prefix/windows/interix/6.1/eapi b/profiles/prefix/windows/interix/6.1/eapi
new file mode 100644
index 00000000000..7ed6ff82de6
--- /dev/null
+++ b/profiles/prefix/windows/interix/6.1/eapi
@@ -0,0 +1 @@
+5
diff --git a/profiles/prefix/windows/interix/6.1/package.provided b/profiles/prefix/windows/interix/6.1/package.provided
new file mode 100644
index 00000000000..85afdcfc6d8
--- /dev/null
+++ b/profiles/prefix/windows/interix/6.1/package.provided
@@ -0,0 +1,5 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+sys-interix/libc-6.1
diff --git a/profiles/prefix/windows/interix/6.1/parent b/profiles/prefix/windows/interix/6.1/parent
new file mode 100644
index 00000000000..f3229c5b987
--- /dev/null
+++ b/profiles/prefix/windows/interix/6.1/parent
@@ -0,0 +1 @@
+..
diff --git a/profiles/prefix/windows/interix/6.1/use.mask b/profiles/prefix/windows/interix/6.1/use.mask
new file mode 100644
index 00000000000..d1b9d91f8cb
--- /dev/null
+++ b/profiles/prefix/windows/interix/6.1/use.mask
@@ -0,0 +1,8 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+# Markus Duft <mduft@gentoo.org> (7 Jul 2009)
+# Unmask the globally masked i6fork USE flag to allow
+# interix 6 fork to be fixed by linking libi6fork.
+-i6fork
diff --git a/profiles/prefix/windows/interix/6.1/x86/eapi b/profiles/prefix/windows/interix/6.1/x86/eapi
new file mode 100644
index 00000000000..7ed6ff82de6
--- /dev/null
+++ b/profiles/prefix/windows/interix/6.1/x86/eapi
@@ -0,0 +1 @@
+5
diff --git a/profiles/prefix/windows/interix/6.1/x86/make.defaults b/profiles/prefix/windows/interix/6.1/x86/make.defaults
new file mode 100644
index 00000000000..adff39323e9
--- /dev/null
+++ b/profiles/prefix/windows/interix/6.1/x86/make.defaults
@@ -0,0 +1,9 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+# the CHOST version number is the version number of the host libc, not the version of the interix SDK package.
+
+ARCH="x86-interix"
+CHOST="i586-pc-interix6.1"
+ACCEPT_KEYWORDS="~x86-interix"
diff --git a/profiles/prefix/windows/interix/6.1/x86/parent b/profiles/prefix/windows/interix/6.1/x86/parent
new file mode 100644
index 00000000000..f3229c5b987
--- /dev/null
+++ b/profiles/prefix/windows/interix/6.1/x86/parent
@@ -0,0 +1 @@
+..
diff --git a/profiles/prefix/windows/interix/eapi b/profiles/prefix/windows/interix/eapi
new file mode 100644
index 00000000000..7ed6ff82de6
--- /dev/null
+++ b/profiles/prefix/windows/interix/eapi
@@ -0,0 +1 @@
+5
diff --git a/profiles/prefix/windows/interix/make.defaults b/profiles/prefix/windows/interix/make.defaults
new file mode 100644
index 00000000000..df9d58b4d00
--- /dev/null
+++ b/profiles/prefix/windows/interix/make.defaults
@@ -0,0 +1,12 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+# System-wide defaults for all Interix profiles
+# This file should rarely need to be changed
+
+# 'Sane' defaults
+ELIBC="Interix"
+
+# no scanelf
+FEATURES="nostrip"
diff --git a/profiles/prefix/windows/interix/package.mask b/profiles/prefix/windows/interix/package.mask
new file mode 100644
index 00000000000..2c1bf4bd46d
--- /dev/null
+++ b/profiles/prefix/windows/interix/package.mask
@@ -0,0 +1,14 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+# $Id$
+
+# Markus Duft <mduft@gentoo.org> (05 May 2008)
+# Does not build with the slang interface, and
+# somebody removed the use flag for ncurses (bug #220365)
+>=app-misc/mc-4.6.2_pre1
+
+# Michael Haubenwallner <haubi@gentoo.org> (18 Mar 2008)
+# Interix patches not working yet (mduft)
+>=sys-devel/gcc-4.3.0
diff --git a/profiles/prefix/windows/interix/package.use.force b/profiles/prefix/windows/interix/package.use.force
new file mode 100644
index 00000000000..1ca949af1ab
--- /dev/null
+++ b/profiles/prefix/windows/interix/package.use.force
@@ -0,0 +1,10 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+# Markus Duft <mduft@gentoo.org> (28 Oct 2010)
+# really need them statically, as long as portage uses coreutils
+# during merge. if re-merging suacomp, utilities don't work otherwise.
+sys-apps/coreutils static
+
+sys-devel/binutils-config extwrapper
diff --git a/profiles/prefix/windows/interix/package.use.mask b/profiles/prefix/windows/interix/package.use.mask
new file mode 100644
index 00000000000..23d371d86db
--- /dev/null
+++ b/profiles/prefix/windows/interix/package.use.mask
@@ -0,0 +1,22 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+# Markus Duft <mduft@gentoo.org> (9 Aug 2011)
+# mask git flag from gettext, as gettext's build tries to munge
+# some archives with 'root' group, which doesn't exist on interix
+# (not even with user/group mapping through suacomp).
+sys-devel/gettext git
+
+# Markus Duft <mduft@gentoo.org> (28 Oct 2010)
+# mask optimization flags from eix, as they cause build troubles
+# wrt visibility flags - seems gcc 4.2.4 on interix needs another
+# patch (it already has one to disable -fvisibility=, but that
+# seems to miss -fvisibility-inlines-hidden, etc.)
+app-portage/eix optimization strong-optimization
+
+dev-scheme/guile threads
+x11-wm/fluxbox nls
+net-libs/libsoup ssl
+app-arch/pdv X
+
diff --git a/profiles/prefix/windows/interix/packages b/profiles/prefix/windows/interix/packages
new file mode 100644
index 00000000000..c455db77e6c
--- /dev/null
+++ b/profiles/prefix/windows/interix/packages
@@ -0,0 +1,3 @@
+# suacomp library is required on interix now! this is a crucial part of the system.
+# without it, there is only a broken poll, no multi-cpu/core support, etc...
+*sys-libs/suacomp
diff --git a/profiles/prefix/windows/interix/parent b/profiles/prefix/windows/interix/parent
new file mode 100644
index 00000000000..f3229c5b987
--- /dev/null
+++ b/profiles/prefix/windows/interix/parent
@@ -0,0 +1 @@
+..
diff --git a/profiles/prefix/windows/interix/profile.bashrc b/profiles/prefix/windows/interix/profile.bashrc
new file mode 100644
index 00000000000..6d354f906a7
--- /dev/null
+++ b/profiles/prefix/windows/interix/profile.bashrc
@@ -0,0 +1,146 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+# use bash as config shell. this avoids _big_ problems with new libtool (>=2.2.10),
+# as wrong asumptions about the shell arise when checking against /bin/sh.
+export CONFIG_SHELL=${BASH}
+
+# On interix, binary files (executables, shared libraries) in use
+# cannot be replaced during merge.
+# But it is possible to rename them and remove lateron when they are
+# not used any more by any running program.
+#
+# This is a workaround for portage bug#199868,
+# and should be dropped once portage does sth. like this itself.
+
+interix_cleanup_removed_files() {
+ local removedlist=$1
+ rm -f "${removedlist}".new
+
+ if [[ -r ${removedlist} ]]; then
+ rm -f "${removedlist}".old
+ fi
+ # restore in case of system fault
+ if [[ -r ${removedlist}.old ]]; then
+ mv "${removedlist}"{.old,}
+ fi
+
+ touch "${removedlist}"{,.new} # ensure they exist
+
+ while read rmstem; do
+ # try to remove previously recorded files
+ for f in "${ROOT}${rmstem}"*; do
+ ebegin "trying to remove ${f}"
+ rm -f "${f}" > /dev/null 2>&1
+ eend $?
+ done
+ # but keep it in list if still exists
+ for f in "${ROOT}${rmstem}"*; do
+ [[ -f ${f} ]] && echo "${rmstem}" >> "${removedlist}".new
+ break
+ done
+ done < "${removedlist}"
+
+ # update the list
+ mv "${removedlist}"{,.old}
+ mv "${removedlist}"{.new,}
+ rm "${removedlist}".old
+}
+
+interix_find_removed_slot() {
+ local f=$1
+ local n=0
+ while [[ ${n} -lt 100 && -f "${f}${n}" ]]; do
+ n=$((n=n+1))
+ done
+
+ if [[ ${n} -ge 100 ]]; then
+ echo "too many (>=100) old text files busy of '${f}'" >&2
+ exit 1
+ fi
+
+ echo $n
+}
+
+interix_prepare_file() {
+ local failed=0
+ if [[ ${PN} == libiconv ]]; then
+ # when moving around libiconv, the prefix' coreutils will
+ # be damaged, so we really need to use the systems ones.
+ /bin/cp -p "${1}" "${1}.new" || failed=1
+ /bin/mv "${1}" "${2}" || failed=1
+ /bin/mv "${1}.new" "${1}" || failed=1
+ else
+ my_mv=mv
+
+ [[ "${1}" == */mv ]] && my_mv="${1}.new"
+ [[ -f "${1}.new" ]] && rm -f "${1}.new"
+
+ cp -p "${1}" "${1}.new" || failed=1
+ ${my_mv} "${1}" "${2}" || failed=1
+ ${my_mv} "${1}.new" "${1}" || failed=1
+ fi
+
+ echo $failed
+}
+
+post_pkg_preinst() {
+ local removedlist="${EROOT}var/lib/portage/files2bremoved"
+ interix_cleanup_removed_files $removedlist
+
+ # now go for current package
+ cd "${D}"
+ find ".${EROOT}" -type f | while read f;
+ do
+ /usr/bin/file "${f}" | grep ' PE ' > /dev/null || continue
+
+ f=${f#./} # find prints: "./path/to/file"
+ f=${f%:} # file prints: "file-argument: type-of-file"
+ test -r "${ROOT}${f}" || continue
+ rmstem="${f}.removedbyportage"
+ # keep list of old busy text files unique
+ grep -Fx "${rmstem}" "${removedlist}" >/dev/null \
+ || echo "${rmstem}" >> "${removedlist}"
+
+ local n=$(interix_find_removed_slot ${ROOT}${rmstem})
+ ebegin "preparing ${ROOT}${f} for merge (${n})"
+ eend $(interix_prepare_file "${ROOT}${f}" "${ROOT}${rmstem}${n}")
+ done
+}
+
+post_pkg_prerm() {
+ local removedlist="${EROOT}var/lib/portage/files2bremoved"
+ save_IFS=$IFS
+ IFS='
+';
+ local MY_PR=${PR}
+ [[ ${MY_PR} == r0 ]] && MY_PR=
+ local -a contents=($(<"${EROOT}var/db/pkg/${CATEGORY}/${P}${MY_PR:+-}${MY_PR}/CONTENTS"));
+ IFS=$save_IFS
+ local -a cont
+ for content in "${contents[@]}"; do
+ cont=($content)
+ f=${cont[1]}
+ f=${f#/}
+
+ test -r "${ROOT}${f}" || continue
+
+ if /usr/bin/file "${ROOT}${f}" | grep ' PE ' > /dev/null; then
+ # $f should be an absolute path to the installed file
+ rmstem="${f}.removedbyportage"
+
+ grep "^${rmstem}$" "${removedlist}" > /dev/null \
+ || echo "${rmstem}" >> "${removedlist}"
+
+ local n=$(interix_find_removed_slot ${ROOT}${rmstem})
+ ebegin "preparing ${ROOT}${f} for unmerge ($n)"
+ eend $(interix_prepare_file "${ROOT}${f}" "${ROOT}${rmstem}${n}")
+ fi
+ done
+}
+
+pre_pkg_postrm() {
+ local removedlist="${EROOT}var/lib/portage/files2bremoved"
+ interix_cleanup_removed_files $removedlist
+}
diff --git a/profiles/prefix/windows/interix/use.force b/profiles/prefix/windows/interix/use.force
new file mode 100644
index 00000000000..5ebe28a4893
--- /dev/null
+++ b/profiles/prefix/windows/interix/use.force
@@ -0,0 +1,6 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+# Re-add Interix libc
+elibc_Interix
diff --git a/profiles/prefix/windows/interix/use.mask b/profiles/prefix/windows/interix/use.mask
new file mode 100644
index 00000000000..08c2c734b58
--- /dev/null
+++ b/profiles/prefix/windows/interix/use.mask
@@ -0,0 +1,88 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+# Re-add Interix libc
+-elibc_Interix
+
+# these will more than likely never work on Interix
+3dfx
+acpi
+alsa
+altivec
+apm
+bluetooth
+cap
+caps
+cdr
+coreaudio
+dga
+directfb
+divx4linux
+djbfft
+dri
+dvdr
+# missing implementation for unexec()
+emacs
+xemacs
+fbcon
+fdftk
+fmod
+ggi
+glut
+gpm
+gps
+hardened
+hddtemp
+ibm
+icc
+icc-pgo
+ieee1394
+ifc
+ipod
+ipv6
+java
+lm_sensors
+matrox
+netboot
+old-linux
+# requires device-mapper
+on-the-fly-crypt
+opengl
+oss
+pam
+pcmcia
+pda
+rtc
+selinux
+scanner
+smartcard
+svga
+uclibc
+# totally b0rked on interix
+unicode
+usb
+voodoo3
+pvm
+v4l
+wifi
+
+# these are USE flags that don't _currently_ work, but may will in the future.
+ffmpeg
+fftw
+flac
+jack
+joystick
+kerberos
+ladspa
+libedit
+# bug #310007
+multitarget
+# not working yet on interix
+openmp
+portaudio
+pulseaudio
+qt4
+# libtiff only static, so avoid this!
+tiff
+timidity
diff --git a/profiles/prefix/windows/parent b/profiles/prefix/windows/parent
new file mode 100644
index 00000000000..f3229c5b987
--- /dev/null
+++ b/profiles/prefix/windows/parent
@@ -0,0 +1 @@
+..
diff --git a/profiles/prefix/windows/use.force b/profiles/prefix/windows/use.force
new file mode 100644
index 00000000000..c6bc648273d
--- /dev/null
+++ b/profiles/prefix/windows/use.force
@@ -0,0 +1,6 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+# Re-add Windows kernel
+kernel_Winnt
diff --git a/profiles/prefix/windows/use.mask b/profiles/prefix/windows/use.mask
new file mode 100644
index 00000000000..78e4807fe67
--- /dev/null
+++ b/profiles/prefix/windows/use.mask
@@ -0,0 +1,6 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+# Re-add Windows kernel
+-kernel_Winnt
diff --git a/profiles/prefix/windows/winnt/3.5/eapi b/profiles/prefix/windows/winnt/3.5/eapi
new file mode 100644
index 00000000000..7ed6ff82de6
--- /dev/null
+++ b/profiles/prefix/windows/winnt/3.5/eapi
@@ -0,0 +1 @@
+5
diff --git a/profiles/prefix/windows/winnt/3.5/package.provided b/profiles/prefix/windows/winnt/3.5/package.provided
new file mode 100644
index 00000000000..ddf2f80cf5a
--- /dev/null
+++ b/profiles/prefix/windows/winnt/3.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-winnt/libc-3.5
diff --git a/profiles/prefix/windows/winnt/3.5/parent b/profiles/prefix/windows/winnt/3.5/parent
new file mode 100644
index 00000000000..f3229c5b987
--- /dev/null
+++ b/profiles/prefix/windows/winnt/3.5/parent
@@ -0,0 +1 @@
+..
diff --git a/profiles/prefix/windows/winnt/3.5/x86/eapi b/profiles/prefix/windows/winnt/3.5/x86/eapi
new file mode 100644
index 00000000000..7ed6ff82de6
--- /dev/null
+++ b/profiles/prefix/windows/winnt/3.5/x86/eapi
@@ -0,0 +1 @@
+5
diff --git a/profiles/prefix/windows/winnt/3.5/x86/make.defaults b/profiles/prefix/windows/winnt/3.5/x86/make.defaults
new file mode 100644
index 00000000000..fa0e46ca55d
--- /dev/null
+++ b/profiles/prefix/windows/winnt/3.5/x86/make.defaults
@@ -0,0 +1,7 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+ARCH="x86-winnt"
+CHOST="i586-pc-winnt3.5"
+ACCEPT_KEYWORDS="~x86-winnt"
diff --git a/profiles/prefix/windows/winnt/3.5/x86/parent b/profiles/prefix/windows/winnt/3.5/x86/parent
new file mode 100644
index 00000000000..f3229c5b987
--- /dev/null
+++ b/profiles/prefix/windows/winnt/3.5/x86/parent
@@ -0,0 +1 @@
+..
diff --git a/profiles/prefix/windows/winnt/5.2/eapi b/profiles/prefix/windows/winnt/5.2/eapi
new file mode 100644
index 00000000000..7ed6ff82de6
--- /dev/null
+++ b/profiles/prefix/windows/winnt/5.2/eapi
@@ -0,0 +1 @@
+5
diff --git a/profiles/prefix/windows/winnt/5.2/package.provided b/profiles/prefix/windows/winnt/5.2/package.provided
new file mode 100644
index 00000000000..02208204e37
--- /dev/null
+++ b/profiles/prefix/windows/winnt/5.2/package.provided
@@ -0,0 +1,5 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+sys-winnt/libc-5.2
diff --git a/profiles/prefix/windows/winnt/5.2/parent b/profiles/prefix/windows/winnt/5.2/parent
new file mode 100644
index 00000000000..f3229c5b987
--- /dev/null
+++ b/profiles/prefix/windows/winnt/5.2/parent
@@ -0,0 +1 @@
+..
diff --git a/profiles/prefix/windows/winnt/5.2/x86/eapi b/profiles/prefix/windows/winnt/5.2/x86/eapi
new file mode 100644
index 00000000000..7ed6ff82de6
--- /dev/null
+++ b/profiles/prefix/windows/winnt/5.2/x86/eapi
@@ -0,0 +1 @@
+5
diff --git a/profiles/prefix/windows/winnt/5.2/x86/make.defaults b/profiles/prefix/windows/winnt/5.2/x86/make.defaults
new file mode 100644
index 00000000000..92163f9c98a
--- /dev/null
+++ b/profiles/prefix/windows/winnt/5.2/x86/make.defaults
@@ -0,0 +1,7 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+ARCH="x86-winnt"
+CHOST="i586-pc-winnt5.2"
+ACCEPT_KEYWORDS="~x86-winnt"
diff --git a/profiles/prefix/windows/winnt/5.2/x86/parent b/profiles/prefix/windows/winnt/5.2/x86/parent
new file mode 100644
index 00000000000..f3229c5b987
--- /dev/null
+++ b/profiles/prefix/windows/winnt/5.2/x86/parent
@@ -0,0 +1 @@
+..
diff --git a/profiles/prefix/windows/winnt/6.0/eapi b/profiles/prefix/windows/winnt/6.0/eapi
new file mode 100644
index 00000000000..7ed6ff82de6
--- /dev/null
+++ b/profiles/prefix/windows/winnt/6.0/eapi
@@ -0,0 +1 @@
+5
diff --git a/profiles/prefix/windows/winnt/6.0/package.provided b/profiles/prefix/windows/winnt/6.0/package.provided
new file mode 100644
index 00000000000..3ee2b175f90
--- /dev/null
+++ b/profiles/prefix/windows/winnt/6.0/package.provided
@@ -0,0 +1,5 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+sys-winnt/libc-6.0
diff --git a/profiles/prefix/windows/winnt/6.0/parent b/profiles/prefix/windows/winnt/6.0/parent
new file mode 100644
index 00000000000..f3229c5b987
--- /dev/null
+++ b/profiles/prefix/windows/winnt/6.0/parent
@@ -0,0 +1 @@
+..
diff --git a/profiles/prefix/windows/winnt/6.0/x86/eapi b/profiles/prefix/windows/winnt/6.0/x86/eapi
new file mode 100644
index 00000000000..7ed6ff82de6
--- /dev/null
+++ b/profiles/prefix/windows/winnt/6.0/x86/eapi
@@ -0,0 +1 @@
+5
diff --git a/profiles/prefix/windows/winnt/6.0/x86/make.defaults b/profiles/prefix/windows/winnt/6.0/x86/make.defaults
new file mode 100644
index 00000000000..6dae2c2f444
--- /dev/null
+++ b/profiles/prefix/windows/winnt/6.0/x86/make.defaults
@@ -0,0 +1,7 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+ARCH="x86-winnt"
+CHOST="i586-pc-winnt6.0"
+ACCEPT_KEYWORDS="~x86-winnt"
diff --git a/profiles/prefix/windows/winnt/6.0/x86/parent b/profiles/prefix/windows/winnt/6.0/x86/parent
new file mode 100644
index 00000000000..f3229c5b987
--- /dev/null
+++ b/profiles/prefix/windows/winnt/6.0/x86/parent
@@ -0,0 +1 @@
+..
diff --git a/profiles/prefix/windows/winnt/6.1/eapi b/profiles/prefix/windows/winnt/6.1/eapi
new file mode 100644
index 00000000000..7ed6ff82de6
--- /dev/null
+++ b/profiles/prefix/windows/winnt/6.1/eapi
@@ -0,0 +1 @@
+5
diff --git a/profiles/prefix/windows/winnt/6.1/package.provided b/profiles/prefix/windows/winnt/6.1/package.provided
new file mode 100644
index 00000000000..0c60fba866d
--- /dev/null
+++ b/profiles/prefix/windows/winnt/6.1/package.provided
@@ -0,0 +1,5 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+sys-winnt/libc-6.1
diff --git a/profiles/prefix/windows/winnt/6.1/parent b/profiles/prefix/windows/winnt/6.1/parent
new file mode 100644
index 00000000000..f3229c5b987
--- /dev/null
+++ b/profiles/prefix/windows/winnt/6.1/parent
@@ -0,0 +1 @@
+..
diff --git a/profiles/prefix/windows/winnt/6.1/x86/eapi b/profiles/prefix/windows/winnt/6.1/x86/eapi
new file mode 100644
index 00000000000..7ed6ff82de6
--- /dev/null
+++ b/profiles/prefix/windows/winnt/6.1/x86/eapi
@@ -0,0 +1 @@
+5
diff --git a/profiles/prefix/windows/winnt/6.1/x86/make.defaults b/profiles/prefix/windows/winnt/6.1/x86/make.defaults
new file mode 100644
index 00000000000..9bd5ffc0c08
--- /dev/null
+++ b/profiles/prefix/windows/winnt/6.1/x86/make.defaults
@@ -0,0 +1,7 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+ARCH="x86-winnt"
+CHOST="i586-pc-winnt6.1"
+ACCEPT_KEYWORDS="~x86-winnt"
diff --git a/profiles/prefix/windows/winnt/6.1/x86/parent b/profiles/prefix/windows/winnt/6.1/x86/parent
new file mode 100644
index 00000000000..f3229c5b987
--- /dev/null
+++ b/profiles/prefix/windows/winnt/6.1/x86/parent
@@ -0,0 +1 @@
+..
diff --git a/profiles/prefix/windows/winnt/eapi b/profiles/prefix/windows/winnt/eapi
new file mode 100644
index 00000000000..7ed6ff82de6
--- /dev/null
+++ b/profiles/prefix/windows/winnt/eapi
@@ -0,0 +1 @@
+5
diff --git a/profiles/prefix/windows/winnt/make.defaults b/profiles/prefix/windows/winnt/make.defaults
new file mode 100644
index 00000000000..53510f55b0d
--- /dev/null
+++ b/profiles/prefix/windows/winnt/make.defaults
@@ -0,0 +1,11 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+# System-wide defaults for all Windows profiles
+# This file should rarely need to be changed
+
+# 'Sane' defaults
+ELIBC="Winnt"
+
+FEATURES="nostrip"
diff --git a/profiles/prefix/windows/winnt/package.mask b/profiles/prefix/windows/winnt/package.mask
new file mode 100644
index 00000000000..85faba2830c
--- /dev/null
+++ b/profiles/prefix/windows/winnt/package.mask
@@ -0,0 +1,10 @@
+
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+# $Id$
+
+# Markus Duft <mduft@gentoo.org> (30 Sep 2009)
+# the patch does not currently apply, and needs some work.
+>=x11-proto/xproto-7.0.16
+
diff --git a/profiles/prefix/windows/winnt/packages b/profiles/prefix/windows/winnt/packages
new file mode 100644
index 00000000000..7a98792b4cd
--- /dev/null
+++ b/profiles/prefix/windows/winnt/packages
@@ -0,0 +1,38 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+# those are packages not available/required on winnt, since
+# winnt can be a child EPREFIX only, which tears it's DEPENDS
+# from a parent (e.g. x86-interix) prefix.
+
+-*sys-apps/grep
+-*app-arch/gzip
+-*sys-devel/libtool
+-*virtual/man
+-*sys-devel/patch
+-*sys-devel/flex
+-*sys-apps/gawk
+-*app-arch/tar
+-*sys-apps/sed
+-*sys-devel/bison
+-*sys-apps/file
+-*app-arch/bzip2
+-*net-misc/rsync
+-*sys-devel/automake
+-*virtual/editor
+-*sys-apps/coreutils
+-*sys-devel/make
+-*sys-apps/findutils
+-*sys-devel/m4
+-*net-misc/wget
+-*sys-apps/which
+-*virtual/pager
+-*sys-apps/diffutils
+-*sys-apps/baselayout-prefix
+-*app-shells/bash
+-*virtual/package-manager
+-*virtual/ssh
+-*sys-devel/autoconf
+-*sys-devel/gnuconfig
+-*sys-devel/gcc
diff --git a/profiles/prefix/windows/winnt/parent b/profiles/prefix/windows/winnt/parent
new file mode 100644
index 00000000000..f3229c5b987
--- /dev/null
+++ b/profiles/prefix/windows/winnt/parent
@@ -0,0 +1 @@
+..
diff --git a/profiles/prefix/windows/winnt/profile.bashrc b/profiles/prefix/windows/winnt/profile.bashrc
new file mode 100644
index 00000000000..5b818e40290
--- /dev/null
+++ b/profiles/prefix/windows/winnt/profile.bashrc
@@ -0,0 +1,152 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+# On windows, binary files (executables, shared libraries) in use
+# cannot be replaced during merge.
+# But it is possible to rename them and remove lateron when they are
+# not used any more by any running program.
+#
+# This is a workaround for portage bug#199868,
+# and should be dropped once portage does sth. like this itself.
+#
+
+# Need to explicitly set PKG_CONFIG_PATH for cross EPREFIX.
+export PKG_CONFIG_PATH="${EPREFIX}/lib/pkgconfig:${EPREFIX}/usr/lib/pkgconfig"
+
+windows_cleanup_removed_files() {
+ local removedlist=$1
+ rm -f "${removedlist}".new
+
+ if [[ -r ${removedlist} ]]; then
+ rm -f "${removedlist}".old
+ fi
+ # restore in case of system fault
+ if [[ -r ${removedlist}.old ]]; then
+ mv "${removedlist}"{.old,}
+ fi
+
+ touch "${removedlist}"{,.new} # ensure they exist
+
+ while read rmstem; do
+ # try to remove previously recorded files
+ for f in "${ROOT}${rmstem}"*; do
+ ebegin "trying to remove ${f}"
+ rm -f "${f}" > /dev/null 2>&1
+ eend $?
+ done
+ # but keep it in list if still exists
+ for f in "${ROOT}${rmstem}"*; do
+ [[ -f ${f} ]] && echo "${rmstem}" >> "${removedlist}".new
+ break
+ done
+ done < "${removedlist}"
+
+ # update the list
+ mv "${removedlist}"{,.old}
+ mv "${removedlist}"{.new,}
+ rm "${removedlist}".old
+}
+
+windows_find_removed_slot() {
+ local f=$1
+ local n=0
+ while [[ ${n} -lt 100 && -f "${f}${n}" ]]; do
+ n=$((n=n+1))
+ done
+
+ if [[ ${n} -ge 100 ]]; then
+ echo "too many (>=100) old text files busy of '${f}'" >&2
+ exit 1
+ fi
+
+ echo $n
+}
+
+windows_prepare_file() {
+ local failed=0
+ my_mv=mv
+
+ [[ "${1}" == */mv ]] && my_mv="${1}.new"
+ [[ -f "${1}.new" ]] && rm -f "${1}.new"
+
+ cp -p "${1}" "${1}.new" || failed=1
+ ${my_mv} "${1}" "${2}" || failed=1
+ ${my_mv} "${1}.new" "${1}" || failed=1
+
+ echo $failed
+}
+
+post_src_install() {
+ cd "${ED}"
+ find . -name '*.exe' | while read f; do
+ if file "${f}" | grep "GUI" > /dev/null 2>&1; then
+ if test ! -f "${f%.exe}"; then
+ einfo "Windows GUI Executable $f will have no symlink."
+ fi
+ else
+ if test ! -f "${f%.exe}"; then
+ ebegin "creating ${f%.exe} -> ${f} for console accessibility."
+ eend $(ln -sf "$(basename "${f}")" "${f%.exe}" && echo 0 || echo 1)
+ fi
+ fi
+ done
+}
+
+post_pkg_preinst() {
+ local removedlist="${EROOT}var/lib/portage/files2bremoved"
+ windows_cleanup_removed_files $removedlist
+
+ # now go for current package
+ cd "${D}"
+ find ".${EROOT}" -type f | xargs -r /usr/bin/file | grep ' PE ' | while read f t
+ do
+ f=${f#./} # find prints: "./path/to/file"
+ f=${f%:} # file prints: "file-argument: type-of-file"
+ test -r "${ROOT}${f}" || continue
+ rmstem="${f}.removedbyportage"
+ # keep list of old busy text files unique
+ grep "^${rmstem}$" "${removedlist}" >/dev/null \
+ || echo "${rmstem}" >> "${removedlist}"
+
+ local n=$(windows_find_removed_slot ${ROOT}${rmstem})
+ ebegin "backing up text file ${ROOT}${f} (${n})"
+ eend $(windows_prepare_file "${ROOT}${f}" "${ROOT}${rmstem}${n}")
+ done
+}
+
+post_pkg_prerm() {
+ local removedlist="${EROOT}var/lib/portage/files2bremoved"
+ save_IFS=$IFS
+ IFS='
+';
+ local MY_PR=${PR}
+ [[ ${MY_PR} == r0 ]] && MY_PR=
+ local -a contents=($(<"${EROOT}var/db/pkg/${CATEGORY}/${P}${MY_PR:+-}${MY_PR}/CONTENTS"));
+ IFS=$save_IFS
+ local -a cont
+ for content in "${contents[@]}"; do
+ cont=($content)
+ f=${cont[1]}
+ f=${f#/}
+
+ test -r "${ROOT}${f}" || continue
+
+ if /usr/bin/file "${ROOT}${f}" | grep ' PE ' > /dev/null; then
+ # $f should be an absolute path to the installed file
+ rmstem="${f}.removedbyportage"
+
+ grep "^${rmstem}$" "${removedlist}" > /dev/null \
+ || echo "${rmstem}" >> "${removedlist}"
+
+ local n=$(windows_find_removed_slot ${ROOT}${rmstem})
+ ebegin "preparing ${ROOT}${f} for unmerge ($n)"
+ eend $(windows_prepare_file "${ROOT}${f}" "${ROOT}${rmstem}${n}")
+ fi
+ done
+}
+
+pre_pkg_postrm() {
+ local removedlist="${EROOT}var/lib/portage/files2bremoved"
+ windows_cleanup_removed_files $removedlist
+}
diff --git a/profiles/prefix/windows/winnt/use.force b/profiles/prefix/windows/winnt/use.force
new file mode 100644
index 00000000000..98c050e7bdb
--- /dev/null
+++ b/profiles/prefix/windows/winnt/use.force
@@ -0,0 +1,6 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+# Re-add Winnt libc
+elibc_Winnt
diff --git a/profiles/prefix/windows/winnt/use.mask b/profiles/prefix/windows/winnt/use.mask
new file mode 100644
index 00000000000..c40ffd57589
--- /dev/null
+++ b/profiles/prefix/windows/winnt/use.mask
@@ -0,0 +1,87 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+# Re-add Winnt libc
+-elibc_Winnt
+
+# CURL_SSL=winssl is allowd on Winnt libc
+-curl_ssl_winssl
+
+# these need a review, since they are just copied from interix
+# these will more than likely never work on Windows
+3dfx
+acpi
+alsa
+altivec
+apm
+bluetooth
+cap
+caps
+cdr
+coreaudio
+dga
+directfb
+divx4linux
+djbfft
+dri
+dvdr
+# emacs USE flag is masked because of missing implementation for unexec()
+emacs
+fbcon
+fdftk
+fmod
+ggi
+glut
+gpm
+gps
+hardened
+hddtemp
+ibm
+icc
+icc-pgo
+ieee1394
+ifc
+ipod
+ipv6
+lm_sensors
+matrox
+ncurses
+netboot
+old-linux
+# the following USE flag requires device-mapper
+on-the-fly-crypt
+opengl
+oss
+pcmcia
+pda
+rtc
+selinux
+scanner
+smartcard
+svga
+uclibc
+# unicode is totally b0rked on interix
+unicode
+usb
+voodoo3
+pvm
+v4l
+wifi
+
+# these are USE flags that don't _currently_ work, but may will in the future.
+ffmpeg
+fftw
+flac
+jack
+joystick
+ladspa
+# opennmp is not working yet on interix
+openmp
+portaudio
+pulseaudio
+qt4
+readline
+# libtiff only static, so avoid the tiff USE flag!
+tiff
+timidity