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/arch
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/arch')
-rw-r--r--profiles/arch/alpha/eapi1
-rw-r--r--profiles/arch/alpha/make.defaults30
-rw-r--r--profiles/arch/alpha/package.mask59
-rw-r--r--profiles/arch/alpha/package.use7
-rw-r--r--profiles/arch/alpha/package.use.force12
-rw-r--r--profiles/arch/alpha/package.use.mask311
-rw-r--r--profiles/arch/alpha/package.use.stable.mask35
-rw-r--r--profiles/arch/alpha/parent1
-rw-r--r--profiles/arch/alpha/use.force2
-rw-r--r--profiles/arch/alpha/use.mask240
-rw-r--r--profiles/arch/alpha/use.stable.mask22
-rw-r--r--profiles/arch/amd64-fbsd/clang/eapi1
-rw-r--r--profiles/arch/amd64-fbsd/clang/make.defaults8
-rw-r--r--profiles/arch/amd64-fbsd/clang/package.use.force17
-rw-r--r--profiles/arch/amd64-fbsd/clang/package.use.mask16
-rw-r--r--profiles/arch/amd64-fbsd/clang/packages10
-rw-r--r--profiles/arch/amd64-fbsd/clang/packages.build10
-rw-r--r--profiles/arch/amd64-fbsd/clang/parent1
-rw-r--r--profiles/arch/amd64-fbsd/clang/profile.bashrc8
-rw-r--r--profiles/arch/amd64-fbsd/eapi1
-rw-r--r--profiles/arch/amd64-fbsd/make.defaults48
-rw-r--r--profiles/arch/amd64-fbsd/package.mask31
-rw-r--r--profiles/arch/amd64-fbsd/package.use.force4
-rw-r--r--profiles/arch/amd64-fbsd/package.use.mask47
-rw-r--r--profiles/arch/amd64-fbsd/parent3
-rw-r--r--profiles/arch/amd64-fbsd/todo/eapi1
-rw-r--r--profiles/arch/amd64-fbsd/todo/package.use.force5
-rw-r--r--profiles/arch/amd64-fbsd/todo/package.use.mask221
-rw-r--r--profiles/arch/amd64-fbsd/use.force5
-rw-r--r--profiles/arch/amd64-fbsd/use.mask71
-rw-r--r--profiles/arch/amd64/eapi1
-rw-r--r--profiles/arch/amd64/make.defaults61
-rw-r--r--profiles/arch/amd64/no-multilib/eapi1
-rw-r--r--profiles/arch/amd64/no-multilib/make.defaults9
-rw-r--r--profiles/arch/amd64/no-multilib/package.mask162
-rw-r--r--profiles/arch/amd64/no-multilib/package.use.force7
-rw-r--r--profiles/arch/amd64/no-multilib/package.use.mask18
-rw-r--r--profiles/arch/amd64/no-multilib/parent1
-rw-r--r--profiles/arch/amd64/no-multilib/use.mask25
-rw-r--r--profiles/arch/amd64/package.use17
-rw-r--r--profiles/arch/amd64/package.use.force21
-rw-r--r--profiles/arch/amd64/package.use.mask326
-rw-r--r--profiles/arch/amd64/package.use.stable.mask61
-rw-r--r--profiles/arch/amd64/parent2
-rw-r--r--profiles/arch/amd64/use.force6
-rw-r--r--profiles/arch/amd64/use.mask231
-rw-r--r--profiles/arch/amd64/use.stable.mask22
-rw-r--r--profiles/arch/amd64/x32/eapi1
-rw-r--r--profiles/arch/amd64/x32/make.defaults20
-rw-r--r--profiles/arch/amd64/x32/package.mask9
-rw-r--r--profiles/arch/amd64/x32/package.use.mask14
-rw-r--r--profiles/arch/amd64/x32/parent2
-rw-r--r--profiles/arch/amd64/x32/use.force5
-rw-r--r--profiles/arch/amd64/x32/use.mask7
-rw-r--r--profiles/arch/arm/armv4/eapi1
-rw-r--r--profiles/arch/arm/armv4/make.defaults5
-rw-r--r--profiles/arch/arm/armv4/parent1
-rw-r--r--profiles/arch/arm/armv4t/eapi1
-rw-r--r--profiles/arch/arm/armv4t/make.defaults5
-rw-r--r--profiles/arch/arm/armv4t/parent1
-rw-r--r--profiles/arch/arm/armv5te/eapi1
-rw-r--r--profiles/arch/arm/armv5te/make.defaults5
-rw-r--r--profiles/arch/arm/armv5te/parent1
-rw-r--r--profiles/arch/arm/armv5te/use.mask2
-rw-r--r--profiles/arch/arm/armv6j/eapi1
-rw-r--r--profiles/arch/arm/armv6j/make.defaults5
-rw-r--r--profiles/arch/arm/armv6j/parent1
-rw-r--r--profiles/arch/arm/armv6j/use.mask4
-rw-r--r--profiles/arch/arm/armv7a/eapi1
-rw-r--r--profiles/arch/arm/armv7a/make.defaults5
-rw-r--r--profiles/arch/arm/armv7a/package.mask7
-rw-r--r--profiles/arch/arm/armv7a/package.use.mask12
-rw-r--r--profiles/arch/arm/armv7a/parent1
-rw-r--r--profiles/arch/arm/armv7a/use.force4
-rw-r--r--profiles/arch/arm/armv7a/use.mask6
-rw-r--r--profiles/arch/arm/eapi1
-rw-r--r--profiles/arch/arm/make.defaults20
-rw-r--r--profiles/arch/arm/package.mask12
-rw-r--r--profiles/arch/arm/package.use7
-rw-r--r--profiles/arch/arm/package.use.force8
-rw-r--r--profiles/arch/arm/package.use.mask483
-rw-r--r--profiles/arch/arm/package.use.stable.mask28
-rw-r--r--profiles/arch/arm/parent1
-rw-r--r--profiles/arch/arm/use.force2
-rw-r--r--profiles/arch/arm/use.mask253
-rw-r--r--profiles/arch/arm/use.stable.mask19
-rw-r--r--profiles/arch/arm64/big-endian/eapi1
-rw-r--r--profiles/arch/arm64/big-endian/make.defaults4
-rw-r--r--profiles/arch/arm64/big-endian/parent1
-rw-r--r--profiles/arch/arm64/eapi1
-rw-r--r--profiles/arch/arm64/little-endian/eapi1
-rw-r--r--profiles/arch/arm64/little-endian/make.defaults4
-rw-r--r--profiles/arch/arm64/little-endian/parent1
-rw-r--r--profiles/arch/arm64/make.defaults16
-rw-r--r--profiles/arch/arm64/package.use.force7
-rw-r--r--profiles/arch/arm64/package.use.mask306
-rw-r--r--profiles/arch/arm64/parent2
-rw-r--r--profiles/arch/arm64/use.force2
-rw-r--r--profiles/arch/arm64/use.mask240
-rw-r--r--profiles/arch/base/eapi1
-rw-r--r--profiles/arch/base/use.mask19
-rw-r--r--profiles/arch/hppa/eapi1
-rw-r--r--profiles/arch/hppa/make.defaults27
-rw-r--r--profiles/arch/hppa/package.use.force9
-rw-r--r--profiles/arch/hppa/package.use.mask177
-rw-r--r--profiles/arch/hppa/package.use.stable.mask12
-rw-r--r--profiles/arch/hppa/packages5
-rw-r--r--profiles/arch/hppa/parent1
-rw-r--r--profiles/arch/hppa/use.force2
-rw-r--r--profiles/arch/hppa/use.mask357
-rw-r--r--profiles/arch/ia64/eapi1
-rw-r--r--profiles/arch/ia64/make.defaults29
-rw-r--r--profiles/arch/ia64/package.mask132
-rw-r--r--profiles/arch/ia64/package.use7
-rw-r--r--profiles/arch/ia64/package.use.force12
-rw-r--r--profiles/arch/ia64/package.use.mask271
-rw-r--r--profiles/arch/ia64/package.use.stable.mask27
-rw-r--r--profiles/arch/ia64/parent1
-rw-r--r--profiles/arch/ia64/use.force2
-rw-r--r--profiles/arch/ia64/use.mask272
-rw-r--r--profiles/arch/ia64/use.stable.mask25
-rw-r--r--profiles/arch/m68k/eapi1
-rw-r--r--profiles/arch/m68k/make.defaults24
-rw-r--r--profiles/arch/m68k/package.use.force14
-rw-r--r--profiles/arch/m68k/package.use.mask34
-rw-r--r--profiles/arch/m68k/packages5
-rw-r--r--profiles/arch/m68k/parent1
-rw-r--r--profiles/arch/m68k/use.force2
-rw-r--r--profiles/arch/m68k/use.mask97
-rw-r--r--profiles/arch/mips/eapi1
-rw-r--r--profiles/arch/mips/make.defaults22
-rw-r--r--profiles/arch/mips/mips64/eapi1
-rw-r--r--profiles/arch/mips/mips64/make.defaults7
-rw-r--r--profiles/arch/mips/mips64/multilib/eapi1
-rw-r--r--profiles/arch/mips/mips64/multilib/make.defaults24
-rw-r--r--profiles/arch/mips/mips64/multilib/n32/eapi1
-rw-r--r--profiles/arch/mips/mips64/multilib/n32/make.defaults13
-rw-r--r--profiles/arch/mips/mips64/multilib/n32/parent1
-rw-r--r--profiles/arch/mips/mips64/multilib/n32/use.force5
-rw-r--r--profiles/arch/mips/mips64/multilib/n64/eapi1
-rw-r--r--profiles/arch/mips/mips64/multilib/n64/make.defaults13
-rw-r--r--profiles/arch/mips/mips64/multilib/n64/parent1
-rw-r--r--profiles/arch/mips/mips64/multilib/n64/use.force5
-rw-r--r--profiles/arch/mips/mips64/multilib/o32/eapi1
-rw-r--r--profiles/arch/mips/mips64/multilib/o32/make.defaults13
-rw-r--r--profiles/arch/mips/mips64/multilib/o32/parent1
-rw-r--r--profiles/arch/mips/mips64/multilib/o32/use.force5
-rw-r--r--profiles/arch/mips/mips64/multilib/parent2
-rw-r--r--profiles/arch/mips/mips64/multilib/use.force5
-rw-r--r--profiles/arch/mips/mips64/multilib/use.mask9
-rw-r--r--profiles/arch/mips/mips64/n32/eapi1
-rw-r--r--profiles/arch/mips/mips64/n32/make.defaults15
-rw-r--r--profiles/arch/mips/mips64/n32/parent1
-rw-r--r--profiles/arch/mips/mips64/n32/use.force5
-rw-r--r--profiles/arch/mips/mips64/n32/use.mask5
-rw-r--r--profiles/arch/mips/mips64/n64/eapi1
-rw-r--r--profiles/arch/mips/mips64/n64/make.defaults15
-rw-r--r--profiles/arch/mips/mips64/n64/parent1
-rw-r--r--profiles/arch/mips/mips64/n64/use.force5
-rw-r--r--profiles/arch/mips/mips64/n64/use.mask5
-rw-r--r--profiles/arch/mips/mips64/parent1
-rw-r--r--profiles/arch/mips/mipsel/mips64el/eapi1
-rw-r--r--profiles/arch/mips/mipsel/mips64el/make.defaults9
-rw-r--r--profiles/arch/mips/mipsel/mips64el/multilib/eapi1
-rw-r--r--profiles/arch/mips/mipsel/mips64el/multilib/make.defaults24
-rw-r--r--profiles/arch/mips/mipsel/mips64el/multilib/n32/eapi1
-rw-r--r--profiles/arch/mips/mipsel/mips64el/multilib/n32/make.defaults13
-rw-r--r--profiles/arch/mips/mipsel/mips64el/multilib/n32/parent1
-rw-r--r--profiles/arch/mips/mipsel/mips64el/multilib/n32/use.force5
-rw-r--r--profiles/arch/mips/mipsel/mips64el/multilib/n64/eapi1
-rw-r--r--profiles/arch/mips/mipsel/mips64el/multilib/n64/make.defaults13
-rw-r--r--profiles/arch/mips/mipsel/mips64el/multilib/n64/parent1
-rw-r--r--profiles/arch/mips/mipsel/mips64el/multilib/n64/use.force5
-rw-r--r--profiles/arch/mips/mipsel/mips64el/multilib/o32/eapi1
-rw-r--r--profiles/arch/mips/mipsel/mips64el/multilib/o32/make.defaults13
-rw-r--r--profiles/arch/mips/mipsel/mips64el/multilib/o32/parent1
-rw-r--r--profiles/arch/mips/mipsel/mips64el/multilib/o32/use.force5
-rw-r--r--profiles/arch/mips/mipsel/mips64el/multilib/parent2
-rw-r--r--profiles/arch/mips/mipsel/mips64el/multilib/use.force5
-rw-r--r--profiles/arch/mips/mipsel/mips64el/multilib/use.mask9
-rw-r--r--profiles/arch/mips/mipsel/mips64el/n32/eapi1
-rw-r--r--profiles/arch/mips/mipsel/mips64el/n32/make.defaults15
-rw-r--r--profiles/arch/mips/mipsel/mips64el/n32/parent1
-rw-r--r--profiles/arch/mips/mipsel/mips64el/n32/use.force5
-rw-r--r--profiles/arch/mips/mipsel/mips64el/n32/use.mask5
-rw-r--r--profiles/arch/mips/mipsel/mips64el/n64/eapi1
-rw-r--r--profiles/arch/mips/mipsel/mips64el/n64/make.defaults15
-rw-r--r--profiles/arch/mips/mipsel/mips64el/n64/parent1
-rw-r--r--profiles/arch/mips/mipsel/mips64el/n64/use.force5
-rw-r--r--profiles/arch/mips/mipsel/mips64el/n64/use.mask5
-rw-r--r--profiles/arch/mips/mipsel/mips64el/parent1
-rw-r--r--profiles/arch/mips/mipsel/o32/eapi1
-rw-r--r--profiles/arch/mips/mipsel/o32/make.defaults15
-rw-r--r--profiles/arch/mips/mipsel/o32/parent1
-rw-r--r--profiles/arch/mips/mipsel/o32/use.force5
-rw-r--r--profiles/arch/mips/mipsel/o32/use.mask5
-rw-r--r--profiles/arch/mips/mipsel/parent1
-rw-r--r--profiles/arch/mips/o32/eapi1
-rw-r--r--profiles/arch/mips/o32/make.defaults15
-rw-r--r--profiles/arch/mips/o32/parent1
-rw-r--r--profiles/arch/mips/o32/use.force5
-rw-r--r--profiles/arch/mips/o32/use.mask5
-rw-r--r--profiles/arch/mips/package.mask56
-rw-r--r--profiles/arch/mips/package.use.force13
-rw-r--r--profiles/arch/mips/package.use.mask124
-rw-r--r--profiles/arch/mips/parent1
-rw-r--r--profiles/arch/mips/use.force6
-rw-r--r--profiles/arch/mips/use.mask385
-rw-r--r--profiles/arch/nios2/eapi1
-rw-r--r--profiles/arch/nios2/make.defaults23
-rw-r--r--profiles/arch/nios2/package.use.mask302
-rw-r--r--profiles/arch/nios2/parent2
-rw-r--r--profiles/arch/nios2/use.force2
-rw-r--r--profiles/arch/nios2/use.mask241
-rw-r--r--profiles/arch/powerpc/eapi1
-rw-r--r--profiles/arch/powerpc/make.defaults3
-rw-r--r--profiles/arch/powerpc/package.mask31
-rw-r--r--profiles/arch/powerpc/package.use7
-rw-r--r--profiles/arch/powerpc/package.use.force19
-rw-r--r--profiles/arch/powerpc/package.use.mask368
-rw-r--r--profiles/arch/powerpc/package.use.stable.mask33
-rw-r--r--profiles/arch/powerpc/packages11
-rw-r--r--profiles/arch/powerpc/parent1
-rw-r--r--profiles/arch/powerpc/ppc32/eapi1
-rw-r--r--profiles/arch/powerpc/ppc32/make.defaults38
-rw-r--r--profiles/arch/powerpc/ppc32/package.mask49
-rw-r--r--profiles/arch/powerpc/ppc32/package.use7
-rw-r--r--profiles/arch/powerpc/ppc32/package.use.mask56
-rw-r--r--profiles/arch/powerpc/ppc32/package.use.stable.mask38
-rw-r--r--profiles/arch/powerpc/ppc32/parent1
-rw-r--r--profiles/arch/powerpc/ppc32/use.force5
-rw-r--r--profiles/arch/powerpc/ppc32/use.mask20
-rw-r--r--profiles/arch/powerpc/ppc32/use.stable.mask9
-rw-r--r--profiles/arch/powerpc/ppc64/32ul/eapi1
-rw-r--r--profiles/arch/powerpc/ppc64/32ul/make.defaults17
-rw-r--r--profiles/arch/powerpc/ppc64/32ul/package.mask3
-rw-r--r--profiles/arch/powerpc/ppc64/32ul/package.use.mask6
-rw-r--r--profiles/arch/powerpc/ppc64/32ul/packages6
-rw-r--r--profiles/arch/powerpc/ppc64/32ul/parent3
-rw-r--r--profiles/arch/powerpc/ppc64/32ul/use.force10
-rw-r--r--profiles/arch/powerpc/ppc64/32ul/use.mask13
-rw-r--r--profiles/arch/powerpc/ppc64/64ul/eapi1
-rw-r--r--profiles/arch/powerpc/ppc64/64ul/make.defaults11
-rw-r--r--profiles/arch/powerpc/ppc64/64ul/package.mask7
-rw-r--r--profiles/arch/powerpc/ppc64/64ul/package.use.mask31
-rw-r--r--profiles/arch/powerpc/ppc64/64ul/parent2
-rw-r--r--profiles/arch/powerpc/ppc64/64ul/use.mask95
-rw-r--r--profiles/arch/powerpc/ppc64/eapi1
-rw-r--r--profiles/arch/powerpc/ppc64/make.defaults42
-rw-r--r--profiles/arch/powerpc/ppc64/package.use7
-rw-r--r--profiles/arch/powerpc/ppc64/package.use.force10
-rw-r--r--profiles/arch/powerpc/ppc64/package.use.mask123
-rw-r--r--profiles/arch/powerpc/ppc64/package.use.stable.mask32
-rw-r--r--profiles/arch/powerpc/ppc64/parent1
-rw-r--r--profiles/arch/powerpc/ppc64/use.force5
-rw-r--r--profiles/arch/powerpc/ppc64/use.mask36
-rw-r--r--profiles/arch/powerpc/use.mask227
-rw-r--r--profiles/arch/powerpc/use.stable.mask23
-rw-r--r--profiles/arch/s390/eapi1
-rw-r--r--profiles/arch/s390/make.defaults31
-rw-r--r--profiles/arch/s390/package.mask55
-rw-r--r--profiles/arch/s390/package.use.force7
-rw-r--r--profiles/arch/s390/package.use.mask55
-rw-r--r--profiles/arch/s390/packages3
-rw-r--r--profiles/arch/s390/parent2
-rw-r--r--profiles/arch/s390/s390x/eapi1
-rw-r--r--profiles/arch/s390/s390x/make.defaults17
-rw-r--r--profiles/arch/s390/s390x/use.force7
-rw-r--r--profiles/arch/s390/s390x/use.mask3
-rw-r--r--profiles/arch/s390/use.force12
-rw-r--r--profiles/arch/s390/use.mask164
-rw-r--r--profiles/arch/sh/eapi1
-rw-r--r--profiles/arch/sh/make.defaults30
-rw-r--r--profiles/arch/sh/package.mask8
-rw-r--r--profiles/arch/sh/package.use.force7
-rw-r--r--profiles/arch/sh/package.use.mask54
-rw-r--r--profiles/arch/sh/parent1
-rw-r--r--profiles/arch/sh/use.force2
-rw-r--r--profiles/arch/sh/use.mask185
-rw-r--r--profiles/arch/sparc-fbsd/eapi1
-rw-r--r--profiles/arch/sparc-fbsd/make.defaults12
-rw-r--r--profiles/arch/sparc-fbsd/package.use.mask5
-rw-r--r--profiles/arch/sparc-fbsd/parent1
-rw-r--r--profiles/arch/sparc-fbsd/use.force2
-rw-r--r--profiles/arch/sparc-fbsd/use.mask34
-rw-r--r--profiles/arch/sparc/eapi1
-rw-r--r--profiles/arch/sparc/make.defaults42
-rw-r--r--profiles/arch/sparc/package.mask139
-rw-r--r--profiles/arch/sparc/package.use7
-rw-r--r--profiles/arch/sparc/package.use.force7
-rw-r--r--profiles/arch/sparc/package.use.mask323
-rw-r--r--profiles/arch/sparc/package.use.stable.mask34
-rw-r--r--profiles/arch/sparc/packages8
-rw-r--r--profiles/arch/sparc/parent1
-rw-r--r--profiles/arch/sparc/use.force2
-rw-r--r--profiles/arch/sparc/use.mask359
-rw-r--r--profiles/arch/sparc/use.stable.mask25
-rw-r--r--profiles/arch/x86-fbsd/eapi1
-rw-r--r--profiles/arch/x86-fbsd/make.defaults37
-rw-r--r--profiles/arch/x86-fbsd/package.mask31
-rw-r--r--profiles/arch/x86-fbsd/package.use.mask57
-rw-r--r--profiles/arch/x86-fbsd/parent1
-rw-r--r--profiles/arch/x86-fbsd/use.force3
-rw-r--r--profiles/arch/x86-fbsd/use.mask69
-rw-r--r--profiles/arch/x86/eapi1
-rw-r--r--profiles/arch/x86/make.defaults45
-rw-r--r--profiles/arch/x86/package.mask4
-rw-r--r--profiles/arch/x86/package.use11
-rw-r--r--profiles/arch/x86/package.use.force8
-rw-r--r--profiles/arch/x86/package.use.mask255
-rw-r--r--profiles/arch/x86/package.use.stable.mask54
-rw-r--r--profiles/arch/x86/parent1
-rw-r--r--profiles/arch/x86/profile.bashrc12
-rw-r--r--profiles/arch/x86/use.force7
-rw-r--r--profiles/arch/x86/use.mask227
-rw-r--r--profiles/arch/x86/use.stable.mask22
-rw-r--r--profiles/arch/x86/xbox/eapi1
-rw-r--r--profiles/arch/x86/xbox/make.defaults12
-rw-r--r--profiles/arch/x86/xbox/package.mask3
-rw-r--r--profiles/arch/x86/xbox/parent1
320 files changed, 10802 insertions, 0 deletions
diff --git a/profiles/arch/alpha/eapi b/profiles/arch/alpha/eapi
new file mode 100644
index 00000000000..7ed6ff82de6
--- /dev/null
+++ b/profiles/arch/alpha/eapi
@@ -0,0 +1 @@
+5
diff --git a/profiles/arch/alpha/make.defaults b/profiles/arch/alpha/make.defaults
new file mode 100644
index 00000000000..e94c0f353f2
--- /dev/null
+++ b/profiles/arch/alpha/make.defaults
@@ -0,0 +1,30 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+ARCH="alpha"
+ACCEPT_KEYWORDS="alpha"
+
+CHOST="alpha-unknown-linux-gnu"
+CFLAGS="-O2 -pipe"
+CXXFLAGS="${CFLAGS}"
+FFLAGS="${CFLAGS}"
+FCFLAGS="${CFLAGS}"
+
+# Michał Górny <mgorny@gentoo.org> (01 Jul 2014)
+# Set ABI & DEFAULT_ABI consistently with ${ARCH}, to make ebuild
+# checks simpler.
+ABI="alpha"
+DEFAULT_ABI="alpha"
+MULTILIB_ABIS="alpha"
+CHOST_alpha="${CHOST}"
+LIBDIR_alpha="lib"
+
+# 2006/08/18 - Donnie Berkholz <dberkholz@gentoo.org>
+# Defaults for video drivers
+VIDEO_CARDS="fbdev glint mach64 mga nv r128 radeon savage tdfx voodoo"
+
+# 2007/02/05 - Chris Gianelloni <wolf31o2@gentoo.org>
+# Defaults for audio drivers. These are copied from x86 (minus modems), since
+# Alpha supports the same busses.
+ALSA_CARDS="ali5451 als4000 bt87x ca0106 cmipci emu10k1 ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 maestro3 trident usb-audio via82xx ymfpci"
diff --git a/profiles/arch/alpha/package.mask b/profiles/arch/alpha/package.mask
new file mode 100644
index 00000000000..45a463c8268
--- /dev/null
+++ b/profiles/arch/alpha/package.mask
@@ -0,0 +1,59 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+# Ben de Groot <yngwin@gentoo.org> (01 Feb 2015)
+# Qt5 mask, pending keywording. Remember unmasking qt5 in use.mask as well.
+>=dev-qt/assistant-5.4.0
+>=dev-qt/designer-5.4.0
+>=dev-qt/linguist-5.4.0
+>=dev-qt/linguist-tools-5.4.0
+>=dev-qt/pixeltool-5.4.0
+>=dev-qt/qdbus-5.4.0
+>=dev-qt/qdbusviewer-5.4.0
+>=dev-qt/qdoc-5.4.0
+>=dev-qt/qtconcurrent-5.4.0
+>=dev-qt/qtcore-5.4.0
+>=dev-qt/qtdbus-5.4.0
+>=dev-qt/qtdeclarative-5.4.0
+>=dev-qt/qtdiag-5.4.0
+>=dev-qt/qtgraphicaleffects-5.4.0
+>=dev-qt/qtgui-5.4.0
+>=dev-qt/qthelp-5.4.0
+>=dev-qt/qtimageformats-5.4.0
+>=dev-qt/qtmultimedia-5.4.0
+>=dev-qt/qtnetwork-5.4.0
+>=dev-qt/qtopengl-5.4.0
+>=dev-qt/qtpaths-5.4.0
+>=dev-qt/qtpositioning-5.4.0
+>=dev-qt/qtprintsupport-5.4.0
+>=dev-qt/qtquick1-5.4.0
+>=dev-qt/qtquickcontrols-5.4.0
+>=dev-qt/qtscript-5.4.0
+>=dev-qt/qtsensors-5.4.0
+>=dev-qt/qtserialport-5.4.0
+>=dev-qt/qtsql-5.4.0
+>=dev-qt/qtsvg-5.4.0
+>=dev-qt/qttest-5.4.0
+>=dev-qt/qttranslations-5.4.0
+>=dev-qt/qtwayland-5.4.0
+>=dev-qt/qtwebkit-5.4.0
+>=dev-qt/qtwebsockets-5.4.0
+>=dev-qt/qtwidgets-5.4.0
+>=dev-qt/qtx11extras-5.4.0
+>=dev-qt/qtxml-5.4.0
+>=dev-qt/qtxmlpatterns-5.4.0
+>=dev-qt/qt-creator-3.3.0
+=app-text/calibre-2*
+>=x11-misc/sddm-0.10.0
+
+# Julian Ospald <hasufell@gentoo.org> (01 Sep 2014)
+# Needs either hardmasked >=media-video/libav-10 or
+# >=media-video/ffmpeg-2.1.4 which is not keyworded for
+# alpha. Also see bug #521808
+=media-video/mpv-0.4*
+=media-video/mpv-0.5*
+
+# Alexey Shvetsov <alexxy@gentoo.org> (21 May 2012)
+# Need deps pecl-apc and pecl-uploadprogress bug #416897
+>=www-apps/drupal-7.14
diff --git a/profiles/arch/alpha/package.use b/profiles/arch/alpha/package.use
new file mode 100644
index 00000000000..bd6f0f67ff8
--- /dev/null
+++ b/profiles/arch/alpha/package.use
@@ -0,0 +1,7 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+# Pacho Ramos <pacho@gentoo.org> (15 Feb 2014)
+# libev isn't supported on this arch, use another default (#499498)
+dev-libs/libverto libevent
diff --git a/profiles/arch/alpha/package.use.force b/profiles/arch/alpha/package.use.force
new file mode 100644
index 00000000000..61e7f54b3cc
--- /dev/null
+++ b/profiles/arch/alpha/package.use.force
@@ -0,0 +1,12 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+# Mike Frysinger <vapier@gentoo.org> (16 Mar 2015)
+# Needs dev-lang/luajit tested #499974
+dev-libs/efl oldlua
+
+# Tobias Klausmann <klausman@gentoo.org> 2014-12-04
+# The Firefox/Mozilla build system is broken in regards to linking the shipped
+# ICU library. Bug 529944
+www-client/firefox system-icu
diff --git a/profiles/arch/alpha/package.use.mask b/profiles/arch/alpha/package.use.mask
new file mode 100644
index 00000000000..17691cb2f71
--- /dev/null
+++ b/profiles/arch/alpha/package.use.mask
@@ -0,0 +1,311 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+# Tobias Klausmann <klausman@gentoo.org> (08 Aug 2015)
+# It's unlikely that greenlet will ever be ported to Alpha. Mask USE=gevent for
+# pyzor to avoid that dependency. See bug 538510
+>=dev-python/pyzor-1.0.0 gevent
+
+# Tobias Klausmann <klausman@gentoo.org> (11 Jul 2015)
+# The test suite has ridiculous (transitive) requirements like
+# sci-mathematics/octave.
+>=dev-python/pyquery-1.2.9 test
+# revdeps of pyquery, ditto.
+dev-python/webtest test
+dev-python/wsgiproxy2 test
+dev-python/urllib3 test
+
+# Gilles Dartiguelongue <eva@gentoo.org> (09 Jun 2015)
+# net-fs/libnfs lacks alpha keyword, bug #551576
+gnome-base/gvfs nfs
+
+# Gilles Dartiguelongue <eva@gentoo.org> (09 Jun 2015)
+# dev-lang/luajit and dev-lua/lgi and lack alpha keyword, bug #551540
+dev-libs/libpeas lua jit
+
+# Ben de Groot <yngwin@gentoo.org> (03 May 2015)
+# media-libs/rubberband lacks alpha keyword, bug #548446
+media-video/mpv rubberband
+
+# Mike Frysinger <vapier@gentoo.org> (16 Mar 2015)
+# Needs sci-physics/bullet tested #499974
+dev-libs/efl physics
+
+# Michał Górny <mgorny@gentoo.org> (08 Mar 2015)
+# Dependency not keyworded on this arch, bug #542570.
+xfce-base/xfce4-settings libinput
+
+# Michał Górny <mgorny@gentoo.org> (22 Feb 2015)
+# Dependency not keyworded for some reason.
+media-libs/gegl umfpack
+
+# Michał Górny <mgorny@gentoo.org> (21 Feb 2015)
+# The external QCA plugins are not keyworded on this arch. Since
+# this is only a temporary measure and nothing depends on them,
+# just masking them until the new version goes stable.
+<app-crypt/qca-2.1 pkcs11
+
+# Patrick Lauer <patrick@gentoo.org> (10 Feb 2015)
+# Missing keywords for media-libs/x265
+media-video/libav x265
+
+# Johannes Huber <johu@gentoo.org> (28 Jan 2015)
+# Missing keyword on dev-libs/botan
+app-crypt/qca botan
+
+# Pacho Ramos <pacho@gentoo.org> (10 Jan 2014)
+# Missing keywords
+net-misc/networkmanager teamd
+
+# Gilles Dartiguelongue <eva@gentoo.org> (23 Dec 2014)
+# New dependencies for wayland support in Gnome 3.14
+# See bug #533420.
+media-libs/clutter egl
+x11-wm/mutter kms
+
+# Mark Wright <gienah@gentoo.org> (14-23 Dec 2014)
+# test dependencies need keywording
+dev-haskell/binary test
+dev-haskell/text test
+dev-haskell/vector test
+
+# Tobias Klausmann <klausman@gentoo.org> (20 Nov 2014)
+# OpenCV likely will never work on Alpha
+media-video/vlc opencv
+
+# Pacho Ramos <pacho@gentoo.org> (11 Nov 2014)
+# Missing keywords, bug #523686
+>=dev-libs/libgdata-0.16.1 test
+
+# Michał Górny <mgorny@gentoo.org> (30 Oct 2014)
+# Requires non-keyworded >=x11-libs/libxkbcommon-0.4.
+sys-apps/systemd terminal
+sys-apps/systemd xkb
+
+# Tobias Klausmann <klausman@gentoo.org> (11 Oct 2014)
+# app-emulation/qemu is not keyworded on alpha, masking flag that triggers
+# dependency
+net-misc/spice-gtk smartcard
+
+# Gilles Dartiguelongue <eva@gentoo.org> (05 Oct 2014)
+# Missing keyword on app-accessibility/brltty
+app-accessibility/orca braille
+
+# Maciej Mrozowski <reavertm@gentoo.org> (13 Aug 2014)
+# Missing keywords on dev-libs/protobuf-c (bug 519772)
+>=net-libs/libgadu-1.12.0 gg11
+
+# Tobias Klausmann <klausman@gentoo.org>
+# media-libs/x265 doesn't work on alpha (bug 519046)
+media-video/ffmpeg x265
+
+# Tobias Klausmann <klausman@gentoo.org (16 Jul 2014)
+# neither dietlibc nor klibc will likely ever build/work on alpha, bug #487672
+>=sys-fs/dmraid-1.0.0_rc16-r3 dietlibc klibc
+
+# Maxim Koltsov <maksbotan@gentoo.org> (9 Jul 2014)
+# Missing keywords on dev-python/rst2pdf, bug #515222
+media-video/mpv doc-pdf
+
+# Julian Ospald <hasufell@gentoo.org> (20 Apr 2014)
+# Missing keywords, bug #508226
+media-video/mpv sdl
+
+# Pacho Ramos <pacho@gentoo.org> (15 Mar 2014)
+# Missing keywords, bug #504672
+>=net-misc/vinagre-3.10 rdp
+
+# Pacho Ramos <pacho@gentoo.org> (22 Feb 2014)
+# Missing keywords, bug #495250
+>=gnome-base/gnome-extra-apps-3.10 tracker
+
+# Pacho Ramos <pacho@gentoo.org> (11 Jan 2014)
+sys-kernel/dracut -dracut_modules_systemd
+
+# Pacho Ramos <pacho@gentoo.org> (02 Dec 2013)
+# Missing keywords, bug #493156
+media-libs/libgphoto2 serial
+
+# Pacho Ramos <pacho@gentoo.org> (28 Nov 2013)
+# Missing keywords, bug #492820
+net-im/telepathy-connection-managers sipe
+
+# Pacho Ramos <pacho@gentoo.org> (13 Nov 2013)
+# Missing keywords, bug #478254
+>=gnome-base/gnome-3.8 classic
+
+# Mark Wright <gienah@gentoo.org> (26 Oct 2013)
+# template-haskell not yet available
+dev-haskell/dataenc test
+
+# Tom Wijsman <TomWij@gentoo.org> (16 Oct 2013)
+# Mask luajit on ~media-video/mpv-0.2.0 because it only has amd64 x86 keywords. See bug #488318.
+>=media-video/mpv-0.2.0 luajit
+
+# Pacho Ramos <pacho@gentoo.org> (20 Jul 2013)
+# Keywords pending, bug #476710
+>=gnome-base/gnome-extra-apps-3.8 games
+
+# William Hubbs <williamh@gentoo.org> (22 Jun 2013)
+# dev-python/cython is not keyworded for alpha
+>=app-accessibility/brltty-4.5 python
+
+# Patrick Lauer <patrick@gentoo.org> (17 Jun 2013)
+# Fix per-arch mask of phonon[zeitgeist] #460140
+media-libs/phonon zeitgeist
+
+# Gilles Dartiguelongue <eva@gentoo.org> (1 Apr 2013)
+# missing keyword on media-libs/tremor, bug #453200
+media-libs/gst-plugins-base ivorbis
+
+# Julian Ospald <hasufell@gentoo.org> (31 Mar 2013)
+# depends on mono
+>=net-irc/hexchat-2.9.4-r1 theme-manager
+
+# Alexandre Rostovtsev <tetromino@gentoo.org> (31 Jan 2013)
+# remove mask when net-libs/libqmi is keyworded here
+net-misc/modemmanager qmi qmi-newest
+
+# Alexandre Rostovtsev <tetromino@gentoo.org> (22 Jan 2013)
+# remove mask if/when media-gfx/argyllcms is keywored here.
+x11-misc/colord argyllcms extra-print-profiles
+
+# Alexandre Rostovtsev <tetromino@gentoo.org> (31 Dec 2012)
+# requires app-office/unoconv, which requires virtual/ooo, which is not
+# keyworded here. Remove mask if this situation changes.
+gnome-extra/sushi office
+
+# Raúl Porcel <armin76@gentoo.org> (30 Dec 2012)
+# Needs testing
+media-libs/phonon gstreamer vlc
+
+# Alexandre Rostovtsev <tetromino@gentoo.org> (27 Dec 2012)
+# remove mask when dev-java/fop is keyworded here
+gnome-extra/libgda reports
+
+# Alexandre Rostovtsev <tetromino@gentoo.org> (15 Dec 2012)
+# media-video/coherence not keyworded
+=media-video/totem-2* upnp-av
+
+# Luca Barbato <lu_zero@gentoo.org> (11 Nov 2012)
+# Libav 9 can use fdk-aac
+>=media-video/libav-9_beta2 fdk
+
+# Robin H Johnson <robbat2@gentoo.org> (01 Nov 2012)
+# MySQL 5.5 wants systemtap, tcmalloc & jemalloc
+>=dev-db/mysql-5.5 tcmalloc
+>=dev-db/mariadb-5.5 tcmalloc
+>=dev-db/percona-server-5.5 tcmalloc
+
+# Raúl Porcel <armin76@gentoo.org> (25 Jun 2012)
+# dev-qt/qtwebkit doesn't seem to work
+dev-python/PyQt4 webkit
+dev-qt/assistant webkit
+dev-qt/designer webkit
+dev-qt/qtdeclarative webkit
+dev-qt/qthelp webkit
+net-irc/kvirc webkit
+
+# Raúl Porcel <armin76@gentoo.org> (28 May 2012)
+# Needs x11-misc/lightdm(which also requires some other deps)
+x11-misc/xscreensaver new-login
+
+# Alexandre Rostovtsev <tetromino@gentoo.org> (25 May 2012)
+# Remove mask entry when app-accessibility/at-spi2-core
+# is keyworded here, bug #411761
+net-libs/webkit-gtk webkit2
+
+# Alexey Shvetsov <alexxy@gentoo.org> (17 Dec 2011)
+# mask use numa for openmpi
+sys-cluster/openmpi openmpi_fabrics_psm openmpi_fabrics_knem openmpi_fabrics_open-mx openmpi_fabrics_ofed openmpi_fabrics_dapl openmpi_rm_slurm openmpi_ofed_features_rdmacm
+
+# Patrick McLean <chutzpah@gentoo.org> (08 Nov 2011)
+# mask conntrack USE flag for dnsmasq as dep is not keyworded
+net-dns/dnsmasq conntrack
+
+# Tobias Klausmann <klausman@gentoo.org> (02 Nov 2011)
+# libpcre jit is not supported on alpha
+dev-libs/libpcre jit
+
+# Pacho Ramos <pacho@gentoo.org> (24 Oct 2011)
+# Missing keywords in needed packages, bug #388367
+net-im/empathy map
+
+# Raúl Porcel <armin76@gentoo.org> (08 Oct 2011)
+# Needs media-sound/lilypond
+app-text/asciidoc test
+
+# Patrick McLean <chutzpah@gentoo.org> (07 Sep 2011)
+# missing keywords on dependencies
+media-video/x264-encoder ffmpegsource
+
+# Robin H. Johnson <robbat2@gentoo.org> (03 Sep 2011)
+# Remove this for your arch after you keyword dev-utils/google-perftools (bug #381737)
+dev-libs/libmemcached tcmalloc
+
+# Alexey Shvetsov <alexxy@gentoo.org> (31 Aug 2011)
+# Mask numa use flag per bug #381313
+sys-apps/hwloc numa
+# This mask also implies masking the numa flag on openmpi
+sys-cluster/openmpi numa
+
+# Pacho Ramos <pacho@gentoo.org> (19 Jul 2011)
+# Missing keywords on dependencies
+app-cdr/brasero dvd
+
+# Pacho Ramos <pacho@gentoo.org> (30 Jun 2011)
+# Needed plugins are not keyworded on this arch
+media-plugins/gst-plugins-meta dts libvisual
+
+# Pacho Ramos <pacho@gentoo.org> (02 Apr 2011)
+# quvi support is needed to play youtube files now
+media-video/totem flash youtube
+
+# Diego Elio Pettenò <flameeyes@gentoo.org> (17 Dec 2010)
+# needs sys-libs/libcap-ng that is masked right now
+sys-apps/smartmontools caps
+
+# Raúl Porcel <armin76@gentoo.org> (5 Dec 2010)
+# Mask doc-pdf because of Java dependencies (bug #347259)
+net-analyzer/wireshark doc-pdf
+# legacy mask
+www-client/elinks javascript
+
+# Justin Lecher <jlec@gentoo.org> (13 Aug 2010)
+# MKL not available on this arch,
+media-gfx/povray mkl
+
+# Raúl Porcel <armin76@gentoo.org> (26 Jun 2010)
+# custom-optimization doesn't work on alpha
+mail-client/thunderbird custom-optimization
+www-client/firefox custom-optimization
+www-client/seamonkey custom-optimization
+
+# Kacper Kowalik <xarthisius@gentoo.org> (30 May 2010)
+# quesoglc is not keyworded
+x11-misc/rss-glx quesoglc
+
+# uses games-board/ggz-gtk-client
+games-strategy/freeciv ggz
+
+# Ben de Groot <yngwin@gentoo.org> (16 Jan 2010)
+# qtmultimedia is not keyworded, bug 293671
+dev-python/PyQt4 multimedia
+
+# Raúl Porcel <armin76@gentoo.org> (07 Jul 2008)
+# Make clisp deps minimal
+dev-lisp/clisp hyperspec pari svm
+
+# Tobias Klausmann <klausman@gentoo.org> (15 Jun 2008)
+# No hardware to test net-dialup/linux-atm on alpha, so mask atm use flag
+# on those.
+sys-apps/iproute2 atm
+net-dialup/ppp atm
+
+# Needs nut and qstat respectively, neither is keyworded on alpha.
+net-analyzer/nagios-plugins ups nagios-game
+
+# Matt Turner <mattst88@gentoo.org> (26 Dec 2010)
+# No idea why. Bug 347827
+www-client/elinks javascript
diff --git a/profiles/arch/alpha/package.use.stable.mask b/profiles/arch/alpha/package.use.stable.mask
new file mode 100644
index 00000000000..35f6cc41a37
--- /dev/null
+++ b/profiles/arch/alpha/package.use.stable.mask
@@ -0,0 +1,35 @@
+# 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. Please be extremely
+# careful not to commit atoms that are not valid, as it can cause large-scale
+# breakage, especially if it ends up in the daily snapshot.
+#
+## Example:
+##
+## # Dev E. Loper <developer@gentoo.org> (28 Jun 2012)
+## # Masking foo USE flag until we can get the
+## # foo stuff to work properly again (bug 12345)
+## =media-video/mplayer-0.90_pre5 foo
+## =media-video/mplayer-0.90_pre5-r1 foo
+#
+
+#--- END OF EXAMPLES ---
+
+# Pacho Ramos <pacho@gentoo.org> (02 Jul 2014)
+# Mask due Gnome3 not going to be stabilized on this arch
+dev-util/geany-plugins devhelp markdown webkit
+>=gnome-base/gnome-desktop-2.32.1-r2 license-docs
+mail-client/balsa webkit
+media-gfx/gimp webkit
+media-plugins/gst-plugins-meta modplug
+>=x11-libs/gtk+-3.12.2 cloudprint
+net-libs/libproxy webkit
+>=net-libs/webkit-gtk-2.4 geoloc
+x11-libs/gksu gnome
+
+# Tobias Klausmann <klausman@gentoo.org> (29 Jul 2015)
+# Mask webkit so the dep can stay ~alpha forever
+>=x11-libs/wxGTK-3.0.2.0-r1 webkit
diff --git a/profiles/arch/alpha/parent b/profiles/arch/alpha/parent
new file mode 100644
index 00000000000..eb001c6e8ab
--- /dev/null
+++ b/profiles/arch/alpha/parent
@@ -0,0 +1 @@
+../base
diff --git a/profiles/arch/alpha/use.force b/profiles/arch/alpha/use.force
new file mode 100644
index 00000000000..c99355e95b9
--- /dev/null
+++ b/profiles/arch/alpha/use.force
@@ -0,0 +1,2 @@
+# Force the flag which corresponds to ARCH.
+alpha
diff --git a/profiles/arch/alpha/use.mask b/profiles/arch/alpha/use.mask
new file mode 100644
index 00000000000..1485291c9f7
--- /dev/null
+++ b/profiles/arch/alpha/use.mask
@@ -0,0 +1,240 @@
+# Copyright 1999-2015 Gentoo Foundation.
+# Distributed under the terms of the GNU General Public License, v2
+# $Id$
+
+# Unmask the flag which corresponds to ARCH.
+-alpha
+
+# This file masks out USE flags that are simply NOT allowed in the default
+# profile for any architecture. This works, for example, if a non-default
+# profile (such as the selinux profiles) have a USE flag associated with
+# them.
+
+# No hardware to test by the team
+3dfx
+apcupsd
+bluetooth
+bluray
+chipcard
+dvb
+gnokii
+gps
+hbci
+ios
+ipod
+ivtv
+mtp
+mythtv
+nvtv
+lirc
+openct
+pcmcia
+pda
+sms
+upnp
+ups
+wifi
+
+# Hardware not available on alpha
+apm
+battery
+cpufreq
+dell
+dmi
+laptop
+pm-utils
+
+# Stuff that doesn't work on alpha, or not tested
+avi
+clang
+djbfft
+emboss
+freetts
+gnustep
+hardened
+howl
+mecab
+mzscheme
+netbeans
+pike
+timidity
+valgrind
+vaapi
+rtmp
+vpx
+kde
+quvi
+metalink
+tremor
+fdk
+
+# Stuff that doesn't compile on alpha
+emf
+mono
+ocamlopt
+webm
+openexr
+
+# Stuff we don't want
+afs
+schroedinger
+ots
+frei0r
+libev
+prelude
+libtar
+aacplus
+devil
+gts
+
+# Other
+
+# Raúl Porcel <armin76@gentoo.org> (23 Apr 2011)
+# Needs to be tested
+video_cards_nouveau
+
+# Ben de Groot <yngwin@gentoo.org> (11 Feb 2009)
+# Both dev-qt/qtphonon and media-sound/phonon are unkeyworded
+phonon
+
+# 14 May 2007 Raúl Porcel <armin76@gentoo.org>
+# Alpha doesn't have wpa_supplicant keyworded, bug 175714
+networkmanager
+
+
+# alpha doesn't have java support
+java
+java-internal
+java-external
+pdfannotextractor
+
+# Mask vpopmail until net-mail/vpopmail goes out of package.mask
+vpopmail
+
+# Mask pyste until gccxml / elementtree work on alpha
+pyste
+
+# RDEPEND on mono
+beagle
+
+# apache segfaults when using mpm-peruser (bug 105778)
+mpm-peruser
+
+# We don't have any virtual/mpi (bug 111807)
+mpi
+
+# masks required for asterisk
+bri
+pri
+zaptel
+
+# Modular X: mask non-alpha cards
+video_cards_apm
+video_cards_ark
+video_cards_ast
+video_cards_chips
+video_cards_cyrix
+video_cards_i128
+video_cards_i740
+video_cards_intel
+video_cards_neomagic
+video_cards_newport
+video_cards_nsc
+video_cards_siliconmotion
+video_cards_sis
+video_cards_trident
+video_cards_tseng
+video_cards_vesa
+
+# Matt Turner <mattst88@gentoo.org>
+# Mask more VIDEO_CARDs added with mesa-8.0
+video_cards_i915
+video_cards_i965
+video_cards_ilo
+# vmware wasn't added with mesa-8.0, but it should still be masked
+video_cards_vmware
+# llvm is not keyworded
+video_cards_radeonsi
+
+# dspam and dspam-web use this one
+# We've never supported cyrus-imapd because nobody asked for
+cyrus
+
+# disable until tested
+# # bug 148402
+pcsc-lite
+
+# conky dependencies missing keywords related (dragonheart -20061112)
+# media-sound/mpd
+mpd
+
+# USE=d seems to break gcc-4.1.2 (#178896)
+d
+
+# This works
+-x264
+
+# uses gnat/ada which is too big to support currently
+topal
+
+# Matt Turner <mattst88@gentoo.org> (13 Dec 2010)
+# We don't have sys-devel/llvm
+llvm
+
+# Matt Turner <mattst88@gentoo.org) (10 Feb 2012)
+# mask d3d since we don't have wine
+d3d
+
+# Matt Turner <mattst88@gentoo.org) (10 Feb 2012)
+# mask wayland since dev-libs/wayland isn't keyworded
+wayland
+
+# Matt Turner <mattst88@gentoo.org (27 May 2012)
+# net-misc/connman is not keyworded
+connman
+
+# Matt Turner <mattst88@gentoo.org (27 May 2012)
+# sys-apps/entropy is not keyworded
+entropy
+
+# Matt Turner <mattst88@gentoo.org (29 May 2012)
+# net-libs/libsocialweb is not keyworded
+socialweb
+
+# Alexandre Rostovtsev <tetromino@gentoo.org> (31 Dec 2012)
+# media-libs/xine-lib is not keyworded
+xine
+
+# Samuli Suominen <ssuominen@gentoo.org> (18 Jan 2013)
+# libdlm and cman are not keyworded
+cman
+clvm
+
+-zeitgeist
+template_haskell
+
+# nvidia cg toolkit for binary drivers
+cg
+
+# Chí-Thanh Christopher Nguyễn <chithanh@gentoo.org> (22 Aug 2013)
+# virtual/opencl is not keyworded
+opencl
+
+# Unmask once sys-libs/libunwind gets ported & keyworded.
+unwind
+
+# Pacho Ramos <pacho@gentoo.org> (08 Jan 2014)
+# Unmask systemd since it is keyworded here.
+-systemd
+
+# Tobias Klausmann <klausman@gentoo.org> (20 Jul 2014)
+# Mask redis USE flag everywhere since redis depends on google-perftools,
+# which are not supported on Alpha at all (assembly).
+redis
+
+# sys-libs/libseccomp has not been ported to this arch yet #524148
+seccomp
+
+# Ben de Groot <yngwin@gentoo.org> (01 Feb 2015)
+# please remove when keyworded
+qt5
diff --git a/profiles/arch/alpha/use.stable.mask b/profiles/arch/alpha/use.stable.mask
new file mode 100644
index 00000000000..2a20ad54ba2
--- /dev/null
+++ b/profiles/arch/alpha/use.stable.mask
@@ -0,0 +1,22 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+# This file requires eapi 5 or later. New entries go on top.
+# Please use the same syntax as in use.mask
+
+# Pacho Ramos <pacho@gentoo.org> (17 Apr 2014)
+# Dropped stable keywords after the discussion caused by
+# Gnome 3.8/3.10 stabilization on this arch
+colord
+devhelp
+dia
+eds
+gnumeric
+gusb
+upnp
+upnp-av
+
+# Pacho Ramos <pacho@gentoo.org> (13 Apr 2014)
+# Not going to be stabilized on this arch
+gnome-online-accounts
diff --git a/profiles/arch/amd64-fbsd/clang/eapi b/profiles/arch/amd64-fbsd/clang/eapi
new file mode 100644
index 00000000000..7ed6ff82de6
--- /dev/null
+++ b/profiles/arch/amd64-fbsd/clang/eapi
@@ -0,0 +1 @@
+5
diff --git a/profiles/arch/amd64-fbsd/clang/make.defaults b/profiles/arch/amd64-fbsd/clang/make.defaults
new file mode 100644
index 00000000000..a1afd0751b6
--- /dev/null
+++ b/profiles/arch/amd64-fbsd/clang/make.defaults
@@ -0,0 +1,8 @@
+# Copyright 1999-2015 Gentoo Foundation.
+# Distributed under the terms of the GNU General Public License, v2
+# $Id$
+
+CFLAGS="-O2 -pipe"
+CXXFLAGS="-stdlib=libc++ ${CFLAGS}"
+FFLAGS="${CFLAGS}"
+FCFLAGS="${CFLAGS}"
diff --git a/profiles/arch/amd64-fbsd/clang/package.use.force b/profiles/arch/amd64-fbsd/clang/package.use.force
new file mode 100644
index 00000000000..affb8d1f942
--- /dev/null
+++ b/profiles/arch/amd64-fbsd/clang/package.use.force
@@ -0,0 +1,17 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+# Force building libc++ over libcxxrt.
+sys-libs/libcxx libcxxrt
+
+# Force static libs and multilib on the C++ stack.
+sys-libs/libcxxrt static-libs abi_x86_32
+sys-libs/libcxx static-libs abi_x86_32
+
+# Force openssl on curl since cmakes needs it and is in @system because of
+# libcxx on this profile. Mask the other ssl providers.
+net-misc/curl ssl curl_ssl_openssl
+
+# We obviously need clang
+sys-devel/llvm clang static-analyzer
diff --git a/profiles/arch/amd64-fbsd/clang/package.use.mask b/profiles/arch/amd64-fbsd/clang/package.use.mask
new file mode 100644
index 00000000000..7517352b078
--- /dev/null
+++ b/profiles/arch/amd64-fbsd/clang/package.use.mask
@@ -0,0 +1,16 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+# Build libcxxrt over libgcc_s since that is what clang defaults to.
+sys-libs/libcxxrt libunwind
+
+# Needs to be fixed: cxx useflag enables plugins and gold.
+# gold fails to build with clang:
+# https://bugs.gentoo.org/show_bug.cgi?id=427344
+# http://llvm.org/bugs/show_bug.cgi?id=12299
+sys-devel/binutils cxx
+
+# Force openssl on curl since cmakes needs it and is in @system because of
+# libcxx on this profile. Mask the other ssl providers.
+net-misc/curl curl_ssl_axtls curl_ssl_gnutls curl_ssl_nss curl_ssl_polarssl
diff --git a/profiles/arch/amd64-fbsd/clang/packages b/profiles/arch/amd64-fbsd/clang/packages
new file mode 100644
index 00000000000..0bdb97245f6
--- /dev/null
+++ b/profiles/arch/amd64-fbsd/clang/packages
@@ -0,0 +1,10 @@
+# Copyright 1999-2015 Gentoo Foundation.
+# Distributed under the terms of the GNU General Public License, v2
+# $Id$
+
+# Don't remove gcc from here: clang uses it for crt{begin,end}*.o and its c++
+# stack.
+
+*sys-devel/llvm
+*sys-devel/clang
+*sys-libs/libcxx
diff --git a/profiles/arch/amd64-fbsd/clang/packages.build b/profiles/arch/amd64-fbsd/clang/packages.build
new file mode 100644
index 00000000000..c663dce8c96
--- /dev/null
+++ b/profiles/arch/amd64-fbsd/clang/packages.build
@@ -0,0 +1,10 @@
+# Copyright 1999-2015 Gentoo Foundation.
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+# This file describes the packages needed to build a stage 1 based on this
+# profile. Packages in this file are built in order.
+
+sys-devel/llvm
+sys-devel/clang
+sys-libs/libcxx
diff --git a/profiles/arch/amd64-fbsd/clang/parent b/profiles/arch/amd64-fbsd/clang/parent
new file mode 100644
index 00000000000..f3229c5b987
--- /dev/null
+++ b/profiles/arch/amd64-fbsd/clang/parent
@@ -0,0 +1 @@
+..
diff --git a/profiles/arch/amd64-fbsd/clang/profile.bashrc b/profiles/arch/amd64-fbsd/clang/profile.bashrc
new file mode 100644
index 00000000000..23cc5088393
--- /dev/null
+++ b/profiles/arch/amd64-fbsd/clang/profile.bashrc
@@ -0,0 +1,8 @@
+#!/bin/bash
+# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
+# $Id$
+
+# Check if clang/clang++ exist before setting them so that we can more easily
+# switch to this profile and build stages.
+type -P clang > /dev/null && export CC=clang
+type -P clang++ > /dev/null && [ -f /usr/lib/libc++.so ] && export CXX="clang++ -stdlib=libc++"
diff --git a/profiles/arch/amd64-fbsd/eapi b/profiles/arch/amd64-fbsd/eapi
new file mode 100644
index 00000000000..7ed6ff82de6
--- /dev/null
+++ b/profiles/arch/amd64-fbsd/eapi
@@ -0,0 +1 @@
+5
diff --git a/profiles/arch/amd64-fbsd/make.defaults b/profiles/arch/amd64-fbsd/make.defaults
new file mode 100644
index 00000000000..6d9f5afc74c
--- /dev/null
+++ b/profiles/arch/amd64-fbsd/make.defaults
@@ -0,0 +1,48 @@
+# Copyright 1999-2015 Gentoo Foundation.
+# Distributed under the terms of the GNU General Public License, v2
+# $Id$
+# System-wide defaults for the G/FBSD Portage system
+
+ARCH="amd64-fbsd"
+ACCEPT_KEYWORDS="amd64-fbsd ~amd64-fbsd"
+
+CFLAGS="-O2 -pipe"
+CXXFLAGS="${CFLAGS}"
+FFLAGS="${CFLAGS}"
+FCFLAGS="${CFLAGS}"
+
+MULTILIB_ABIS="amd64_fbsd x86_fbsd"
+DEFAULT_ABI="amd64_fbsd"
+# Do not remove this one, or all kinds of hell breaks loose.
+ABI="amd64_fbsd"
+
+# 32bit specific settings.
+CFLAGS_x86_fbsd="-m32 -DCOMPAT_32BIT -B/usr/lib32 -L/usr/lib32"
+LDFLAGS_x86_fbsd="-m elf_i386_fbsd -L/usr/lib32"
+
+USE="mmx mmxext sse sse2"
+CPU_FLAGS_X86="mmx mmxext sse sse2"
+
+VIDEO_CARDS="apm ark chips cirrus cyrix dummy i128 intel mach64 mga \
+ nv r128 radeon rendition s3 s3virge savage siliconmotion sis \
+ sisusb tga trident tseng via vmware"
+
+# Vanilla FreeBSD has: lib for native 64 bits libs, lib32 for 32-bits emulation.
+# Let's do this too as this also happens to be more standard among other linux
+# distros.
+# Adjust multilib dirs for multilib-strict.
+LIBDIR_amd64_fbsd="lib"
+MULTILIB_STRICT_DIRS="/lib32 /usr/lib32 /usr/kde/*/lib32 /usr/qt/*/lib32 /usr/X11R6/lib32"
+SYMLINK_LIB="no"
+
+# Unhide the x86-specific USE_EXPANDs.
+USE_EXPAND_HIDDEN="-ABI_X86 -CPU_FLAGS_X86"
+
+# Michał Górny <mgorny@gentoo.org> (01 Jul 2014)
+# Default to abi_x86_64 for packages that don't have it forced.
+ABI_X86="64"
+
+# Michał Górny <mgorny@gentoo.org> (01 Jul 2014)
+# Make the native ABI implicit so that MULTILIB_USEDEP can be satisfied
+# by non-multilib ebuilds when non-native ABIs are disabled.
+IUSE_IMPLICIT="abi_x86_64"
diff --git a/profiles/arch/amd64-fbsd/package.mask b/profiles/arch/amd64-fbsd/package.mask
new file mode 100644
index 00000000000..5264156fff7
--- /dev/null
+++ b/profiles/arch/amd64-fbsd/package.mask
@@ -0,0 +1,31 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+# Davide Pesavento <pesa@gentoo.org> (20 Nov 2014)
+# Qt4 multilib ebuilds, masked until dev-qt/qtchooser
+# gets keyworded. See bug 529196.
+>=dev-qt/assistant-4.8.6:4
+>=dev-qt/designer-4.8.6:4
+>=dev-qt/linguist-4.8.6:4
+>=dev-qt/pixeltool-4.8.6:4
+>=dev-qt/qdbusviewer-4.8.6:4
+>=dev-qt/qt3support-4.8.6:4
+>=dev-qt/qtbearer-4.8.6:4
+>=dev-qt/qtcore-4.8.6:4
+>=dev-qt/qtdbus-4.8.6:4
+>=dev-qt/qtdeclarative-4.8.6:4
+>=dev-qt/qtdemo-4.8.6:4
+>=dev-qt/qtgui-4.8.6:4
+>=dev-qt/qthelp-4.8.6:4
+>=dev-qt/qtmultimedia-4.8.6:4
+>=dev-qt/qtopengl-4.8.6:4
+>=dev-qt/qtopenvg-4.8.6:4
+>=dev-qt/qtphonon-4.8.6:4
+>=dev-qt/qtscript-4.8.6:4
+>=dev-qt/qtsql-4.8.6:4
+>=dev-qt/qtsvg-4.8.6:4
+>=dev-qt/qttest-4.8.6:4
+>=dev-qt/qttranslations-4.8.6:4
+>=dev-qt/qtwebkit-4.8.6:4
+>=dev-qt/qtxmlpatterns-4.8.6:4
diff --git a/profiles/arch/amd64-fbsd/package.use.force b/profiles/arch/amd64-fbsd/package.use.force
new file mode 100644
index 00000000000..f0af6afad5d
--- /dev/null
+++ b/profiles/arch/amd64-fbsd/package.use.force
@@ -0,0 +1,4 @@
+# Multilib flag for the system is forced
+sys-freebsd/freebsd-lib abi_x86_32
+sys-freebsd/freebsd-ubin abi_x86_32
+sys-freebsd/freebsd-libexec abi_x86_32
diff --git a/profiles/arch/amd64-fbsd/package.use.mask b/profiles/arch/amd64-fbsd/package.use.mask
new file mode 100644
index 00000000000..a39627db1b6
--- /dev/null
+++ b/profiles/arch/amd64-fbsd/package.use.mask
@@ -0,0 +1,47 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+# Johannes Huber <johu@gentoo.org> (28 Jan 2015)
+# Missing keyword on dev-libs/botan,dev-libs/pkcs11-helper
+app-crypt/qca botan pkcs11
+
+# Michael Palimaka <kensington@gentoo.org) (26 Dec 2014)
+# Unkeyworded media-libs/opencv
+media-plugins/frei0r-plugins facedetect
+media-video/vlc opencv
+
+# Patrick Lauer <patrick@gentoo.org> (17 Nov 2014)
+# Lars Wendler <polynomial-c@gentoo.org> (23 Jan 2015)
+# Missing keywords
+dev-libs/openssl sctp
+net-misc/openssh sctp
+
+# Pacho Ramos <pacho@gentoo.org> (01 Jun 2014)
+# Missing keywords
+>=app-misc/geoclue-2.1 modemmanager
+>=x11-libs/gtk+-3.12 cloudprint
+>=app-crypt/libsecret-0.16 test
+media-plugins/gst-plugins-meta modplug vaapi
+
+# Lars Wendler <polynomial-c@gentoo.org> (09 May 2014)
+# Masked kde USE flag until bug #509892 is fixed
+dev-vcs/subversion kde
+
+# Johannes Huber <johu@gentoo.org> (16 Apr 2014)
+# unkeyworded deps
+kde-base/nepomuk-core migrator
+
+# Pacho Ramos <pacho@gentoo.org> (02 Dec 2013)
+# Missing keywords, bug #493156
+media-libs/libgphoto2 serial
+
+# nvidia-driver uses acpid
+x11-drivers/nvidia-drivers acpi
+
+# Needs emul libs and the package isnt multilib at all for FreeBSD x86_64
+x11-drivers/nvidia-drivers multilib
+
+# requires nvidia-cg-toolkit which is not available on bsd
+# see http://developer.nvidia.com/cg-toolkit-download
+media-libs/libprojectm video_cards_nvidia
diff --git a/profiles/arch/amd64-fbsd/parent b/profiles/arch/amd64-fbsd/parent
new file mode 100644
index 00000000000..db3aa68cdfc
--- /dev/null
+++ b/profiles/arch/amd64-fbsd/parent
@@ -0,0 +1,3 @@
+../base
+../../features/multilib/lib32
+todo
diff --git a/profiles/arch/amd64-fbsd/todo/eapi b/profiles/arch/amd64-fbsd/todo/eapi
new file mode 100644
index 00000000000..7ed6ff82de6
--- /dev/null
+++ b/profiles/arch/amd64-fbsd/todo/eapi
@@ -0,0 +1 @@
+5
diff --git a/profiles/arch/amd64-fbsd/todo/package.use.force b/profiles/arch/amd64-fbsd/todo/package.use.force
new file mode 100644
index 00000000000..1a0c90ab18e
--- /dev/null
+++ b/profiles/arch/amd64-fbsd/todo/package.use.force
@@ -0,0 +1,5 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+sys-libs/libcxx libcxxrt
diff --git a/profiles/arch/amd64-fbsd/todo/package.use.mask b/profiles/arch/amd64-fbsd/todo/package.use.mask
new file mode 100644
index 00000000000..fc9b0bfd643
--- /dev/null
+++ b/profiles/arch/amd64-fbsd/todo/package.use.mask
@@ -0,0 +1,221 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+# Mask useflags that require deps with missing keywords.
+# Anyone is allowed and _very welcome_ to add masks there.
+# We will pick them up and keyword as time permits and prefer having a sane
+# deptree with missing features than a broken one.
+# Do *NOT* add a ChangeLog entry when modifying this file: it is intended as
+# temporary and cvs log is more than enough for getting its history.
+#
+# Syntax is: # mising dep(s)
+# mask
+# Keep it simple, we do not really care about the date or who masked it, we want
+# to be easily able to determine what we need to keyword.
+
+# net-libs/gnome-online-accounts
+gnome-base/gvfs gnome-online-accounts
+
+# media-libs/gavl (missing clock_nanosleep on fbsd)
+media-plugins/frei0r-plugins scale0tilt
+
+# net-fs/openafs
+app-crypt/heimdal afs
+
+# app-accessibility/flite (fails at install)
+media-video/ffmpeg flite
+
+# dev-vcs/darcs
+app-portage/layman darcs
+
+# dev-python/mysql-python
+dev-vcs/mercurial bugzilla
+
+# net-libs/axtls
+net-misc/curl curl_ssl_axtls
+
+# media-libs/libmetalink -> undefined references on TEMP_FAILURE_RETRY (macro
+# provided by glibc)
+net-misc/curl metalink
+
+# sys-process/numactl
+sys-apps/hwloc numa
+
+# dev-lang/mono
+net-dns/libidn mono
+media-libs/libcaca mono
+dev-java/antlr mono
+
+# dev-lang/mono
+# >=dev-dotnet/gtk-sharp-2
+net-dns/avahi mono
+
+# net-misc/netkit-rsh
+x11-apps/xsm rsh
+
+# net-libs/libtirpc
+sys-apps/xinetd rpc
+
+# sci-libs/cfitsio
+media-gfx/ufraw fits
+
+# >=media-gfx/gimp-2
+media-gfx/ufraw gimp
+
+# net-libs/libproxy
+net-libs/neon libproxy
+net-libs/glib-networking libproxy
+media-video/vlc libproxy
+
+# dev-libs/pakchois
+net-libs/neon pkcs11
+
+# app-text/texlive[extra]
+app-doc/doxygen latex
+
+# x11-misc/colord
+x11-libs/gtk+ colord
+
+# sys-auth/polkit
+sys-auth/consolekit policykit
+gnome-base/gconf policykit
+
+# media-sound/pulseaudio
+media-libs/libsdl pulseaudio
+media-libs/openal pulseaudio
+media-video/ffmpeg pulseaudio
+media-libs/libcanberra pulseaudio
+media-libs/phonon pulseaudio
+media-video/vlc pulseaudio
+media-sound/mpg123 pulseaudio
+media-video/mplayer pulseaudio
+media-libs/xine-lib pulseaudio
+
+# >=media-plugins/gst-plugins-pulse-0.10
+media-plugins/gst-plugins-meta pulseaudio
+
+# >=app-pda/libimobiledevice-1.1.0
+gnome-base/gvfs ios
+
+# >=sys-fs/fuse-2.8.0
+gnome-base/gvfs fuse
+
+# >=gnome-base/libgdu-3.0.2
+gnome-base/gvfs gdu
+
+# >=x11-libs/libva-0.32
+media-video/ffmpeg vaapi
+virtual/ffmpeg vaapi
+media-video/vlc vaapi
+media-libs/xine-lib vaapi
+
+# media-libs/nas
+media-libs/libsdl nas
+dev-qt/qtgui nas
+app-editors/xemacs nas
+media-sound/mpg123 nas
+media-video/mplayer nas
+
+# net-misc/openntpd
+net-misc/ntp openntpd
+
+# fails to build, need to investigate why
+net-libs/webkit-gtk introspection
+
+# virtual/mysql
+sci-mathematics/glpk mysql
+dev-libs/apr-util mysql
+dev-qt/qtsql mysql
+dev-libs/redland mysql
+dev-libs/cyrus-sasl mysql
+dev-lang/php mysql mysqli
+net-libs/courier-authlib mysql
+
+# does not build
+x11-libs/libdrm libkms
+media-libs/mesa video_cards_vmware
+media-libs/mesa video_cards_r600
+media-libs/mesa video_cards_radeon
+
+# media-libs/libepoxy
+x11-base/xorg-server glamor wayland
+
+# x11-libs/libdrm[libkms]
+media-libs/mesa xorg
+
+# x11-drivers/xf86-video-sis
+x11-base/xorg-drivers video_cards_sis
+
+# x11-drivers/xf86-video-tdfx
+x11-base/xorg-drivers video_cards_tdfx
+
+# x11-drivers/xf86-video-vmware
+# x11-libs/libdrm[libkms,video_cards_vmware]
+x11-base/xorg-drivers video_cards_vmware
+
+# >=dev-cpp/clucene-0.9.21[-debug]
+app-misc/strigi clucene
+
+# >=sys-auth/polkit-qt-0.103.0
+# >=kde-misc/polkit-kde-kcmodules-0.98_pre20101127
+# >=sys-auth/polkit-kde-agent-0.99
+kde-base/kdelibs policykit
+
+# <=sci-geosciences/gpsd-2.95-r1
+app-misc/geoclue gps
+
+# >=sys-devel/binutils-2.22
+sys-devel/llvm gold
+
+# media-libs/liboggz
+media-libs/libkate wxwidgets
+
+# media-sound/fluidsynth
+media-video/vlc fluidsynth
+
+# sys-cluster/knem
+sys-cluster/openmpi openmpi_fabrics_knem
+
+# sys-infiniband/dapl
+sys-cluster/openmpi openmpi_fabrics_dapl
+
+# sys-infiniband/ofed
+sys-cluster/openmpi openmpi_fabrics_ofed
+
+# sys-infiniband/infinipath-psm
+sys-cluster/openmpi openmpi_fabrics_psm
+
+# sys-infiniband/librdmacm
+sys-cluster/openmpi openmpi_ofed_features_rdmacm
+
+# sys-cluster/open-mx
+sys-cluster/openmpi openmpi_fabrics_open-mx
+
+# sys-cluster/slurm
+sys-cluster/openmpi openmpi_rm_slurm
+
+# x11-libs/dnd
+app-editors/xemacs dnd
+
+# app-i18n/canna
+app-editors/xemacs canna
+
+# app-i18n/freewnn
+app-editors/xemacs freewnn
+
+# media-libs/devil[png,jpeg]
+media-gfx/graphviz devil
+
+# sys-apps/util-linux (libuuid)
+net-misc/wget uuid
+
+# dev-util/valgrind
+dev-libs/eina valgrind
+
+# dev-util/lcov
+dev-libs/eina test
+dev-libs/eet test
+
+# net-misc/freerdp (doesnt build)
+media-video/vlc rdp
diff --git a/profiles/arch/amd64-fbsd/use.force b/profiles/arch/amd64-fbsd/use.force
new file mode 100644
index 00000000000..9dc35a08b0f
--- /dev/null
+++ b/profiles/arch/amd64-fbsd/use.force
@@ -0,0 +1,5 @@
+# Force the flag which corresponds to ARCH.
+amd64-fbsd
+
+# Multilib flag for default ABI
+abi_x86_64
diff --git a/profiles/arch/amd64-fbsd/use.mask b/profiles/arch/amd64-fbsd/use.mask
new file mode 100644
index 00000000000..515e67f58ef
--- /dev/null
+++ b/profiles/arch/amd64-fbsd/use.mask
@@ -0,0 +1,71 @@
+# Copyright 1999-2015 Gentoo Foundation.
+# Distributed under the terms of the GNU General Public License, v2
+# $Id$
+
+# Unmask the flag which corresponds to ARCH.
+-amd64-fbsd
+
+-3dnow
+-3dnowext
+-mmx
+-mmxext
+-sse
+-sse2
+-sse3
+-sse4
+-sse4a
+-ssse3
+-cpu_flags_x86_3dnow
+-cpu_flags_x86_3dnowext
+-cpu_flags_x86_aes
+-cpu_flags_x86_avx
+-cpu_flags_x86_avx2
+-cpu_flags_x86_fma3
+-cpu_flags_x86_fma4
+-cpu_flags_x86_mmx
+-cpu_flags_x86_mmxext
+-cpu_flags_x86_padlock
+-cpu_flags_x86_popcnt
+-cpu_flags_x86_sse
+-cpu_flags_x86_sse2
+-cpu_flags_x86_sse3
+-cpu_flags_x86_sse4_1
+-cpu_flags_x86_sse4_2
+-cpu_flags_x86_sse4a
+-cpu_flags_x86_ssse3
+-cpu_flags_x86_xop
+
+# nvidia drivers works on x86
+-xvmc
+-nvidia
+-video_cards_nvidia
+
+# Unmask vmware drivers
+#-video_cards_vmware
+-input_devices_vmmouse
+
+# James Le Cuirot <chewi@gentoo.org> (19 May 2015)
+# icedtea needs testing and gcj isn't supported
+java
+
+# Other
+
+# Alexandre Rostovtsev <tetromino@gentoo.org> (09 Dec 2012)
+# Orc optimisations work fine on amd64 and x86
+-orc
+
+# Diego Elio Pettenò <flameeyes@gentoo.org> (21 Aug 2012)
+# IPMI is only implemented for x86, amd64 and ia64
+-ipmi
+
+# Multilib ABIs
+-abi_x86_32
+-abi_x86_64
+
+# Chí-Thanh Christopher Nguyễn <chithanh@gentoo.org> (22 Aug 2013)
+# virtual/opencl is not keyworded
+opencl
+
+# Hans de Graaff <graaff@gentoo.org> (27 Dec 2014)
+# dev-libs/jemalloc is not keyworded
+jemalloc
diff --git a/profiles/arch/amd64/eapi b/profiles/arch/amd64/eapi
new file mode 100644
index 00000000000..7ed6ff82de6
--- /dev/null
+++ b/profiles/arch/amd64/eapi
@@ -0,0 +1 @@
+5
diff --git a/profiles/arch/amd64/make.defaults b/profiles/arch/amd64/make.defaults
new file mode 100644
index 00000000000..2beb988c3c2
--- /dev/null
+++ b/profiles/arch/amd64/make.defaults
@@ -0,0 +1,61 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+ARCH="amd64"
+ACCEPT_KEYWORDS="${ARCH}"
+
+CHOST="x86_64-pc-linux-gnu"
+CFLAGS="-O2 -pipe"
+CXXFLAGS="${CFLAGS}"
+FFLAGS="${CFLAGS}"
+FCFLAGS="${CFLAGS}"
+
+# 2006/06/07 - Danny van Dyk <kugelfang@gentoo.org>
+# Multilib settings for all amd64 subprofiles.
+MULTILIB_ABIS="amd64 x86"
+DEFAULT_ABI="amd64"
+# Do not remove this one, or all kinds of hell breaks loose.
+ABI="amd64"
+
+# 64bit specific settings.
+CFLAGS_amd64="-m64"
+LDFLAGS_amd64="-m elf_x86_64"
+CHOST_amd64="x86_64-pc-linux-gnu"
+
+# 32bit specific settings.
+CFLAGS_x86="-m32"
+LDFLAGS_x86="-m elf_i386"
+CHOST_x86="i686-pc-linux-gnu"
+
+# 64-32bit specific settings.
+CFLAGS_x32="-mx32"
+LDFLAGS_x32="-m elf32_x86_64"
+CHOST_x32="x86_64-pc-linux-gnux32"
+
+# 2006/10/24 - Simon Stelling <blubb@gentoo.org>
+# They are masked, but we can enable them anyway for those who have
+# >=portage-2.1.2_pre3-r4
+USE="mmx mmxext sse sse2"
+CPU_FLAGS_X86="mmx mmxext sse sse2"
+
+# Michał Górny <mgorny@gentoo.org> (03 Sep 2013)
+# Enable abi_x86_64 for packages that don't have it forced.
+ABI_X86="64"
+
+# 2006/08/18 - Donnie Berkholz <dberkholz@gentoo.org>
+# Defaults for video drivers
+VIDEO_CARDS="fbdev glint intel mach64 mga nouveau nv r128 radeon savage sis tdfx trident vesa via vmware voodoo"
+
+# 2006/12/22 - Danny van Dyk <kugelfang@gentoo.org>
+# Default for ALSA_CARDS USE_EXPAND variable.
+ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci"
+
+# Michał Górny <mgorny@gentoo.org> (26 Jan 2013)
+# Unhide the x86-specific USE_EXPANDs.
+USE_EXPAND_HIDDEN="-ABI_X86 -CPU_FLAGS_X86"
+
+# Michał Górny <mgorny@gentoo.org> (25 Jun 2014)
+# Make the native ABI implicit so that MULTILIB_USEDEP can be satisfied
+# by non-multilib ebuilds when non-native ABIs are disabled.
+IUSE_IMPLICIT="abi_x86_64"
diff --git a/profiles/arch/amd64/no-multilib/eapi b/profiles/arch/amd64/no-multilib/eapi
new file mode 100644
index 00000000000..7ed6ff82de6
--- /dev/null
+++ b/profiles/arch/amd64/no-multilib/eapi
@@ -0,0 +1 @@
+5
diff --git a/profiles/arch/amd64/no-multilib/make.defaults b/profiles/arch/amd64/no-multilib/make.defaults
new file mode 100644
index 00000000000..3d0464c2c4f
--- /dev/null
+++ b/profiles/arch/amd64/no-multilib/make.defaults
@@ -0,0 +1,9 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+MULTILIB_ABIS="amd64"
+
+# Michał Górny <mgorny@gentoo.org> (26 Jan 2013)
+# Hide the ABI_X86 USE_EXPAND back for non-multilib profile.
+USE_EXPAND_HIDDEN="ABI_X86"
diff --git a/profiles/arch/amd64/no-multilib/package.mask b/profiles/arch/amd64/no-multilib/package.mask
new file mode 100644
index 00000000000..0687d52ced8
--- /dev/null
+++ b/profiles/arch/amd64/no-multilib/package.mask
@@ -0,0 +1,162 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+# AMD64 Team <amd64@gentoo.org>
+# Mask packages that rely on amd64 multilib
+app-accessibility/mbrola
+app-accessibility/perlbox-voice
+app-arch/stuffit
+app-benchmarks/cpuburn
+=app-editors/emacs-18*
+app-emulation/crossover-bin
+app-emulation/crossover-office-bin
+app-emulation/crossover-office-pro-bin
+app-emulation/playonlinux
+app-emulation/q4wine
+app-emulation/vmware-player
+>=app-i18n/atokx3-3.0.0
+app-office/ooextras
+app-emulation/winetricks
+app-text/acroread
+app-office/lotus-notes
+dev-embedded/libftd2xx
+dev-embedded/openocd
+>=dev-java/sun-j2me-bin-2.5.2.01
+dev-lang/dmd-bin
+dev-lang/icc
+dev-lang/idb
+dev-lang/ifc
+dev-perl/Archive-Rar
+dev-python/skype4py
+dev-util/android-sdk-update-manager
+dev-util/android-studio
+dev-util/biew
+games-action/cs2d
+games-action/descent3
+games-action/descent3-demo
+games-action/heretic2
+games-action/heretic2-demo
+games-action/lugaru
+games-action/lugaru-demo
+games-action/mutantstorm-demo
+games-action/phobiaii
+games-action/rune
+games-action/shadowgrounds-bin
+games-action/shadowgrounds-survivor-bin
+games-action/spacetripper-demo
+games-arcade/aquaria
+games-arcade/barbarian-bin
+games-arcade/jardinains
+games-arcade/gish-demo
+games-arcade/thinktanks-demo
+games-emulation/caps
+games-emulation/nestra
+games-emulation/zinc
+games-emulation/zsnes
+games-fps/avp
+games-fps/doom3-cdoom
+games-fps/doom3-chextrek
+games-fps/doom3-data
+games-fps/doom3-demo
+games-fps/doom3-ducttape
+games-fps/doom3-eventhorizon
+games-fps/doom3-hellcampaign
+games-fps/doom3-inhell
+games-fps/doom3-lms
+games-fps/doom3-mitm
+games-fps/doom3-phantasm
+games-fps/doom3-roe
+games-fps/doom3
+games-fps/enemy-territory-etpro
+games-fps/enemy-territory-fortress
+games-fps/enemy-territory-omnibot
+games-fps/enemy-territory-truecombat
+games-fps/enemy-territory
+games-fps/etqw-bin
+games-fps/etqw-data
+games-fps/etqw-demo
+games-fps/glxquake-bin
+games-fps/legends
+games-fps/postal2
+games-fps/postal2mp-demo
+games-fps/quake3-bin
+games-fps/quake3-demo
+games-fps/quake3-ra3
+games-fps/quake4-bin
+games-fps/quake4-data
+games-fps/quake4-demo
+games-fps/rtcw
+games-fps/rtcwmp-demo
+games-fps/rtcwsp-demo
+games-fps/sauerbraten
+games-fps/serious-sam-tfe
+games-fps/serious-sam-tse
+games-fps/soldieroffortune
+games-fps/soldieroffortune-demo
+games-fps/unreal-tournament
+games-fps/ut2003
+games-fps/ut2003-demo
+games-fps/ut2004-demo
+games-puzzle/drod-bin
+games-puzzle/hoh-bin
+games-roguelike/adom
+games-roguelike/dwarf-fortress
+games-rpg/eschalon-book-1-demo
+games-rpg/nwmouse
+games-rpg/nwmovies
+games-rpg/nwn
+games-rpg/nwn-cep
+games-rpg/nwn-data
+games-rpg/nwn-penultima
+games-rpg/nwn-penultimarerolled
+games-rpg/nwn-shadowlordsdreamcatcherdemon
+games-rpg/sacred-gold
+games-server/etqw-ded
+games-server/nwn-ded
+games-server/ut2003-ded
+games-simulation/bcs-demo
+games-strategy/coldwar
+games-strategy/coldwar-demo
+games-strategy/darwinia
+games-strategy/darwinia-demo
+games-strategy/defcon-demo
+games-strategy/dominions2
+games-strategy/dominions2-demo
+games-strategy/heroes3
+games-strategy/heroes3-demo
+games-strategy/majesty-demo
+games-strategy/savage-bin
+games-strategy/smac
+games-strategy/spaz
+media-fonts/acroread-asianfonts
+media-sound/aucdtect
+media-sound/shoutcast-server-bin
+media-sound/shoutcast-trans-bin
+media-sound/skype-call-recorder
+media-sound/ventrilo-server-bin
+media-video/binkplayer
+media-video/tsmuxer
+net-im/skype
+net-im/skypetab-ng
+net-misc/icaclient
+net-misc/ps3mediaserver
+net-print/cndrvcups-common-lb
+net-print/cndrvcups-lb
+sci-biology/foldingathome
+sci-electronics/eagle
+sci-chemistry/cara-bin
+sci-chemistry/cyana
+sci-chemistry/icm
+sci-chemistry/icm-browser
+sci-chemistry/mars
+sci-libs/ipp
+sys-apps/memtest86
+sys-apps/memtest86+
+sys-libs/lib-compat-loki
+www-plugins/nspluginwrapper
+www-plugins/pipelight
+
+# AMD64 Team; <amd64@gentoo.org>
+# grub-1 is not available on no-multilib-profiles
+<sys-boot/grub-1.99
diff --git a/profiles/arch/amd64/no-multilib/package.use.force b/profiles/arch/amd64/no-multilib/package.use.force
new file mode 100644
index 00000000000..8be8c78d337
--- /dev/null
+++ b/profiles/arch/amd64/no-multilib/package.use.force
@@ -0,0 +1,7 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+# Alexandre Rostovtsev <tetromino@gentoo.org> (24 Jun 2012)
+# Force 64-bit parts of wine, bug #351436
+app-emulation/wine win64
diff --git a/profiles/arch/amd64/no-multilib/package.use.mask b/profiles/arch/amd64/no-multilib/package.use.mask
new file mode 100644
index 00000000000..4ddf0980d0a
--- /dev/null
+++ b/profiles/arch/amd64/no-multilib/package.use.mask
@@ -0,0 +1,18 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+# Alexandre Rostovtsev <tetromino@gentoo.org> (24 Jun 2012)
+# Disable 32-bit parts of wine, bug #351436
+app-emulation/wine mono
+
+# Apr 28, 2008 Sébastien Fabbro <bicatali@gentoo.org>
+# ifc masked
+sci-libs/acml ifc
+
+# Intel Integrated Primitive (sci-libs/ipp) support
+media-libs/opencv ipp
+
+# Tomas Chvatal <scarabeus@gentoo.org> (13 Nov 2014)
+# The apulse is 32b used there only
+net-im/skype apulse
diff --git a/profiles/arch/amd64/no-multilib/parent b/profiles/arch/amd64/no-multilib/parent
new file mode 100644
index 00000000000..f3229c5b987
--- /dev/null
+++ b/profiles/arch/amd64/no-multilib/parent
@@ -0,0 +1 @@
+..
diff --git a/profiles/arch/amd64/no-multilib/use.mask b/profiles/arch/amd64/no-multilib/use.mask
new file mode 100644
index 00000000000..868c76616b0
--- /dev/null
+++ b/profiles/arch/amd64/no-multilib/use.mask
@@ -0,0 +1,25 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+# USE flags masked because providing packages have ABI=x86
+
+# 2007/08/29 Christoph Mende <angelos@gentoo.org>
+# app-accessibility/mbrola is x86 only
+mbrola
+
+# 2007/08/24 Michael Marineau <marineam@gentoo.org>
+# Xen HVM support requires building 32-bit binaries.
+hvm
+
+# 2009/05/11 Doug Goldstein <cardoe@gentoo.org>
+# Mask 32bit since this will always require emulation packages
+32bit
+
+# Matt Turner <mattst88@gentoo.org) (10 Feb 2012)
+# mask d3d since wine is 32-bit
+d3d
+
+# Michał Górny <mgorny@gentoo.org> (26 Jan 2013)
+# Mask the multilib flags back for non-multilib profile.
+abi_x86_32
diff --git a/profiles/arch/amd64/package.use b/profiles/arch/amd64/package.use
new file mode 100644
index 00000000000..2c0a9b2dae2
--- /dev/null
+++ b/profiles/arch/amd64/package.use
@@ -0,0 +1,17 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+# Ben de Groot <yngwin@gentoo.org> (03 May 2015)
+# Enable luajit (for OSC) by default
+media-video/mpv lua luajit
+
+# Michał Górny <mgorny@gentoo.org> (28 Jun 2014)
+# Packages that should be multilib by default.
+media-gfx/nvidia-cg-toolkit abi_x86_32
+x11-drivers/ati-drivers abi_x86_32
+x11-drivers/nvidia-drivers abi_x86_32
+
+# Doug Goldstein <cardoe@gentoo.org> (29 Oct 2012)
+# Enable the native arch as the default qemu target
+app-emulation/qemu qemu_softmmu_targets_x86_64
diff --git a/profiles/arch/amd64/package.use.force b/profiles/arch/amd64/package.use.force
new file mode 100644
index 00000000000..76c34048d6b
--- /dev/null
+++ b/profiles/arch/amd64/package.use.force
@@ -0,0 +1,21 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+# Michał Górny <mgorny@gentoo.org> (02 Sep 2013)
+# Packages with optional 64-bit variant.
+app-emulation/wine -abi_x86_64
+www-plugins/adobe-flash -abi_x86_64
+
+# Diego Elio Pettenò <flameeyes@gmail.com> (21 Apr 2011)
+# The plugin is 32-bit only (and I'm not even sure if it works with
+# modern iscan); make sure it only installs the firmware for amd64!
+media-gfx/iscan-plugin-gt-f500 minimal
+
+# <blubb@gentoo.org> (23 Oct 2006)
+# upstream forces sse2 on regardless of what the use flag is
+dev-libs/openssl cpu_flags_x86_sse2
+
+# Santiago M. Mola <coldwind@gentoo.org> (17 Sep 2008)
+# x86emu is the only backend available for amd64 (bug #224987)
+sys-apps/v86d x86emu
diff --git a/profiles/arch/amd64/package.use.mask b/profiles/arch/amd64/package.use.mask
new file mode 100644
index 00000000000..38b8f1a3cd9
--- /dev/null
+++ b/profiles/arch/amd64/package.use.mask
@@ -0,0 +1,326 @@
+# 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. Please be extremely
+# careful not to commit atoms that are not valid, as it can cause large-scale
+# breakage, especially if it ends up in the daily snapshot.
+#
+## Example:
+##
+## # Dev E. Loper <developer@gentoo.org> (28 Jun 2012)
+## # Masking foo USE flag until we can get the
+## # foo stuff to work properly again (bug 12345)
+## =media-video/mplayer-0.90_pre5 foo
+## =media-video/mplayer-0.90_pre5-r1 foo
+#
+
+#--- END OF EXAMPLES ---
+
+# James Le Cuirot <chewi@gentoo.org> (28 Jul 2015)
+# JavaFX and the browser plugin are included on x64 Linux.
+dev-java/oracle-jdk-bin -javafx -nsplugin
+dev-java/oracle-jre-bin -javafx -nsplugin
+
+# Michael Sterrett <mr_bones_@gentoo.org> (21 Apr 2015)
+# None of the fusionsound deps support multilib currently, maybe later.
+# Hiding the use flag fixes bug #545662 for now.
+media-libs/libsdl2 fusionsound
+
+# Michał Górny <mgorny@gentoo.org> (14 Sep 2014)
+# on behalf of gx86-multilib project <multilib@gentoo.org>
+# gcc[awt] is only used by gcj-jdk[X], and gcj-jdk[X] is not really
+# used by anything. The deps are hard to fix properly thanks
+# to toolchain.eclass.
+sys-devel/gcc awt
+dev-java/gcj-jdk X
+
+# Ben de Groot <yngwin@gentoo.org> (15 Mar 2015)
+# media-libs/libbdplus is keyworded on amd64, so unmask the useflag
+media-libs/libbluray -bdplus
+
+# Michał Górny <mgorny@gentoo.org> (01 Mar 2015)
+# pidgin-opensteamworks is only available for amd64, ppc32 and x86
+net-im/telepathy-connection-managers -steam
+
+# Andrey Grozin <grozin@gentoo.org> (23 Feb 2015)
+# Does not compile with this flag
+=dev-lisp/ecls-15.2.21 cpu_flags_x86_sse
+
+# Tim Harder <radhermit@gentoo.org> (11 Oct 2014)
+# Unmask skype support for unstable keywords
+net-im/bitlbee -skype
+
+# Mike Frysinger <vapier@gentoo.org> (04 Aug 2014)
+# Unmask flashrom drivers that only work on x86 due to in/out asm insns #454024
+sys-apps/flashrom -atahpt -nic3com -nicnatsemi -nicrealtek -rayer_spi -satamv
+
+# Jorge Manuel B. S. Vicetto <jmbsvicetto@gentoo.org> (24 Apr 2014)
+# It's only supported on amd64
+dev-db/mariadb -tokudb
+
+# Matt Turner <mattst88@gentoo.org> (07 Mar 2014)
+# media-libs/libomxil-bellagio keyworded on amd64/x86
+media-libs/mesa -openmax
+
+# Samuli Suominen <ssuominen@gentoo.org> (16 Feb 2014)
+# Still considered experimental by upstream:
+# http://sourceforge.net/p/mikmod/bugs/16/#17ea
+media-libs/libmikmod sse2
+media-libs/libmikmod cpu_flags_x86_sse2
+
+# Andreas K. Huettel <dilfridge@gentoo.org> (4 Jan 2014)
+# While globally masked, the needed amd64 keywords are already present
+dev-vcs/git -mediawiki
+
+# Sergey Popov <pinkbyte@gentoo.org> (27 Dec 2013)
+# Boost.Context can be built on amd64
+dev-libs/boost -context
+
+# Michał Górny <mgorny@gentoo.org> (15 Dec 2013)
+# mupen64plus' 2.0 new dynamic recompiler is supported on x86 and arm
+# only.
+games-emulation/mupen64plus-core new-dynarec
+
+# Jeff Horelick <jdhore@gentoo.org> (1 Sep 2013)
+# Dependency (media-libs/libsidplayfp) only keyworded
+# on x86 and amd64. (masked in base)
+>=media-plugins/audacious-plugins-3.4 -sid
+
+# Tim Harder <radhermit@gentoo.org> (13 Aug 2013)
+# dev-lang/luajit keyworded for amd64 (masked in base)
+# dev-scheme/racket keyworded for amd64 (masked in base)
+app-editors/vim -luajit -racket
+app-editors/gvim -luajit -racket
+
+# Kacper Kowalik <xarthisius@gentoo.org> (09 Aug 2013)
+# Works on amd64
+sys-apps/hwloc -cuda -gl -opencl
+
+# Michał Górny <mgorny@gentoo.org> (22 Jul 2013)
+# Meaningless on amd64 (it controls the 32-bit x86 JIT).
+dev-python/pypy cpu_flags_x86_sse2
+dev-python/pypy-bin cpu_flags_x86_sse2
+dev-python/pypy3 cpu_flags_x86_sse2
+dev-python/pypy3-bin cpu_flags_x86_sse2
+
+# Jeroen Roovers <jer@gentoo.org> (11 Jun 2013)
+# The debug version of www-plugins/adobe-flash is 32-bit only
+www-plugins/adobe-flash debug
+
+# Justin Lecher <jlec@gentoo.org> (21 Feb 2013)
+# cuda only works on x86 and amd64
+sci-libs/cholmod -cuda
+sci-libs/flann -cuda
+
+# Alexandre Rostovtsev <tetromino@gentoo.org> (30 Dec 2012)
+# sys-apps/biosdevname, systemd work on this arch (masked in base)
+sys-kernel/dracut -dracut_modules_biosdevname -dracut_modules_systemd
+
+# Alexandre Rostovtsev <tetromino@gentoo.org> (30 Dec 2012)
+# chromium, mono work on this arch (masked in base)
+gnome-extra/zeitgeist-datasources -chromium -tomboy
+
+# Christoph Jungans <ottxor@gentoo.org> (26 Dec 2012)
+# cuda/openmm works on x86/amd64 (masked in base)
+sci-chemistry/gromacs -cuda -mkl -openmm
+
+# Diego Elio Pettenò <flameeyes@gentoo.org> (3 Nov 2012)
+# Unmask here, as it's masked in base.
+net-libs/gnutls -dane
+
+# Johannes Huber <johu@gentoo.org> (15 Sep 2012)
+# Masked for stabilization as the use flag pulls a dep tree of hell.
+media-libs/phonon zeitgeist
+
+# Ben de Groot <yngwin@gentoo.org> (30 Jul 2012)
+# dependency keyworded here, masked in base
+media-libs/freetype -infinality
+
+# James Le Cuirot <chewi@gentoo.org> (20 May 2015)
+# Masked in base like the above.
+dev-java/icedtea -infinality
+
+# Rick Farina <zerochaos@gentoo.org> (05 July 2012)
+# masked in base, unmask x86/amd64 only
+app-crypt/johntheripper -cuda
+
+# Mike Gilbert <floppym@gentoo.org> (29 Jun 2012)
+# sys-fs/zfs is not available everywhere.
+sys-boot/grub -libzfs
+
+# Alexandre Rostovtsev <tetromino@gentoo.org> (12 Apr 2012)
+# Temporary mask-in-base, unmask-in-arch for dev-python/mako keywording for
+# gobject-introspection[doctool], bug #411761
+dev-libs/gobject-introspection -doctool
+
+# Michał Górny <mgorny@gentoo.org> (11 Apr 2012)
+# JIT compilation in libzpaq generates code for x86/amd64.
+app-arch/libzpaq -jit
+
+# Arun Raghavan <ford_prefect@gentoo.org> (29 Mar 2012)
+# webrtc-audio-processing is only supported on x86/amd64. Possibly arm can be
+# added.
+# Arun Raghavan <ford_prefect@gentoo.org> (24 May 2012)
+# Mask xen USE flag by default, unmask on x86/amd64 where it is supported.
+media-sound/pulseaudio -webrtc-aec -xen
+
+# Bernard Cafarelli <voyageur@gentoo.org> (27 Feb 2012)
+# Masked in base profile, supported on this arch
+gnustep-base/gnustep-make -libobjc2
+
+# Alexandre Rostovtsev <tetromino@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
+www-client/epiphany -jit
+www-client/midori -jit
+
+# Davide Pesavento <pesa@gentoo.org> (30 Nov 2011)
+# JavaScriptCore JIT is supported only on amd64/arm/x86,
+# so it's masked in base profile and unmasked here.
+dev-qt/qtscript -jit
+dev-qt/qtwebkit -jit
+
+# Samuli Suominen <ssuominen@gentoo.org> (16 Oct 2011)
+# Masked in base, unmask per arch
+gnome-base/gvfs -bluray
+
+# Nirbheek Chauhan <nirbheek@gentoo.org> (17 Sep 2011)
+# Systemtap is masked in base/package.use.mask
+# Temporarily unmask in amd64/x86, bug 384647
+dev-libs/glib -systemtap
+
+# Kacper Kowalik <xarthisius@gentoo.org> (29 Jul 2011)
+# mask assembler as it currently doesn't work
+dev-lang/path64 assembler
+
+# Robin H. Johnson <robbat2@gentoo.org> (10 Jul 2011)
+# PPS should work on all arches, but only keyworded on amd64/x86
+>=net-misc/ntp-4.2.6_p3-r1 -parse-clocks
+
+# Alexey Shvetsov <alexxy@gentoo.org> (1 Jul 2011)
+# Use mask infiniband for stable corosync and glusterfs
+=sys-cluster/glusterfs-3.1.2 infiniband
+=sys-cluster/corosync-1.3.0 infiniband
+
+# Luca Barbato <lu_zero@gentoo.org> (28 Feb 2011)
+# Masked in base, unmask for amd64/x86
+media-video/mplayer2 -bluray
+
+# Tim Harder <radhermit@gentoo.org> (13 Feb 2011)
+# Masked in base, unmask for amd64/x86
+>=media-video/mplayer-1.0_rc4_p20101219 -bluray
+
+# doomsday doesn't work on amd64 so mask off things that pull it in.
+games-fps/doom-data doomsday
+
+# Markos Chandras <hwoarang@gentoo.org> (19 Jan 2011)
+# Masking md5sum on mail-mta/ssmtp since it is broken on
+# earlier versions
+mail-mta/ssmtp md5sum
+
+# Chí-Thanh Christopher Nguyễn <chithanh@gentoo.org> (28 Nov 2010)
+# sys-devel/llvm is keyworded on amd64
+media-libs/mesa -llvm
+
+# Nirbheek Chauhna <nirbheek@gentoo.org> (26 Jun 2010)
+# Inter-process communication doesn't work on anything except x86/amd64/arm
+# due to lack of atomic ops, bug 325185
+www-client/firefox -ipc
+
+# Tomáš Chvátal <scarabeus@gentoo.org> (4 Apr 2010)
+# x86 platforms works
+sys-power/pm-utils -video_cards_intel -video_cards_radeon
+
+# Mounir Lamouri <volkmar@gentoo.org> (07 Nov 2009)
+# Masked in base, unmak for amd64/x86. Bug 267264
+media-gfx/k3d -cuda
+
+# Jean-Noël Rivasseau <elvanor@gentoo.org> (23 Sep 2009)
+# X use flag only for amd64/x86, bug 285951.
+media-gfx/iscan -X
+
+# Bernard Cafarelli <voyageur@gentoo.org> (20 Mar 2009)
+# Depends on packages not yet keyworded for amd64, cf bug #22042
+app-backup/backup-manager s3
+
+# Jeremy Olexa <darkside@gentoo.org> (07 Feb 2009)
+# USE=mmx on imlib2 causes issues with other apps. See bug 218382 (comments
+# 11-12)
+media-libs/imlib2 mmx
+media-libs/imlib2 cpu_flags_x86_mmx
+
+# Jeremy Olexa <darkside@gentoo.org> (27 Dec 2008)
+# Mask static USE flag because it just doesn't work on amd64. See bug 236591
+>=app-arch/p7zip-4.58 static
+
+# Jeremy Olexa <darkside@gentoo.org> (24 Dec 2008)
+# unmask USE=bindist on amd64 - also unmasking the other flags that were under a
+# bad comment heading. see bug #246144
+media-video/mplayer -cpudetection -custom-cpuopts -bindist
+
+# Tomas Chvatal <scarabeus@gentoo.org> (31 Jan 2009)
+# masked in base, unmask for x86/amd64
+sci-misc/boinc -cuda
+
+# Serkan Kaba <serkan@gentoo.org> (20 Jul 2008)
+app-text/enchant -zemberek
+
+# assembler-section
+
+# Oct 23th 2006; blubb@gentoo.org
+# the asm is 64bit save, but it doesn't compile anyway
+games-emulation/visualboyadvance mmx
+games-emulation/visualboyadvance cpu_flags_x86_mmx
+
+# Oct 23th 2006; blubb@gentoo.org
+# upstream forces sse2 for amd64; mmx flag does nothing
+app-crypt/johntheripper mmx
+app-crypt/johntheripper cpu_flags_x86_mmx
+
+# Oct 23th 2006; blubb@gentoo.org
+# x86 asm only:
+games-emulation/xmess mmx
+media-gfx/inkscape mmx
+media-libs/allegro mmx sse
+media-libs/libfame mmx
+media-libs/sdl-gfx mmx
+media-libs/smpeg mmx
+net-irc/xchat mmx
+net-irc/xchat-gnome mmx
+net-misc/asterisk mmx
+x11-terms/eterm mmx
+media-tv/xawtv mmx
+games-emulation/xmess cpu_flags_x86_mmx
+media-gfx/inkscape cpu_flags_x86_mmx
+media-libs/allegro cpu_flags_x86_mmx cpu_flags_x86_sse
+media-libs/libfame cpu_flags_x86_mmx
+media-libs/sdl-gfx cpu_flags_x86_mmx
+media-libs/smpeg cpu_flags_x86_mmx
+net-irc/xchat cpu_flags_x86_mmx
+net-irc/xchat-gnome cpu_flags_x86_mmx
+net-misc/asterisk cpu_flags_x86_mmx
+x11-terms/eterm cpu_flags_x86_mmx
+media-tv/xawtv cpu_flags_x86_mmx
+
+# x86_64 opts are enabled with USE sse. so masking the rest
+media-sound/mpg123 mmx 3dnow 3dnowext
+media-sound/mpg123 cpu_flags_x86_mmx cpu_flags_x86_3dnow cpu_flags_x86_3dnowext
+
+# 8 May 2007: Alistair Bush <ali_bush@gentoo.org>
+# Mask doc flag for fop as nearly impossible to
+# run javadoc target. see #177585
+>=dev-java/fop-0.93 doc
+
+# 8 Aug 2008: Alexis Ballier <aballier@gentoo.org>
+# x86 asm only, it won't be built on amd64 if mmx useflag is enabled but that
+# saves people from needlessly installing nasm
+# Refs bug #93279
+media-sound/lame mmx
+media-sound/lame cpu_flags_x86_mmx
+
+# Robert Buchholz <rbu@gentoo.org> (16 Aug 2008)
+# masked in base, unmask for x86/amd64
+dev-python/kaa-base -tls
diff --git a/profiles/arch/amd64/package.use.stable.mask b/profiles/arch/amd64/package.use.stable.mask
new file mode 100644
index 00000000000..aea5783838b
--- /dev/null
+++ b/profiles/arch/amd64/package.use.stable.mask
@@ -0,0 +1,61 @@
+# 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. Please be extremely
+# careful not to commit atoms that are not valid, as it can cause large-scale
+# breakage, especially if it ends up in the daily snapshot.
+#
+## Example:
+##
+## # Dev E. Loper <developer@gentoo.org> (28 Jun 2012)
+## # Masking foo USE flag until we can get the
+## # foo stuff to work properly again (bug 12345)
+## =media-video/mplayer-0.90_pre5 foo
+## =media-video/mplayer-0.90_pre5-r1 foo
+#
+
+#--- END OF EXAMPLES ---
+
+# Mikle Kolyada <zlogene@gentoo.org> (14 Jun 2015)
+# app-emulation/lxc has no stable versions
+app-emulation/docker lxc
+
+# Yixun Lan <dlan@gentoo.org> (02 Apr 2015)
+# sys-fs/zfs is not stable.
+sys-cluster/ceph zfs
+
+# Pacho Ramos <pacho@gentoo.org> (08 Mar 2015)
+# mayavi is broken, bug #500104
+dev-python/apptools test
+
+# Michał Górny <mgorny@gentoo.org> (21 Feb 2015)
+# The external QCA plugins are not stable on this arch. Since
+# this is only a temporary measure and nothing depends on them,
+# just masking them until the new version goes stable.
+<app-crypt/qca-2.1 pkcs11
+
+# Tim Harder <radhermit@gentoo.org> (11 Oct 2014)
+# Masked since skype isn't stable
+net-im/bitlbee skype
+
+# Michał Górny <mgorny@gentoo.org> (30 Mar 2014)
+# Don't apply stable masks to python-exec since we're forcing every
+# impl there anyway. Please keep this in sync with use.stable.mask.
+dev-lang/python-exec -python_targets_pypy
+dev-lang/python-exec -python_single_target_pypy
+dev-lang/python-exec -python_targets_pypy3
+dev-lang/python-exec -python_single_target_pypy3
+
+# Mike Gilbert <floppym@gentoo.org> (22 Mar 2014)
+# sys-fs/zfs is not stable.
+sys-boot/grub libzfs
+
+# Tom Wijsman <TomWij@gentoo.org> (06 Feb 2014)
+# [QA] Masked jit USE flag on www-apps/cgit as dev-lang/luajit is not stable.
+www-apps/cgit jit
+
+# Ben de Groot <yngwin@gentoo.org (19 Apr 2015)
+# >=opus-1.0.3 is still not stable (bug 500868)
+media-video/vlc opus
diff --git a/profiles/arch/amd64/parent b/profiles/arch/amd64/parent
new file mode 100644
index 00000000000..d8d1efff845
--- /dev/null
+++ b/profiles/arch/amd64/parent
@@ -0,0 +1,2 @@
+../base
+../../features/multilib/lib32
diff --git a/profiles/arch/amd64/use.force b/profiles/arch/amd64/use.force
new file mode 100644
index 00000000000..53a33330f09
--- /dev/null
+++ b/profiles/arch/amd64/use.force
@@ -0,0 +1,6 @@
+# Force the flag which corresponds to ARCH.
+amd64
+
+# Michał Górny <mgorny@gentoo.org> (26 Jan 2013)
+# Force the flag corresponding to the default ABI.
+abi_x86_64
diff --git a/profiles/arch/amd64/use.mask b/profiles/arch/amd64/use.mask
new file mode 100644
index 00000000000..a2e13dfaf18
--- /dev/null
+++ b/profiles/arch/amd64/use.mask
@@ -0,0 +1,231 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+# Unmask the flag which corresponds to ARCH.
+-amd64
+
+# SECTION: Unmask
+
+# cilk has been ported to this arch.
+-cilk
+
+# Mike Gilbert <floppym@gentoo.org> (19 Oct 2014)
+# sys-libs/libapparmor
+-apparmor
+
+# Alexey Shvetsov <alexxy@gentoo.org> (08 Apr 2014)
+# Cuda works here
+-cuda
+
+# Michał Górny <mgorny@gentoo.org> (30 Mar 2014)
+# PyPy is keyworded on this arch.
+-python_targets_pypy
+-python_single_target_pypy
+-python_targets_pypy3
+-python_single_target_pypy3
+
+# Michał Górny <mgorny@gentoo.org> (4 May 2013)
+# Unmask systemd since it is keyworded here.
+-systemd
+
+# Andrey Grozin <grozin@gentoo.org> (25 Jun 2014)
+# keyworded on amd64
+-clisp
+-clozurecl
+-ecls
+-gcl
+-sbcl
+
+# Michał Górny <mgorny@gentoo.org> (26 Jan 2013)
+# Unmask the multilib flags for this arch.
+-abi_x86_32
+-abi_x86_64
+
+# Alexandre Rostovtsev <tetromino@gentoo.org> (09 Dec 2012)
+# Orc optimisations work fine on amd64 and x86
+-orc
+
+# Diego Elio Pettenò <flameeyes@gentoo.org> (21 Aug 2012)
+# IPMI is only implemented for x86, amd64 and ia64
+-ipmi
+
+# Ralph Sennhauser <sera@gentoo.org> (31 Jul 2012)
+# Keyworded on amd64
+-python_targets_jython2_5
+-python_single_target_jython2_5
+-python_targets_jython2_7
+-python_single_target_jython2_7
+
+# Joerg Bornkessel <hd_brummy@gentoo.org> (05. Mar 2012)
+# Unmask, works with v4l2, #350211
+-dxr3
+
+# Justin Lecher <jlec@gentoo.org> (04. Feb 2012)
+# Unmask because deps are keyworded
+-zeitgeist
+
+# 2011/12/22 - Alexis Ballier <aballier@gentoo.org>
+# Unmask vdpau as its supported here
+-vdpau
+
+# 2011/07/01 - Alexey Shvetsov <alexxy@gentoo.org>
+# Infiniband stuff works here
+-infiniband
+
+# 2010/02/14 - Samuli Suominen <ssuominen@gentoo.org>
+# Unmask amd64/x86 only SANE_BACKENDS
+-sane_backends_canon_pp
+-sane_backends_hpsj5s
+-sane_backends_mustek_pp
+-sane_backends_qcam
+
+# 2010/05/03 - Alex Legler <a3li@gentoo.org>
+# Add support for Ruby Enterprise Edition targets where rubyee is available
+# -ruby_targets_ree18
+
+# 2010/01/08 - Diego E. Pettenò <flameeyes@gentoo.org>
+# Add support for JRuby targets where jruby is available
+# -ruby_targets_jruby
+
+# 2011/10/21 - Hans de Graaff <graaff@gentoo.org>
+# Add support for Rubinius targets where rbx is available
+#-ruby_targets_rbx
+
+# Lilo works on amd64, so ...
+-lilo
+
+# 2007/10/09 - Steve Dibb <beandog@gentoo.org>
+# Unmask support for SSSE3 (pni) for media-video/mplayer
+-ssse3
+
+# 2007/08/19 - Christoph Mende <angelos@gentoo.org>
+# Unmask support for dev-db/oracle-instantclient-basic
+-oci8-instant-client
+-oracle
+
+# 2007/03/10 - Mike Frysinger <vapier@gentoo.org>
+# NVRAM works on x86/amd64 hosts
+-nvram
+
+# 2005/09/14 - Diego Pettenò <flameeyes@gentoo.org>
+# nVidia XvMC support works on amd64
+-nvidia
+
+# 2005/12/01 - Daniel Gryniewicz <dang@gentoo.org>
+# There is now a kqemu that works and is stable on amd64
+-kqemu
+
+# 2006/03/03 - Luca Barbato <lu_zero@gentoo.org>
+# codec support x264
+-x264
+
+# 2006/01/28 - Donnie Berkholz <dberkholz@gentoo.org>
+# Modular X: unmask for architectures on which they are available
+-input_devices_synaptics
+-input_devices_virtualbox
+-input_devices_vmmouse
+-input_devices_wacom
+-video_cards_nvidia
+-video_cards_fglrx
+-video_cards_via
+-video_cards_virtualbox
+-video_cards_vmware
+-video_cards_qxl
+
+# Diego Pettenò <flameeyes@gentoo.org> (4 Jan 2007)
+# Unmask the flags for PHP that are available only on x86/amd64
+-oci8
+-oracle7
+-db2
+
+# Feb 16th 2007; Simon Stelling <blubb@gentoo.org>
+# Since this profile forces >=portage-2.1.2, we can unmask all
+# SIMD assembler flags
+-mmx
+-mmxext
+-sse
+-sse2
+-sse3
+-sse4
+-sse4a
+-sse4_1
+-sse4_2
+-avx
+-avx128fma
+-avx2
+-avx256
+-3dnow
+-3dnowext
+-fma3
+-fma4
+-xop
+-cpu_flags_x86_3dnow
+-cpu_flags_x86_3dnowext
+-cpu_flags_x86_aes
+-cpu_flags_x86_avx
+-cpu_flags_x86_avx2
+-cpu_flags_x86_fma3
+-cpu_flags_x86_fma4
+-cpu_flags_x86_mmx
+-cpu_flags_x86_mmxext
+-cpu_flags_x86_padlock
+-cpu_flags_x86_popcnt
+-cpu_flags_x86_sse
+-cpu_flags_x86_sse2
+-cpu_flags_x86_sse3
+-cpu_flags_x86_sse4_1
+-cpu_flags_x86_sse4_2
+-cpu_flags_x86_sse4a
+-cpu_flags_x86_ssse3
+-cpu_flags_x86_xop
+
+# George Shapovalov <george@gentoo.org> (8 Apr 2007)
+# supported on amd64
+-ada
+
+# Robert Buchholz <rbu@gentoo.org> (03 Jun 2007)
+# Unmask as it works on amd64
+-lcd_devices_luise
+
+# SECTION: Unavailable/Broken
+
+# 2007/01/18 - Jeffrey Gardner <je_fro@gentoo.org>
+# Mask gamess support temporarily.
+gamess
+
+# 2006/12/21 - Diego Pettenò <flameeyes@gentoo.org>
+# Mask some ALSA cards that are known broken in AMD64
+alsa_cards_cs5535audio
+
+# 2006/06/07 - Danny van Dyk <kugelfang@gentoo.org>
+# FIXME. Unknown mask reason. Has effect on qpopper
+# and tpop3d.
+drac
+
+# 2006/02/05 - Donnie Berkholz <dberkholz@gentoo.org>
+# Modular X: mask for architectures on which they aren't available
+video_cards_i740
+video_cards_newport
+video_cards_nsc
+
+# 2004/10/06 - Jeremy Huddleston <eradicator@gentoo.org>
+# sys-cluster/pvm won't build
+pvm
+
+# 2004/06/22 - Taken from 2004.0 profile
+# masked
+3dfx
+
+# 2007/02/02 - Simon Stelling <blubb@gentoo.org>
+# we don't have no gcc64; bug 144535
+gcc64
+
+# 2007/02/04 - Simon Stelling <blubb@gentoo.org>
+# games-emulation/caps is 32bit only, while app-emulation/e-uae is 64bit; bug 158416
+capslib
+
+# fdk-aac is already keyworded here
+-fdk
+
+# NOT NECESSARY - SECTION
diff --git a/profiles/arch/amd64/use.stable.mask b/profiles/arch/amd64/use.stable.mask
new file mode 100644
index 00000000000..a27a3da220a
--- /dev/null
+++ b/profiles/arch/amd64/use.stable.mask
@@ -0,0 +1,22 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+# This file requires eapi 5 or later. New entries go on top.
+# Please use the same syntax as in use.mask
+
+# Mike Gilbert <floppym@gentoo.org> (19 Oct 2014)
+# sys-libs/libapparmor
+apparmor
+
+# Andrey Grozin <grozin@gentoo.org> (25 Jun 2014)
+# no stable versions on amd64
+clozurecl
+gcl
+
+# Michał Górny <mgorny@gentoo.org> (30 Mar 2014)
+# PyPy is unstable on this arch.
+python_targets_pypy
+python_single_target_pypy
+python_targets_pypy3
+python_single_target_pypy3
diff --git a/profiles/arch/amd64/x32/eapi b/profiles/arch/amd64/x32/eapi
new file mode 100644
index 00000000000..7ed6ff82de6
--- /dev/null
+++ b/profiles/arch/amd64/x32/eapi
@@ -0,0 +1 @@
+5
diff --git a/profiles/arch/amd64/x32/make.defaults b/profiles/arch/amd64/x32/make.defaults
new file mode 100644
index 00000000000..9288ceb1b65
--- /dev/null
+++ b/profiles/arch/amd64/x32/make.defaults
@@ -0,0 +1,20 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+DEFAULT_ABI="x32"
+ABI="x32"
+MULTILIB_ABIS="amd64 x86 x32"
+
+FEATURES="collision-protect multilib-strict"
+
+SYMLINK_LIB="no"
+
+# Michał Górny <mgorny@gentoo.org> (01 Jul 2014)
+# Default to abi_x86_x32 for packages that don't have it forced.
+ABI_X86="x32"
+
+# Michał Górny <mgorny@gentoo.org> (25 Jun 2014)
+# Make the native ABI implicit so that MULTILIB_USEDEP can be satisfied
+# by non-multilib ebuilds when non-native ABIs are disabled.
+IUSE_IMPLICIT="-abi_x86_64 abi_x86_x32"
diff --git a/profiles/arch/amd64/x32/package.mask b/profiles/arch/amd64/x32/package.mask
new file mode 100644
index 00000000000..ea4985aada4
--- /dev/null
+++ b/profiles/arch/amd64/x32/package.mask
@@ -0,0 +1,9 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+# Pawel Hajdan jr <phajdan.jr@gentoo.org> (07 Oct 2012)
+# V8 upstream said they won't support x32, bug #423815
+# Masked packages containing V8.
+net-libs/nodejs
+www-client/chromium
diff --git a/profiles/arch/amd64/x32/package.use.mask b/profiles/arch/amd64/x32/package.use.mask
new file mode 100644
index 00000000000..2d4e9a4ee68
--- /dev/null
+++ b/profiles/arch/amd64/x32/package.use.mask
@@ -0,0 +1,14 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+# This file requires >=portage-2.1.1
+
+# Alexandre Rostovtsev <tetromino@gentoo.org> (03 Mar 2013)
+# Wine is x86- and x64-only
+app-emulation/wine abi_x86_x32
+
+# Davide Pesavento <pesa@gentoo.org> (30 Nov 2011)
+# JavaScriptCore JIT doesn't currently work on x32.
+dev-qt/qtscript jit
+dev-qt/qtwebkit jit
diff --git a/profiles/arch/amd64/x32/parent b/profiles/arch/amd64/x32/parent
new file mode 100644
index 00000000000..6ee1b9eff10
--- /dev/null
+++ b/profiles/arch/amd64/x32/parent
@@ -0,0 +1,2 @@
+..
+../../../features/multilib
diff --git a/profiles/arch/amd64/x32/use.force b/profiles/arch/amd64/x32/use.force
new file mode 100644
index 00000000000..88868c58e33
--- /dev/null
+++ b/profiles/arch/amd64/x32/use.force
@@ -0,0 +1,5 @@
+# Michał Górny <mgorny@gentoo.org> (26 Jan 2013)
+# Force the flag corresponding to the default ABI, and unforce generic
+# one.
+abi_x86_x32
+-abi_x86_64
diff --git a/profiles/arch/amd64/x32/use.mask b/profiles/arch/amd64/x32/use.mask
new file mode 100644
index 00000000000..d31d560ea02
--- /dev/null
+++ b/profiles/arch/amd64/x32/use.mask
@@ -0,0 +1,7 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+# Michał Górny <mgorny@gentoo.org> (26 Jan 2013)
+# Unmask the x32 ABI.
+-abi_x86_x32
diff --git a/profiles/arch/arm/armv4/eapi b/profiles/arch/arm/armv4/eapi
new file mode 100644
index 00000000000..7ed6ff82de6
--- /dev/null
+++ b/profiles/arch/arm/armv4/eapi
@@ -0,0 +1 @@
+5
diff --git a/profiles/arch/arm/armv4/make.defaults b/profiles/arch/arm/armv4/make.defaults
new file mode 100644
index 00000000000..7dede6e9e7d
--- /dev/null
+++ b/profiles/arch/arm/armv4/make.defaults
@@ -0,0 +1,5 @@
+CHOST="armv4l-unknown-linux-gnu"
+CFLAGS="-O2 -pipe -march=armv4"
+CXXFLAGS="${CFLAGS}"
+FFLAGS="${CFLAGS}"
+FCFLAGS="${CFLAGS}"
diff --git a/profiles/arch/arm/armv4/parent b/profiles/arch/arm/armv4/parent
new file mode 100644
index 00000000000..f3229c5b987
--- /dev/null
+++ b/profiles/arch/arm/armv4/parent
@@ -0,0 +1 @@
+..
diff --git a/profiles/arch/arm/armv4t/eapi b/profiles/arch/arm/armv4t/eapi
new file mode 100644
index 00000000000..7ed6ff82de6
--- /dev/null
+++ b/profiles/arch/arm/armv4t/eapi
@@ -0,0 +1 @@
+5
diff --git a/profiles/arch/arm/armv4t/make.defaults b/profiles/arch/arm/armv4t/make.defaults
new file mode 100644
index 00000000000..c99eb3fbd66
--- /dev/null
+++ b/profiles/arch/arm/armv4t/make.defaults
@@ -0,0 +1,5 @@
+CHOST="armv4tl-softfloat-linux-gnueabi"
+CFLAGS="-O2 -pipe -march=armv4t"
+CXXFLAGS="${CFLAGS}"
+FFLAGS="${CFLAGS}"
+FCFLAGS="${CFLAGS}"
diff --git a/profiles/arch/arm/armv4t/parent b/profiles/arch/arm/armv4t/parent
new file mode 100644
index 00000000000..f3229c5b987
--- /dev/null
+++ b/profiles/arch/arm/armv4t/parent
@@ -0,0 +1 @@
+..
diff --git a/profiles/arch/arm/armv5te/eapi b/profiles/arch/arm/armv5te/eapi
new file mode 100644
index 00000000000..7ed6ff82de6
--- /dev/null
+++ b/profiles/arch/arm/armv5te/eapi
@@ -0,0 +1 @@
+5
diff --git a/profiles/arch/arm/armv5te/make.defaults b/profiles/arch/arm/armv5te/make.defaults
new file mode 100644
index 00000000000..4c5a401c220
--- /dev/null
+++ b/profiles/arch/arm/armv5te/make.defaults
@@ -0,0 +1,5 @@
+CHOST="armv5tel-softfloat-linux-gnueabi"
+CFLAGS="-O2 -pipe -march=armv5te"
+CXXFLAGS="${CFLAGS}"
+FFLAGS="${CFLAGS}"
+FCFLAGS="${CFLAGS}"
diff --git a/profiles/arch/arm/armv5te/parent b/profiles/arch/arm/armv5te/parent
new file mode 100644
index 00000000000..f3229c5b987
--- /dev/null
+++ b/profiles/arch/arm/armv5te/parent
@@ -0,0 +1 @@
+..
diff --git a/profiles/arch/arm/armv5te/use.mask b/profiles/arch/arm/armv5te/use.mask
new file mode 100644
index 00000000000..820df240882
--- /dev/null
+++ b/profiles/arch/arm/armv5te/use.mask
@@ -0,0 +1,2 @@
+# Unmask armv5 specific USE flags
+-armv5te
diff --git a/profiles/arch/arm/armv6j/eapi b/profiles/arch/arm/armv6j/eapi
new file mode 100644
index 00000000000..7ed6ff82de6
--- /dev/null
+++ b/profiles/arch/arm/armv6j/eapi
@@ -0,0 +1 @@
+5
diff --git a/profiles/arch/arm/armv6j/make.defaults b/profiles/arch/arm/armv6j/make.defaults
new file mode 100644
index 00000000000..b85e76c8b44
--- /dev/null
+++ b/profiles/arch/arm/armv6j/make.defaults
@@ -0,0 +1,5 @@
+CHOST="armv6j-hardfloat-linux-gnueabi"
+CFLAGS="-O2 -pipe -march=armv6j"
+CXXFLAGS="${CFLAGS}"
+FFLAGS="${CFLAGS}"
+FCFLAGS="${CFLAGS}"
diff --git a/profiles/arch/arm/armv6j/parent b/profiles/arch/arm/armv6j/parent
new file mode 100644
index 00000000000..f3229c5b987
--- /dev/null
+++ b/profiles/arch/arm/armv6j/parent
@@ -0,0 +1 @@
+..
diff --git a/profiles/arch/arm/armv6j/use.mask b/profiles/arch/arm/armv6j/use.mask
new file mode 100644
index 00000000000..a29ab8d8f85
--- /dev/null
+++ b/profiles/arch/arm/armv6j/use.mask
@@ -0,0 +1,4 @@
+# Unmask armv6 specific USE flags
+-armvfp
+-armv6
+-armv6t2
diff --git a/profiles/arch/arm/armv7a/eapi b/profiles/arch/arm/armv7a/eapi
new file mode 100644
index 00000000000..7ed6ff82de6
--- /dev/null
+++ b/profiles/arch/arm/armv7a/eapi
@@ -0,0 +1 @@
+5
diff --git a/profiles/arch/arm/armv7a/make.defaults b/profiles/arch/arm/armv7a/make.defaults
new file mode 100644
index 00000000000..2ca07ab4130
--- /dev/null
+++ b/profiles/arch/arm/armv7a/make.defaults
@@ -0,0 +1,5 @@
+CHOST="armv7a-hardfloat-linux-gnueabi"
+CFLAGS="-O2 -pipe -march=armv7-a"
+CXXFLAGS="${CFLAGS}"
+FFLAGS="${CFLAGS}"
+FCFLAGS="${CFLAGS}"
diff --git a/profiles/arch/arm/armv7a/package.mask b/profiles/arch/arm/armv7a/package.mask
new file mode 100644
index 00000000000..f07ce777f87
--- /dev/null
+++ b/profiles/arch/arm/armv7a/package.mask
@@ -0,0 +1,7 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+# James Le Cuirot <chewi@gentoo.org> (24 May 2015)
+# This is built for armv7a so unmask against the wider arm mask.
+-dev-java/icedtea-bin
diff --git a/profiles/arch/arm/armv7a/package.use.mask b/profiles/arch/arm/armv7a/package.use.mask
new file mode 100644
index 00000000000..ef2c32d7f1e
--- /dev/null
+++ b/profiles/arch/arm/armv7a/package.use.mask
@@ -0,0 +1,12 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+# Pacho Ramos <pacho@gentoo.org> (25 Jan 2015)
+# 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). Only in arm7 profile
+# because webkit-gtk only reliable tests webkit-gtk on this and JIT support is likely
+# to break in several ways on every version bump on non-arm7 (#523400)
+net-libs/webkit-gtk -jit
+www-client/epiphany -jit
+www-client/midori -jit
diff --git a/profiles/arch/arm/armv7a/parent b/profiles/arch/arm/armv7a/parent
new file mode 100644
index 00000000000..f3229c5b987
--- /dev/null
+++ b/profiles/arch/arm/armv7a/parent
@@ -0,0 +1 @@
+..
diff --git a/profiles/arch/arm/armv7a/use.force b/profiles/arch/arm/armv7a/use.force
new file mode 100644
index 00000000000..dd1d1c7a1ec
--- /dev/null
+++ b/profiles/arch/arm/armv7a/use.force
@@ -0,0 +1,4 @@
+# armv7 has these instruction sets
+armv5te
+armv6
+armv6t2
diff --git a/profiles/arch/arm/armv7a/use.mask b/profiles/arch/arm/armv7a/use.mask
new file mode 100644
index 00000000000..ff06e5bbabd
--- /dev/null
+++ b/profiles/arch/arm/armv7a/use.mask
@@ -0,0 +1,6 @@
+# Unmask armv7 specific USE flags
+-neon
+-armvfp
+-armv5te
+-armv6
+-armv6t2
diff --git a/profiles/arch/arm/eapi b/profiles/arch/arm/eapi
new file mode 100644
index 00000000000..7ed6ff82de6
--- /dev/null
+++ b/profiles/arch/arm/eapi
@@ -0,0 +1 @@
+5
diff --git a/profiles/arch/arm/make.defaults b/profiles/arch/arm/make.defaults
new file mode 100644
index 00000000000..29c6b2b6ca0
--- /dev/null
+++ b/profiles/arch/arm/make.defaults
@@ -0,0 +1,20 @@
+# Main ARM profile
+
+ARCH="arm"
+ACCEPT_KEYWORDS="arm"
+
+CHOST="arm-unknown-linux-gnu"
+CFLAGS="-O2"
+CXXFLAGS="${CFLAGS}"
+FFLAGS="${CFLAGS}"
+FCFLAGS="${CFLAGS}"
+
+MULTILIB_ABIS="arm"
+DEFAULT_ABI="arm"
+ABI=${DEFAULT_ABI}
+LIBDIR_arm="lib"
+CHOST_arm="${CHOST}"
+
+# 2006/08/18 - Donnie Berkholz <dberkholz@gentoo.org>
+# Defaults for video drivers
+VIDEO_CARDS="exynos fbdev omap omapfb"
diff --git a/profiles/arch/arm/package.mask b/profiles/arch/arm/package.mask
new file mode 100644
index 00000000000..8398d4ea745
--- /dev/null
+++ b/profiles/arch/arm/package.mask
@@ -0,0 +1,12 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+# James Le Cuirot <chewi@gentoo.org> (24 May 2015)
+# This is built for armv7a so mask here and unmask in that profile.
+dev-java/icedtea-bin
+
+# Zac Medico <zmedico@gentoo.org> (09 Aug 2011)
+# Bug #377907 - Use package.mask for compatibility with PMS section 5.2.7, and
+# future versions of sys-apps/portage.
+<sys-devel/gcc-3.2
diff --git a/profiles/arch/arm/package.use b/profiles/arch/arm/package.use
new file mode 100644
index 00000000000..2c387908f2a
--- /dev/null
+++ b/profiles/arch/arm/package.use
@@ -0,0 +1,7 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+# Ben de Groot <yngwin@gentoo.org> (03 May 2015)
+# Enable luajit (for OSC) by default
+media-video/mpv lua luajit
diff --git a/profiles/arch/arm/package.use.force b/profiles/arch/arm/package.use.force
new file mode 100644
index 00000000000..9ffc44d61e5
--- /dev/null
+++ b/profiles/arch/arm/package.use.force
@@ -0,0 +1,8 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+# Anthony G. Basile <blueness@gentoo.org> (11 Nov 2012)
+# Only gnome-base/gdm has stable keywording. If x11-misc/lightdm or kde-base/kdm
+# gets stable keyword, this line can be removed.
+x11-misc/xscreensaver gdm
diff --git a/profiles/arch/arm/package.use.mask b/profiles/arch/arm/package.use.mask
new file mode 100644
index 00000000000..c6e4e7a8131
--- /dev/null
+++ b/profiles/arch/arm/package.use.mask
@@ -0,0 +1,483 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+# Ben de Groot <yngwin@gentoo.org> (03 May 2015)
+# media-libs/rubberband lacks arm keyword, bug 548446
+media-video/mpv rubberband
+
+# Patrick Lauer <patrick@gentoo.org> (20 Apr 2015)
+# qt5/kf5 not keyworded on arm
+net-irc/quassel qt5
+
+# Markos Chandras <hwoarang@gentoo.org> (18 Apr 2015)
+# samba-4 not keyworded on arm
+sys-auth/sssd samba
+
+# Markus Meier <maekke@gentoo.org> (03 Apr 2015)
+# Deps not yet stable or keyworded
+=media-libs/libsdl2-2.0.3-r200 fusionsound
+
+# Alexis Ballier <aballier@gentoo.org> (02 Apr 2015)
+# Needs ilmbase (openexr), which does not build and is masked on arm.
+media-libs/freeimage tiff
+
+# Markus Meier <maekke@gentoo.org> (03 Mar 2015)
+# Unkeyworded deps, bug #540540
+sys-auth/sssd augeas
+
+# Michał Górny <mgorny@gentoo.org> (21 Feb 2015)
+# The external QCA plugins are not keyworded on this arch. Since
+# this is only a temporary measure and nothing depends on them,
+# just masking them until the new version goes stable.
+<app-crypt/qca-2.1 logger pkcs11 sasl
+
+# Jason A. Donenfeld <zx2c4@gentoo.org> (09 Feb 2015)
+# Google does not distribute the widevine plugin for ARM. It must be extracted from a Chromebook,
+# and this kind of reverse engineering work likely violates many agreements, so we mask the flag.
+www-client/chromium widevine
+
+# Markos Chandras <hwoarang@gentoo.org> (07 Feb 2015)
+# app-admin/cgmanager misses ARM keyword. Bug #539208
+app-emulation/lxc cgmanager
+
+# Markus Meier <maekke@gentoo.org> (17 Jan 2015)
+# Unkeyworded deps, bug #536226
+net-misc/strongswan strongswan_plugins_unbound
+
+# Markus Meier <maekke@gentoo.org> (17 Jan 2015)
+# Unkeyworded deps, bug #533404
+net-im/gajim jingle gnome kde
+
+# Alexis Ballier <aballier@gentoo.org> (06 Jan 2015)
+# sci-libs/xkaapi does not build here on armv7
+sci-libs/vtk kaapi
+
+# Benda Xu <heroxbd@gentoo.org> (03 Jan 2015)
+# not tested
+app-i18n/anthy canna-2ch
+app-i18n/scim-anthy kasumi
+
+# Gilles Dartiguelongue <eva@gentoo.org> (23 Dec 2014)
+# New dependencies for wayland support in Gnome 3.14
+# See bug #533420.
+media-libs/clutter egl
+x11-wm/mutter kms
+
+# Markus Meier <maekke@gentoo.org> (29 Nov 2014)
+# Unkeyworded deps, bug #518742
+dev-python/ipython doc
+dev-python/oct2py doc
+
+# Patrick Lauer <patrick@gentoo.org> (19 Nov 2014)
+# Missing keywords #529820
+app-office/libreoffice collada
+
+# Michael Weber <xmw@gentoo.org> (15 Nov 2014)
+# missing keywords on media-libs/libharu
+www-client/netsurf pdf-writer
+
+# Markus Meier <maekke@gentoo.org> (14 Nov 2014)
+# Unkeyworded deps, bug #511532
+net-im/prosody libevent mysql postgres sqlite
+
+# Alexis Ballier <aballier@gentoo.org> (24 Oct 2014)
+# sci-libs/hdf is not supported on arm
+sci-libs/netcdf hdf
+
+# Markus Meier <maekke@gentoo.org> (23 Oct 2014)
+# Unkeyworded deps, bug #523468
+net-misc/networkmanager teamd
+
+# Markus Meier <maekke@gentoo.org> (24 Sep 2014)
+# Unkeyworded deps, bug #519618
+sys-block/fio glusterfs rbd
+
+# Rick Farina <zerochaos@gentoo.org> (27 Jul 2014)
+# net-misc/dahdi doesn't build
+net-voip/yate dahdi
+
+# Rick Farina <zerochaos@gentoo.org> (22 Jul 2014)
+# sci-libs/mpir doesn't build
+dev-python/gmpy mpir
+
+# Maxim Koltsov <maksbotan@gentoo.org> (9 Jul 2014)
+# Missing keywords on dev-python/rst2pdf, bug #515222
+media-video/mpv doc-pdf
+
+# Markus Meier <maekke@gentoo.org> (24 Jun 2014)
+# Unkeyworded deps, bug #513108
+>=net-misc/spice-gtk-0.25 smartcard
+
+# Jauhien Piatlicki <jauhien@gentoo.org> (29 May 2014)
+# Unkeyworded deps
+lxqt-base/lxqt-meta lximage
+
+# Markus Meier <maekke@gentoo.org> (04 May 2014)
+# Unkeyworded deps, bug #509082
+mail-filter/opendkim opendbx
+
+# Markus Meier <maekke@gentoo.org> (04 May 2014)
+# Unkeyworded deps, bug #507896
+dev-qt/qt-mobility messaging
+
+# Julian Ospald <hasufell@gentoo.org> (20 Apr 2014)
+# Missing keywords, bug #508226
+media-video/mpv sdl
+
+# S. Suominen <ssuominen@g.o> (17 Apr 2014)
+# First GTK+-3.x version of EasyTAG!
+# Keyword as reqiuired, ~arch is enough for now:
+# media-libs/opusfile for USE opus
+# media-libs/opus for USE opus
+# app-text/apadata-tools for FEAATURES and USE test
+# Do it! No reason to ask permission before!
+>=media-sound/easytag-2.2.0 opus test
+
+# Johannes Huber <johu@gentoo.org> (16 Apr 2014)
+# unkeyworded deps
+kde-apps/gwenview semantic-desktop
+kde-apps/okular dpi
+kde-apps/nepomuk-core migrator
+
+# Yixun Lan <dlan@gentoo.org> (12 Apr 2014)
+# app-emulation/qemu is not keyworded on arm arch.
+app-emulation/xen-tools system-qemu
+
+# Markus Meier <maekke@gentoo.org> (25 Feb 2014)
+# stable reverse deps of media-libs/libquvi, bug #495254
+=dev-libs/totem-pl-parser-2.32.6-r3 quvi
+=media-video/mplayer2-2.0_p20130126 quvi
+=media-video/mplayer2-2.0_p20130428-r1 quvi
+
+# Markus Meier <maekke@gentoo.org> (23 Feb 2014)
+# Needs sci-physics/bullet tested #499974
+dev-libs/efl physics
+
+# Jason A. Donenfeld <zx2c4@gentoo.org> (27 Jan 2014)
+# luajit isn't keyworded for arm yet, which is a bummer
+net-im/prosody jit
+
+# Rick Farina <zerochaos@gentoo.org> (09 Jan 2014)
+# rjb doesn't work on arm, so no java hacks for metasploit
+net-analyzer/metasploit java
+
+# Julian Ospald <hasufell@gentoo.org> (04 Jan 2014)
+# no keyword for media-libs/swfdec and media-libs/libtimidity
+>=dev-libs/DirectFB-1.7.1 timidity swfdec
+
+# Markus Meier <maekke@gentoo.org> (26 Dec 2013)
+# Unkeyworded deps, bug #493780
+=dev-ruby/rack-1.4.5 test
+
+# Markus Meier <maekke@gentoo.org> (26 Dec 2013)
+# Unkeyworded deps, bug #488724
+app-office/gnumeric libgda
+
+# Pacho Ramos <pacho@gentoo.org> (28 Nov 2013)
+# Missing keywords, bug #492820
+net-im/telepathy-connection-managers sipe
+
+# Chí-Thanh Christopher Nguyễn <chithanh@gentoo.org> (10 Nov 2013)
+# <sys-devel/llvm-3.2 is not keyworded
+=media-libs/mesa-7.10* llvm
+
+# Pacho Ramos <pacho@gentoo.org> (31 Oct 2013)
+# Missing keywords, bug #478254
+gnome-base/gnome classic extras
+
+# Benda Xu <heroxbd@gentoo.org> (31 Oct 2013)
+# Missing keywords from dev-ml/lablgtk, bug #487722
+net-p2p/mldonkey gtk guionly
+
+# Tom Wijsman <TomWij@gentoo.org> (16 Oct 2013)
+# Mask luajit on ~media-video/mpv-0.2.0 because it only has amd64 x86 keywords. See bug #488318.
+>=media-video/mpv-0.2.0 luajit
+
+# Pacho Ramos <pacho@gentoo.org> (22 Sep 2013)
+# Missing keywords, bug #484734
+media-sound/rhythmbox visualizer
+
+# Markus Meier <maekke@gentoo.org> (15 Sep 2013)
+# Unkeyworded deps, bug #481462
+dev-python/ipython nbconvert
+
+# Johannes Huber <johu@gentoo.org> (15 Sep 2013)
+# Depends on kde-misc/networkmanagement, not keyworded yet.
+kde-apps/solid-runtime networkmanager
+
+# Sergey Popov <pinkbyte@gentoo.org> (06 Sep 2013)
+# sci-libs/hdf does not build properly on arm
+# sci-libs/plplot not keyworded
+dev-perl/PDL hdf plplot
+
+# Michael Weber <xmw@gentoo.org> (23 Aug 2013)
+# Unkeyworded deps
+media-gfx/fim graphicsmagick svg
+
+# Markus Meier <maekke@gentoo.org> (04 Aug 2013)
+# Unkeyworded deps, bug #474026
+app-admin/conky lua-cairo lua-imlib xmms2 audacious moc
+
+# Sergey Popov <pinkbyte@gentoo.org> (30 Jul 2013)
+# Not tested
+media-libs/devil allegro nvtt
+
+# Agostino Sarubbo <ago@gentoo.org> (23 Jul 2013)
+# java is not stable on arm
+dev-libs/protobuf java
+
+# Chí-Thanh Christopher Nguyễn <chithanh@gentoo.org> (13 Jul 2013)
+# requires net-misc/freerdp which is not keyworded on arm
+dev-libs/weston rdp
+
+# Patrick Lauer <patrick@gentoo.org> (17 June 2013)
+# Fix per-arch mask of phonon[zeitgeist] #460140
+media-libs/phonon zeitgeist
+
+# Patrick Lauer <patrick@gentoo.org> (31 May 2013)
+# no stable jdk+java-config
+net-misc/tightvnc java
+
+# Andreas K. Huettel <dilfridge@gentoo.org> (27 May 2013)
+# Firmware loader not keyworded yet
+sci-libs/linux-gpib firmware
+
+# Markus Meier <maekke@gentoo.org> (11 May 2013)
+# unkeyworded deps for x11-wm/enlightenment
+x11-wm/enlightenment emotion
+
+# Markus Meier <maekke@gentoo.org> (10 May 2013)
+# unkeyworded deps for dev-python/ipython
+dev-python/ipython mongodb
+
+# Markus Meier <maekke@gentoo.org> (09 May 2013)
+# unkeyworded deps for x11-misc/lightdm
+x11-misc/lightdm razor kde
+
+# Agostino Sarubbo <ago@gentoo.org> (05 May 2013)
+# dev-util/google-perftools is not keyworded for arm
+>=dev-libs/libmemcached-0.50 tcmalloc
+
+# Christoph Junghans <ottxor@gentoo.org> (29 Apr 2013)
+# MKL not available on this arch
+media-gfx/povray mkl
+
+# Benda Xu <heroxbd@gentoo.org> (1 Apr 2013)
+# dev-ml/lablgtk not keyworded
+net-misc/unison gtk
+
+# Julian Ospald <hasufell@gentoo.org> (31 Mar 2013)
+# depends on mono
+>=net-irc/hexchat-2.9.4-r1 theme-manager
+
+# Agostino Sarubbo <ago@gentoo.org> (18 Mar 2013)
+# Mask java because of bug #461108 comment #7
+dev-libs/xapian-bindings java
+
+# Chí-Thanh Christopher Nguyễn <chithanh@gentoo.org> (20 Feb 2013)
+# Mask flags of calligra and dependencies due to lack of keywords
+app-office/calligra openexr postgres spacenav vc
+media-gfx/pstoedit emf
+
+# Rick Farina <zerochaos@gentoo.org> (05 Feb 2013)
+# masking all stable packages with java use flag
+net-misc/openconnect java
+dev-util/oprofile java
+=dev-db/qdbm-1.8.78-r1 java
+=dev-libs/beecrypt-4.2.1 java
+dev-libs/cyrus-sasl java
+=dev-libs/xapian-bindings-1.2.12 java
+=dev-libs/xapian-bindings-1.2.12-r1 java
+dev-tex/tex4ht java
+dev-vcs/subversion java
+=media-gfx/graphviz-2.26.3-r3 java
+=media-gfx/graphviz-2.26.3-r4 java
+=media-libs/libcaca-0.99_beta17 java
+=media-libs/libcaca-0.99_beta18-r2 java
+media-libs/libjpeg-turbo java
+net-dns/libidn java
+net-misc/tigervnc java
+net-print/cups java
+sys-devel/gettext java
+sys-libs/db java
+=www-client/seamonkey-2.0.14-r1 java
+
+# Alexandre Rostovtsev <tetromino@gentoo.org> (22 Jan 2013)
+# remove mask if/when media-gfx/argyllcms is keywored here.
+x11-misc/colord argyllcms extra-print-profiles
+
+# Alexandre Rostovtsev <tetromino@gentoo.org> (31 Dec 2012)
+# requires app-office/unoconv, which requires virtual/ooo, which is not
+# keyworded here. Remove mask if this situation changes.
+gnome-extra/sushi office
+
+# Alexandre Rostovtsev <tetromino@gentoo.org> (30 Dec 2012)
+# sys-apps/systemd works on this arch (masked in base)
+sys-kernel/dracut -dracut_modules_systemd
+
+# Alexandre Rostovtsev <tetromino@gentoo.org> (30 Dec 2012)
+# requires dev-util/bustle, which is written in haskell
+# remove mask if/when dev-lang/ghc is keywoded for arm
+dev-util/dbus-test-runner test
+
+# Alexandre Rostovtsev <tetromino@gentoo.org> (27 Dec 2012)
+# remove mask when app-text/yelp-tools is keyworded here
+>=gnome-extra/zenity-3.6 test
+
+# Alexandre Rostovtsev <tetromino@gentoo.org> (27 Dec 2012)
+# remove mask when >=app-editors/gedit-3.6 is keyworded here
+dev-util/devhelp gedit
+
+# Alexandre Rostovtsev <tetromino@gentoo.org> (27 Dec 2012)
+# remove mask when app-crypt/libsecret is keyworded here
+>=gnome-base/gvfs-1.14 gnome-keyring
+
+# Markus Meier <maekke@gentoo.org> (25 Dez 2012)
+# unkeyworded deps for app-accessibility/speech-dispatcher
+app-accessibility/speech-dispatcher flite
+
+# Markus Meier <maekke@gentoo.org> (23 Dec 2012)
+# mask kde-base/* flags due to unkeyworded dependencies
+kde-apps/kalzium editor solver
+kde-apps/krdc rdesktop
+kde-apps/kopete jingle msn sms
+kde-base/kdeplasma-addons fcitx oauth qwt scim
+kde-apps/okular ebook chm
+kde-apps/kstars indi
+kde-apps/kdeutils-meta floppy
+kde-apps/kdenetwork-meta ppp
+kde-base/smokeqt qscintilla qwt
+kde-base/qtruby qscintilla qwt
+kde-base/perlqt qscintilla qwt
+
+# Alexandre Rostovtsev <tetromino@gentoo.org> (15 Dec 2012)
+# media-video/coherence not keyworded
+=media-video/totem-2* upnp-av
+
+# Markus Meier <maekke@gentoo.org> (08 Dec 2012)
+# mask app-office/libreoffice java extensions
+app-office/libreoffice libreoffice_extensions_scripting-beanshell libreoffice_extensions_scripting-javascript libreoffice_extensions_wiki-publisher coinmp gltf
+
+# Markus Meier <maekke@gentoo.org> (17 Oct 2012)
+# spidermonkey is broken on arm see bug #420471
+=net-libs/libproxy-0.4.10 spidermonkey
+
+# Steev Klimaszewski <steev@gentoo.org> (03 Aug 2012)
+# No java on ARM
+net-analyzer/wireshark doc-pdf
+
+# Markus Meier <maekke@gentoo.org> (25 Jul 2012)
+# no stable media-video/vlc yet, bug #401313
+media-libs/phonon vlc
+
+# Chí-Thanh Christopher Nguyen <chithanh@gentoo.org> (02 Jun 2012)
+# Mask udis86 flag for llvm, which is of limited use outside x86/amd64.
+sys-devel/llvm udis86
+
+# Alexandre Rostovtsev <tetromino@gentoo.org> (12 Apr 2012)
+# Temporary mask-in-base, unmask-in-arch for dev-python/mako keywording for
+# gobject-introspection[doctool], bug #411761
+dev-libs/gobject-introspection -doctool
+
+# Michael Sterrett <mr_bones_@gentoo.org> (04 Mar 2012)
+# arm is missing keywords for >=dev-libs/json-glib-0.12
+app-admin/syslog-ng json
+
+# Anthony G. Basile <blueness@gentoo.org> (Dec 21, 2011)
+# Mask the vde flag on tinc because net-misc/vde is not
+# keyworded for arm
+net-misc/tinc vde
+
+# Davide Pesavento <pesa@gentoo.org> (30 Nov 2011)
+# JavaScriptCore JIT is supported only on amd64/arm/x86,
+# so it's masked in base profile and unmasked here.
+dev-qt/qtscript -jit
+dev-qt/qtwebkit -jit
+
+# Patrick McLean <chutzpah@gentoo.org> (08 Nov 2011)
+# mask conntrack USE flag for dnsmasq as dep is not keyworded
+net-dns/dnsmasq conntrack
+
+# Alexandre Rostovtsev <tetromino@gentoo.org> (03 Nov 2011)
+# Missing keywords in gst-plugins-{faac,lame,speex,twolame}, bug #389433
+gnome-extra/gnome-media aac mp3 speex twolame
+
+# Markus Meier <maekke@gentoo.org> (05 Sep 2011)
+# unkeyworded deps for bug 379657 and bug 379651
+gnome-base/gnome-control-center socialweb
+app-admin/packagekit-base entropy
+
+# Robin H. Johnson <robbat2@gentoo.org> (03 Sep 2011)
+# Remove this for your arch after you keyword dev-utils/google-perftools and virtual/gsasl (bug #381737)
+dev-libs/libmemcached sasl
+
+# Pacho Ramos <pacho@gentoo.org> (19 Jul 2011)
+# Missing keywords on dependencies
+app-cdr/brasero vcd dvd
+
+# Pacho Ramos <pacho@gentoo.org> (02 Apr 2011)
+# quvi support is needed to play youtube files now
+media-video/totem youtube
+
+# Markus Meier <maekke@gentoo.org> (13 Mar 2011)
+# needs stable kde stuff
+sys-auth/polkit kde
+
+# Sebastian Pipping <sping@gentoo.org> (22 Feb 2011)
+# No media-sound/lilypond here, yet (bug #356069)
+app-text/asciidoc test
+
+# Michael Weber <xmw@gentoo.org> (10 Feb 2011)
+# kde-base/kdelibs is not stable for arm
+net-libs/libproxy kde
+
+# Justin Lecher <jlec@gentoo.org> (14 Jen 2011)
+# x11-libs/fltk is not keyworded for arm
+app-misc/nut X
+
+# Nirbheek Chauhan <nirbheek@gentoo.org> (26 Jun 2010)
+# Inter-process communication doesn't work on anything except x86/amd64/arm
+# due to lack of atomic ops, bug 325185
+www-client/firefox -ipc
+
+# Pacho Ramos <pacho@gentoo.org> (13 Jun 2010)
+# Needs app-mobilephone/obex-data-server keyworded, bug 305913
+gnome-base/gvfs bluetooth
+
+# Jeremy Olexa <darkside@gentoo.org> (04 Apr 2010)
+# mask net-misc/mediatomb[lastfm] as lastfmlib isn't keyworded
+net-misc/mediatomb lastfm
+
+# Raúl Porcel <armin76@gentoo.org> (28 Mar 2010)
+# Needs kde-4 stable
+dev-vcs/subversion kde
+
+# Raúl Porcel <armin76@gentoo.org> (20 Jan 2010)
+# Needs mplayer
+kde-base/dolphin thumbnail
+
+# Markus Meier <maekke@gentoo.org> (27 Sep 2009)
+# mask media-gfx/imagemagick[autotrace] as autotrace is not keyworded
+media-gfx/imagemagick autotrace
+
+# Jim Ramsay <lack@gentoo.org> (5 Nov 2008)
+# app-admin/gkrellm may pull in net-libs/libntlm, which is not keyworded
+app-admin/gkrellm ntlm
+
+# Masking this so repoman shuts up about paludis
+sys-apps/paludis ruby-bindings
+
+# missing keyword for sys-cluster/openmpi sys-cluster/mpich2
+dev-libs/boost mpi
+
+# missing keywords
+media-sound/sox ladspa
+media-plugins/gst-plugins-meta aac dts dv lame libvisual modplug taglib vcd wavpack dvd
+
+# projectm not keyworded, bug #314969
+media-video/vlc projectm chromaprint opencv
+
+# Ultrabug <ultrabug@gentoo.org) (05 Sept 2011)
+# missing keyword for net-libs/zeromq
+app-admin/rsyslog zeromq
diff --git a/profiles/arch/arm/package.use.stable.mask b/profiles/arch/arm/package.use.stable.mask
new file mode 100644
index 00000000000..7b51fce130b
--- /dev/null
+++ b/profiles/arch/arm/package.use.stable.mask
@@ -0,0 +1,28 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+# Markus Meier <maekke@gentoo.org> (30 Jul 2015)
+# Missing stable
+x11-libs/wxGTK webkit
+
+# Markus Meier <maekke@gentoo.org> (19 Jul 2015)
+# Missing stable
+media-libs/gegl umfpack
+
+# Pacho Ramos <pacho@gentoo.org> (02 Jun 2015)
+# Missing stable
+net-misc/connman l2tp pptp
+
+# Michael Palimaka <kensington@gentoo.org> (11 May 2015)
+# KDE is not stable on arm
+www-client/qupzilla kde
+
+# Pacho Ramos <pacho@gentoo.org> (02 Jul 2014)
+# Mask due Gnome3 not going to be stabilized on this arch
+dev-util/geany-plugins devhelp markdown webkit
+>=gnome-base/gnome-desktop-2.32.1-r2 license-docs
+net-libs/libproxy webkit
+>=net-libs/webkit-gtk-2.4 geoloc
+>=x11-libs/gtk+-3.12.2 cloudprint
+x11-libs/gksu gnome
diff --git a/profiles/arch/arm/parent b/profiles/arch/arm/parent
new file mode 100644
index 00000000000..eb001c6e8ab
--- /dev/null
+++ b/profiles/arch/arm/parent
@@ -0,0 +1 @@
+../base
diff --git a/profiles/arch/arm/use.force b/profiles/arch/arm/use.force
new file mode 100644
index 00000000000..7116ac8c891
--- /dev/null
+++ b/profiles/arch/arm/use.force
@@ -0,0 +1,2 @@
+# Force the flag which corresponds to ARCH.
+arm
diff --git a/profiles/arch/arm/use.mask b/profiles/arch/arm/use.mask
new file mode 100644
index 00000000000..538b24afc11
--- /dev/null
+++ b/profiles/arch/arm/use.mask
@@ -0,0 +1,253 @@
+# Unmask the flag which corresponds to ARCH.
+-arm
+
+# Unmask arm arch specific flags
+-iwmmxt
+
+# Patrick Lauer <patrick@gentoo.org> (28 Apr 2015)
+# Dependencies not keyworded
+ayatana
+
+# Mike Frysinger <vapier@gentoo.org> (25 Feb 2013)
+# doomsday ebuild is not available on this architecture
+doomsday
+
+# Andrey Grozin <grozin@gentoo.org> (16 May 2014)
+# gcl keyworded ~arm, bug #509842
+-gcl
+
+# Markus Meier <maekke@gentoo.org> (22 Aug 2010)
+# unmask synaptics input driver
+-input_devices_synaptics
+
+# Markus Meier <maekke@gentoo.org> (22 Aug 2010)
+# net-wireless/wimax not tested
+wimax
+
+# Markus Meier <maekke@gentoo.org> (21 Aug 2010)
+# app-antivirus/clamav not tested
+clamav
+
+# Kacper Kowalik <xarthisius@gentoo.org> (9 Aug 2010)
+# cblas-external as virtual/cblas is also masked
+cblas-external
+
+# Samuli Suominen <ssuominen@gentoo.org> (17 Oct 2009)
+# Required package: media-sound/musepack-tools
+musepack
+
+# Raúl Porcel <armin76@gentoo.org>
+# I've been told xfs is broken on ARM
+xfs
+
+# Raúl Porcel <armin76@gentoo.org>
+# Fails to build/work
+openexr
+
+# Samuli Suominen <drac@gentoo.org>
+# media-libs/amrnb and media-libs/amrwb not tested.
+amr
+
+# Samuli Suominen <drac@gentoo.org>
+# sci-visualization/grace not tested.
+grace
+
+# Samuli Suominen <drac@gentoo.org>
+# media-gfx/gimp not tested.
+gimp
+
+# No hardware to test by the team
+dvb
+ios
+ipod
+
+# Stuff that doesn't make sense on this arch
+3dfx
+cpufreq
+dell
+laptop
+dmi
+
+# Stuff we don't want
+chicken
+R
+octave
+tracker
+xindy
+lyx
+mpi
+lasi
+fusion
+debug-utils
+schroedinger
+hardened
+frei0r
+libvirt
+pdfannotextractor
+prelude
+mssql
+
+# havent tested yet
+cupsddk
+gphoto2
+mythtv
+afs
+mono
+pike
+lirc
+lm_sensors
+netjack
+beagle
+nvtv
+mzscheme
+xemacs
+scanner
+madwifi
+libupnp
+zvbi
+fluidsynth
+gnomecd
+cblas
+prolog
+sid
+mms
+mtp
+ieee1394
+sctp
+pm-utils
+wicd
+darcs
+bs2b
+toolame
+ladspa
+ggi
+nut
+xanim
+fits
+tokyocabinet
+vaapi
+rtmp
+vpx
+iplayer
+plotutils
+lpsol
+upnp
+bluray
+libtar
+zvbi
+aacplus
+devil
+gts
+anthy
+ace
+csharp
+
+# Unmask ARM-only video-cards
+-video_cards_exynos
+-video_cards_freedreno
+-video_cards_omap
+-video_cards_omapfb
+-video_cards_tegra
+
+# 2006/02/05 - Donnie Berkholz <dberkholz@gentoo.org>
+# Modular X: mask for architectures on which they aren't available
+video_cards_apm
+video_cards_ark
+video_cards_ast
+video_cards_ati
+video_cards_cirrus
+video_cards_chips
+video_cards_cyrix
+video_cards_glint
+video_cards_i128
+video_cards_i740
+video_cards_intel
+video_cards_mach64
+video_cards_mga
+video_cards_neomagic
+video_cards_newport
+video_cards_nouveau
+video_cards_nsc
+video_cards_nv
+video_cards_r128
+video_cards_radeon
+video_cards_rendition
+video_cards_s3
+video_cards_s3virge
+video_cards_savage
+video_cards_siliconmotion
+video_cards_sis
+video_cards_tdfx
+video_cards_tga
+video_cards_trident
+video_cards_tseng
+video_cards_vesa
+video_cards_via
+video_cards_voodoo
+
+# Matt Turner <mattst88@gentoo.org>
+# Mask more VIDEO_CARDs added with mesa-8.0
+video_cards_r100
+video_cards_r200
+video_cards_r300
+video_cards_r600
+video_cards_radeonsi
+video_cards_i915
+video_cards_i965
+video_cards_ilo
+# vmware wasn't added with mesa-8.0, but it should still be masked
+video_cards_vmware
+
+# Diego Pettenò <flameeyes@gentoo.org> (6 Dec 2006)
+# Unmask the ARM-specific ALSA drivers
+-alsa_cards_pxa2xx-i2sound
+-alsa_cards_pxa2xx-soc
+-alsa_cards_pxa2xx-soc-corgi
+-alsa_cards_pxa2xx-soc-poodle
+-alsa_cards_pxa2xx-soc-spitz
+-alsa_cards_pxa2xx-soc-tosa
+-alsa_cards_sa11xx-uda1341ts
+-alsa_cards_armaaci
+-alsa_cards_at91-soc
+-alsa_cards_at91-soc-eti-b1-wm8731
+
+# USE=audit masked prior to testing on alpha, arm, hppa, ppc64, s390, sh.
+# Bug #184563, 18 Sep 2007
+# Robin H. Johnson <robbat2@gentoo.org>
+audit
+
+# Matt Turner <mattst88@gentoo.org) (10 Feb 2012)
+# mask d3d since we don't have wine
+d3d
+
+# fdk-aac is already keyworded here
+-fdk
+
+# Alexandre Rostovtsev <tetromino@gentoo.org> (31 Dec 2012)
+# media-libs/xine-lib is not keyworded
+xine
+
+# Samuli Suominen <ssuominen@gentoo.org> (18 Jan 2013)
+# libdlm and cman are not keyworded
+cman
+clvm
+
+-zeitgeist
+
+# Michał Górny <mgorny@gentoo.org> (4 May 2013)
+# Unmask systemd since it is keyworded here.
+-systemd
+
+# Chí-Thanh Christopher Nguyễn <chithanh@gentoo.org> (22 Aug 2013)
+# virtual/opencl is not keyworded
+opencl
+
+# Chí-Thanh Christopher Nguyễn <chithanh@gentoo.org> (10 Nov 2013)
+# sys-devel/llvm is keyworded
+-llvm
+
+# Missing sys-process/numactl keywords.
+numa
+
+# toolkit for nvidia binary drivers
+cg
diff --git a/profiles/arch/arm/use.stable.mask b/profiles/arch/arm/use.stable.mask
new file mode 100644
index 00000000000..063e75c1c3f
--- /dev/null
+++ b/profiles/arch/arm/use.stable.mask
@@ -0,0 +1,19 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+# This file requires eapi 5 or later. New entries go on top.
+# Please use the same syntax as in use.mask
+
+# Andrey Grozin <grozin@gentoo.org> (16 May 2014)
+# No stable gcl
+gcl
+
+# Pacho Ramos <pacho@gentoo.org> (13 Apr 2014)
+# Not going to be stabilized on this arch
+colord
+devhelp
+eds
+gdm
+gnome-online-accounts
+gusb
diff --git a/profiles/arch/arm64/big-endian/eapi b/profiles/arch/arm64/big-endian/eapi
new file mode 100644
index 00000000000..7ed6ff82de6
--- /dev/null
+++ b/profiles/arch/arm64/big-endian/eapi
@@ -0,0 +1 @@
+5
diff --git a/profiles/arch/arm64/big-endian/make.defaults b/profiles/arch/arm64/big-endian/make.defaults
new file mode 100644
index 00000000000..f3a31a57d0d
--- /dev/null
+++ b/profiles/arch/arm64/big-endian/make.defaults
@@ -0,0 +1,4 @@
+# Big endian ARM64 settings.
+
+CHOST="aarch64_be-unknown-linux-gnu"
+CHOST_arm64=${CHOST}
diff --git a/profiles/arch/arm64/big-endian/parent b/profiles/arch/arm64/big-endian/parent
new file mode 100644
index 00000000000..f3229c5b987
--- /dev/null
+++ b/profiles/arch/arm64/big-endian/parent
@@ -0,0 +1 @@
+..
diff --git a/profiles/arch/arm64/eapi b/profiles/arch/arm64/eapi
new file mode 100644
index 00000000000..7ed6ff82de6
--- /dev/null
+++ b/profiles/arch/arm64/eapi
@@ -0,0 +1 @@
+5
diff --git a/profiles/arch/arm64/little-endian/eapi b/profiles/arch/arm64/little-endian/eapi
new file mode 100644
index 00000000000..7ed6ff82de6
--- /dev/null
+++ b/profiles/arch/arm64/little-endian/eapi
@@ -0,0 +1 @@
+5
diff --git a/profiles/arch/arm64/little-endian/make.defaults b/profiles/arch/arm64/little-endian/make.defaults
new file mode 100644
index 00000000000..f189bb67138
--- /dev/null
+++ b/profiles/arch/arm64/little-endian/make.defaults
@@ -0,0 +1,4 @@
+# Little endian ARM64 settings.
+
+CHOST="aarch64-unknown-linux-gnu"
+CHOST_arm64=${CHOST}
diff --git a/profiles/arch/arm64/little-endian/parent b/profiles/arch/arm64/little-endian/parent
new file mode 100644
index 00000000000..f3229c5b987
--- /dev/null
+++ b/profiles/arch/arm64/little-endian/parent
@@ -0,0 +1 @@
+..
diff --git a/profiles/arch/arm64/make.defaults b/profiles/arch/arm64/make.defaults
new file mode 100644
index 00000000000..307fe64061f
--- /dev/null
+++ b/profiles/arch/arm64/make.defaults
@@ -0,0 +1,16 @@
+# Main ARM64 (Aarch64/ARMv8) profile; endian independent.
+
+ARCH="arm64"
+ACCEPT_KEYWORDS="arm64"
+
+MULTILIB_ABIS="arm64"
+DEFAULT_ABI="arm64"
+ABI=${DEFAULT_ABI}
+
+CFLAGS="-O2"
+CXXFLAGS="${CFLAGS}"
+FFLAGS="${CFLAGS}"
+FCFLAGS="${CFLAGS}"
+
+# Defaults for video drivers
+VIDEO_CARDS="fbdev"
diff --git a/profiles/arch/arm64/package.use.force b/profiles/arch/arm64/package.use.force
new file mode 100644
index 00000000000..5db5bc85195
--- /dev/null
+++ b/profiles/arch/arm64/package.use.force
@@ -0,0 +1,7 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+# Mike Frysinger <vapier@gentoo.org> (16 Mar 2015)
+# Needs dev-lang/luajit tested #499974
+dev-libs/efl oldlua
diff --git a/profiles/arch/arm64/package.use.mask b/profiles/arch/arm64/package.use.mask
new file mode 100644
index 00000000000..b5192556afa
--- /dev/null
+++ b/profiles/arch/arm64/package.use.mask
@@ -0,0 +1,306 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+# Mike Frysinger <vapier@gentoo.org> (20 Jul 2015)
+# Needs deps tested.
+net-misc/curl curl_ssl_axtls curl_ssl_polarssl metalink
+
+# Mike Frysinger <vapier@gentoo.org> (16 Mar 2015)
+# Needs sci-physics/bullet tested #499974
+dev-libs/efl physics
+
+# Needs testing.
+sys-devel/gcc gcj graphite regression-test
+
+# Julian Ospald <hasufell@gentoo.org> (04 Jan 2014)
+# no keyword for media-libs/swfdec and media-libs/libtimidity
+>=dev-libs/DirectFB-1.7.1 timidity swfdec
+
+# Markus Meier <maekke@gentoo.org> (26 Dec 2013)
+# Unkeyworded deps, bug #493780
+=dev-ruby/rack-1.4.5 test
+
+# Markus Meier <maekke@gentoo.org> (26 Dec 2013)
+# Unkeyworded deps, bug #488724
+app-office/gnumeric libgda
+
+# Pacho Ramos <pacho@gentoo.org> (28 Nov 2013)
+# Missing keywords, bug #492820
+net-im/telepathy-connection-managers sipe
+
+# Chí-Thanh Christopher Nguyễn <chithanh@gentoo.org> (10 Nov 2013)
+# <sys-devel/llvm-3.2 is not keyworded
+=media-libs/mesa-7.10* llvm
+
+# Pacho Ramos <pacho@gentoo.org> (31 Oct 2013)
+# Missing keywords, bug #478254
+gnome-base/gnome classic
+
+# Benda Xu <heroxbd@gentoo.org> (31 Oct 2013)
+# Missing keywords from dev-ml/lablgtk, bug #487722
+net-p2p/mldonkey gtk guionly
+
+# Tom Wijsman <TomWij@gentoo.org> (16 Oct 2013)
+# Mask luajit on ~media-video/mpv-0.2.0 because it only has amd64 x86 keywords. See bug #488318.
+>=media-video/mpv-0.2.0 luajit
+
+# Pacho Ramos <pacho@gentoo.org> (22 Sep 2013)
+# Missing keywords, bug #484734
+media-sound/rhythmbox visualizer
+
+# Markus Meier <maekke@gentoo.org> (15 Sep 2013)
+# Unkeyworded deps, bug #481462
+dev-python/ipython nbconvert
+
+# Johannes Huber <johu@gentoo.org> (15 Sep 2013)
+# Depends on kde-misc/networkmanagement, not keyworded yet.
+kde-apps/solid-runtime networkmanager
+
+# Sergey Popov <pinkbyte@gentoo.org> (06 Sep 2013)
+# sci-libs/hdf does not build properly on arm
+dev-perl/PDL hdf
+
+# Michael Weber <xmw@gentoo.org> (23 Aug 2013)
+# Unkeyworded deps
+media-gfx/fim graphicsmagick svg
+
+# Markus Meier <maekke@gentoo.org> (04 Aug 2013)
+# Unkeyworded deps, bug #474026
+app-admin/conky lua-cairo lua-imlib xmms2 audacious moc
+
+# Sergey Popov <pinkbyte@gentoo.org> (30 Jul 2013)
+# Not tested
+media-libs/devil allegro nvtt
+
+# Chí-Thanh Christopher Nguyễn <chithanh@gentoo.org> (13 Jul 2013)
+# requires net-misc/freerdp which is not keyworded on arm
+dev-libs/weston rdp
+
+# Patrick Lauer <patrick@gentoo.org> (17 June 2013)
+# Fix per-arch mask of phonon[zeitgeist] #460140
+media-libs/phonon zeitgeist
+
+# Andreas K. Huettel <dilfridge@gentoo.org> (27 May 2013)
+# Firmware loader not keyworded yet
+sci-libs/linux-gpib firmware
+
+# Markus Meier <maekke@gentoo.org> (11 May 2013)
+# unkeyworded deps for x11-wm/enlightenment
+x11-wm/enlightenment emotion
+
+# Markus Meier <maekke@gentoo.org> (10 May 2013)
+# unkeyworded deps for dev-python/ipython
+dev-python/ipython mongodb
+
+# Markus Meier <maekke@gentoo.org> (09 May 2013)
+# unkeyworded deps for x11-misc/lightdm
+x11-misc/lightdm razor kde
+
+# Agostino Sarubbo <ago@gentoo.org> (05 May 2013)
+# dev-util/google-perftools is not keyworded for arm
+>=dev-libs/libmemcached-0.50 tcmalloc
+
+# Christoph Junghans <ottxor@gentoo.org> (29 Apr 2013)
+# MKL not available on this arch
+media-gfx/povray mkl
+
+# Benda Xu <heroxbd@gentoo.org> (1 Apr 2013)
+# dev-ml/lablgtk not keyworded
+net-misc/unison gtk
+
+# Julian Ospald <hasufell@gentoo.org> (31 Mar 2013)
+# depends on mono
+>=net-irc/hexchat-2.9.4-r1 theme-manager
+
+# Chí-Thanh Christopher Nguyễn <chithanh@gentoo.org> (20 Feb 2013)
+# Mask flags of calligra and dependencies due to lack of keywords
+app-office/calligra openexr postgres spacenav vc
+media-gfx/pstoedit emf
+
+# Michał Górny <mgorny@gentoo.org> (01 Feb 2013)
+# virtual/cblas not keyworded on arm, bug #455050.
+dev-python/numpy lapack
+
+# Alexandre Rostovtsev <tetromino@gentoo.org> (22 Jan 2013)
+# remove mask if/when media-gfx/argyllcms is keywored here.
+x11-misc/colord extra-print-profiles
+
+# Alexandre Rostovtsev <tetromino@gentoo.org> (31 Dec 2012)
+# requires app-office/unoconv, which requires virtual/ooo, which is not
+# keyworded here. Remove mask if this situation changes.
+gnome-extra/sushi office
+
+# Alexandre Rostovtsev <tetromino@gentoo.org> (30 Dec 2012)
+# sys-apps/systemd works on this arch (masked in base)
+sys-kernel/dracut -dracut_modules_systemd
+
+# Alexandre Rostovtsev <tetromino@gentoo.org> (30 Dec 2012)
+# requires dev-util/bustle, which is written in haskell
+# remove mask if/when dev-lang/ghc is keywoded for arm
+dev-util/dbus-test-runner test
+
+# Alexandre Rostovtsev <tetromino@gentoo.org> (27 Dec 2012)
+# remove mask when app-text/yelp-tools is keyworded here
+>=gnome-extra/zenity-3.6 test
+
+# Alexandre Rostovtsev <tetromino@gentoo.org> (27 Dec 2012)
+# remove mask when >=app-editors/gedit-3.6 is keyworded here
+dev-util/devhelp gedit
+
+# Alexandre Rostovtsev <tetromino@gentoo.org> (27 Dec 2012)
+# remove mask when app-crypt/libsecret is keyworded here
+>=gnome-base/gvfs-1.14 gnome-keyring
+
+# Markus Meier <maekke@gentoo.org> (25 Dez 2012)
+# unkeyworded deps for app-accessibility/speech-dispatcher
+app-accessibility/speech-dispatcher flite
+
+# Markus Meier <maekke@gentoo.org> (23 Dec 2012)
+# mask kde-base/* flags due to unkeyworded dependencies
+kde-apps/kalzium editor solver
+kde-apps/krdc rdesktop
+kde-apps/kopete jingle msn sms
+kde-base/kdeplasma-addons fcitx oauth qwt scim
+kde-apps/okular ebook chm
+kde-apps/kstars indi
+kde-apps/kdeutils-meta floppy
+kde-apps/kdenetwork-meta ppp
+kde-base/smokeqt qscintilla qwt
+kde-base/qtruby qscintilla qwt
+kde-base/perlqt qscintilla qwt
+
+# Alexandre Rostovtsev <tetromino@gentoo.org> (15 Dec 2012)
+# media-video/coherence not keyworded
+=media-video/totem-2* upnp-av
+
+# Markus Meier <maekke@gentoo.org> (08 Dec 2012)
+# mask app-office/libreoffice java extensions
+app-office/libreoffice libreoffice_extensions_scripting-beanshell libreoffice_extensions_scripting-javascript libreoffice_extensions_wiki-publisher
+
+# Markus Meier <maekke@gentoo.org> (17 Oct 2012)
+# spidermonkey is broken on arm see bug #420471
+=net-libs/libproxy-0.4.10 spidermonkey
+
+# Steev Klimaszewski <steev@gentoo.org> (03 Aug 2012)
+# No java on ARM
+net-analyzer/wireshark doc-pdf
+
+# Markus Meier <maekke@gentoo.org> (25 Jul 2012)
+# no stable media-video/vlc yet, bug #401313
+media-libs/phonon vlc
+
+# Chí-Thanh Christopher Nguyen <chithanh@gentoo.org> (02 Jun 2012)
+# Mask udis86 flag for llvm, which is of limited use outside x86/amd64.
+sys-devel/llvm udis86
+
+# Alexandre Rostovtsev <tetromino@gentoo.org> (12 Apr 2012)
+# Temporary mask-in-base, unmask-in-arch for dev-python/mako keywording for
+# gobject-introspection[doctool], bug #411761
+dev-libs/gobject-introspection -doctool
+
+# Michael Sterrett <mr_bones_@gentoo.org> (04 Mar 2012)
+# arm is missing keywords for >=dev-libs/json-glib-0.12
+app-admin/syslog-ng json
+
+# Alexandre Rostovtsev <tetromino@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
+www-client/epiphany -jit
+
+# Anthony G. Basile <blueness@gentoo.org> (Dec 21, 2011)
+# Mask the vde flag on tinc because net-misc/vde is not
+# keyworded for arm
+net-misc/tinc vde
+
+# Patrick McLean <chutzpah@gentoo.org> (08 Nov 2011)
+# mask conntrack USE flag for dnsmasq as dep is not keyworded
+net-dns/dnsmasq conntrack
+
+# Alexandre Rostovtsev <tetromino@gentoo.org> (03 Nov 2011)
+# Missing keywords in gst-plugins-{faac,lame,speex,twolame}, bug #389433
+gnome-extra/gnome-media aac mp3 speex twolame
+
+# Tobias Klausmann <klausman@gentoo.org> (02 Nov 2011)
+# libpcre jit is not supported on alpha
+dev-libs/libpcre jit
+
+# Markus Meier <maekke@gentoo.org> (05 Sep 2011)
+# unkeyworded deps for bug 379657 and bug 379651
+gnome-base/gnome-control-center socialweb
+app-admin/packagekit-base entropy
+
+# Robin H. Johnson <robbat2@gentoo.org> (03 Sep 2011)
+# Remove this for your arch after you keyword dev-utils/google-perftools and virtual/gsasl (bug #381737)
+dev-libs/libmemcached sasl
+
+# Pacho Ramos <pacho@gentoo.org> (19 Jul 2011)
+# Missing keywords on dependencies
+app-cdr/brasero vcd
+
+# Pacho Ramos <pacho@gentoo.org> (02 Apr 2011)
+# quvi support is needed to play youtube files now
+media-video/totem flash youtube
+
+# Markus Meier <maekke@gentoo.org> (13 Mar 2011)
+# needs stable kde stuff
+sys-auth/polkit kde
+
+# Sebastian Pipping <sping@gentoo.org> (22 Feb 2011)
+# No media-sound/lilypond here, yet (bug #356069)
+app-text/asciidoc test
+
+# Michael Weber <xmw@gentoo.org> (10 Feb 2011)
+# kde-base/kdelibs is not stable for arm
+net-libs/libproxy kde
+
+# Justin Lecher <jlec@gentoo.org> (14 Jen 2011)
+# x11-libs/fltk is not keyworded for arm
+app-misc/nut X
+
+# Nirbheek Chauhan <nirbheek@gentoo.org> (26 Jun 2010)
+# Inter-process communication doesn't work on anything except x86/amd64/arm
+# due to lack of atomic ops, bug 325185
+www-client/firefox -ipc
+
+# Pacho Ramos <pacho@gentoo.org> (13 Jun 2010)
+# Needs app-mobilephone/obex-data-server keyworded, bug 305913
+gnome-base/gvfs bluetooth
+
+# Jeremy Olexa <darkside@gentoo.org> (04 Apr 2010)
+# mask net-misc/mediatomb[lastfm] as lastfmlib isn't keyworded
+net-misc/mediatomb lastfm
+
+# Raúl Porcel <armin76@gentoo.org> (28 Mar 2010)
+# Needs kde-4 stable
+dev-vcs/subversion kde
+
+# Raúl Porcel <armin76@gentoo.org> (20 Jan 2010)
+# Needs mplayer
+kde-base/dolphin thumbnail
+
+# Markus Meier <maekke@gentoo.org> (27 Sep 2009)
+# mask media-gfx/imagemagick[autotrace] as autotrace is not keyworded
+media-gfx/imagemagick autotrace
+
+# Jim Ramsay <lack@gentoo.org> (5 Nov 2008)
+# app-admin/gkrellm may pull in net-libs/libntlm, which is not keyworded
+app-admin/gkrellm ntlm
+
+# Masking this so repoman shuts up about paludis
+sys-apps/paludis ruby-bindings
+
+# missing keyword for sys-cluster/openmpi sys-cluster/mpich2
+dev-libs/boost mpi
+
+# missing keywords
+media-sound/sox ladspa
+media-plugins/gst-plugins-meta aac dts dv lame libvisual taglib vcd wavpack
+
+# projectm not keyworded, bug #314969
+media-video/vlc projectm chromaprint opencv
+
+# Ultrabug <ultrabug@gentoo.org) (05 Sept 2011)
+# missing keyword for net-libs/zeromq
+app-admin/rsyslog zeromq
diff --git a/profiles/arch/arm64/parent b/profiles/arch/arm64/parent
new file mode 100644
index 00000000000..7663f5297bb
--- /dev/null
+++ b/profiles/arch/arm64/parent
@@ -0,0 +1,2 @@
+../../features/multilib
+../base
diff --git a/profiles/arch/arm64/use.force b/profiles/arch/arm64/use.force
new file mode 100644
index 00000000000..0418ed743a9
--- /dev/null
+++ b/profiles/arch/arm64/use.force
@@ -0,0 +1,2 @@
+# Force the flag which corresponds to ARCH.
+arm64
diff --git a/profiles/arch/arm64/use.mask b/profiles/arch/arm64/use.mask
new file mode 100644
index 00000000000..7639e989bf2
--- /dev/null
+++ b/profiles/arch/arm64/use.mask
@@ -0,0 +1,240 @@
+# Unmask the flag which corresponds to ARCH.
+-arm64
+
+# doomsday ebuild is not available on this architecture
+doomsday
+
+# Markus Meier <maekke@gentoo.org> (22 Aug 2010)
+# net-wireless/wimax not tested
+wimax
+
+# Markus Meier <maekke@gentoo.org> (21 Aug 2010)
+# app-antivirus/clamav not tested
+clamav
+
+# Kacper Kowalik <xarthisius@gentoo.org> (9 Aug 2010)
+# cblas-external as virtual/cblas is also masked
+cblas-external
+
+# Samuli Suominen <ssuominen@gentoo.org> (17 Oct 2009)
+# Required package: media-sound/musepack-tools
+musepack
+
+# Raúl Porcel <armin76@gentoo.org>
+# I've been told xfs is broken on ARM
+xfs
+
+# Raúl Porcel <armin76@gentoo.org>
+# Fails to build/work
+openexr
+
+# Samuli Suominen <drac@gentoo.org>
+# media-libs/amrnb and media-libs/amrwb not tested.
+amr
+
+# Samuli Suominen <drac@gentoo.org>
+# sci-visualization/grace not tested.
+grace
+
+# Samuli Suominen <drac@gentoo.org>
+# media-gfx/gimp not tested.
+gimp
+
+# No hardware to test by the team
+dvb
+ios
+ipod
+
+# Stuff that doesn't make sense on this arch
+3dfx
+cpufreq
+dell
+laptop
+dmi
+
+# Stuff we don't want
+chicken
+fuse
+R
+octave
+tracker
+xindy
+lyx
+mpi
+lasi
+fusion
+debug-utils
+schroedinger
+hardened
+frei0r
+libvirt
+pdfannotextractor
+prelude
+mssql
+
+# havent tested yet
+ruby
+ctypes-python
+sasl
+libproxy
+pkcs11
+gnutls
+bazaar
+darcs
+mercurial
+kerberos
+gpg
+gnome
+gnome-keyring
+cupsddk
+doc
+emacs
+gphoto2
+mythtv
+afs
+mono
+pike
+lirc
+lm_sensors
+netjack
+beagle
+nvtv
+mzscheme
+xemacs
+rpm
+scanner
+madwifi
+libupnp
+zvbi
+ldap
+mysql
+postgres
+dvd
+fluidsynth
+gnomecd
+cblas
+prolog
+sid
+mms
+mtp
+ieee1394
+sctp
+pm-utils
+wicd
+darcs
+bs2b
+toolame
+ladspa
+ldns
+ggi
+nut
+xanim
+dvd
+fits
+tokyocabinet
+vaapi
+rtmp
+vpx
+iplayer
+plotutils
+lpsol
+upnp
+quvi
+bluray
+libtar
+zvbi
+aacplus
+devil
+gts
+anthy
+ace
+csharp
+gtk
+qt4
+qt5
+R
+sdl
+slang
+tk
+vim-syntax
+X
+
+# 2006/02/05 - Donnie Berkholz <dberkholz@gentoo.org>
+# Modular X: mask for architectures on which they aren't available
+video_cards_apm
+video_cards_ark
+video_cards_ast
+video_cards_ati
+video_cards_cirrus
+video_cards_chips
+video_cards_cyrix
+video_cards_glint
+video_cards_i128
+video_cards_i740
+video_cards_intel
+video_cards_mach64
+video_cards_mga
+video_cards_neomagic
+video_cards_newport
+video_cards_nouveau
+video_cards_nsc
+video_cards_nv
+video_cards_r128
+video_cards_radeon
+video_cards_rendition
+video_cards_s3
+video_cards_s3virge
+video_cards_savage
+video_cards_siliconmotion
+video_cards_sis
+video_cards_tdfx
+video_cards_tga
+video_cards_trident
+video_cards_tseng
+video_cards_vesa
+video_cards_via
+video_cards_voodoo
+
+# Matt Turner <mattst88@gentoo.org>
+# Mask more VIDEO_CARDs added with mesa-8.0
+video_cards_r100
+video_cards_r200
+video_cards_r300
+video_cards_r600
+video_cards_radeonsi
+video_cards_i915
+video_cards_i965
+video_cards_ilo
+# vmware wasn't added with mesa-8.0, but it should still be masked
+video_cards_vmware
+
+# USE=audit masked prior to testing on alpha, arm, hppa, ppc64, s390, sh.
+# Bug #184563, 18 Sep 2007
+# Robin H. Johnson <robbat2@gentoo.org>
+audit
+
+# Matt Turner <mattst88@gentoo.org) (10 Feb 2012)
+# mask d3d since we don't have wine
+d3d
+
+# Alexandre Rostovtsev <tetromino@gentoo.org> (31 Dec 2012)
+# media-libs/xine-lib is not keyworded
+xine
+
+# Samuli Suominen <ssuominen@gentoo.org> (18 Jan 2013)
+# libdlm and cman are not keyworded
+cman
+clvm
+
+# Chí-Thanh Christopher Nguyễn <chithanh@gentoo.org> (22 Aug 2013)
+# virtual/opencl is not keyworded
+opencl
+
+# This one we need to test ...
+python_targets_python3_3
+
+# sys-libs/libseccomp has not been ported to this arch yet #524148
+seccomp
+
+# No arm64 java support yet.
+java
diff --git a/profiles/arch/base/eapi b/profiles/arch/base/eapi
new file mode 100644
index 00000000000..7ed6ff82de6
--- /dev/null
+++ b/profiles/arch/base/eapi
@@ -0,0 +1 @@
+5
diff --git a/profiles/arch/base/use.mask b/profiles/arch/base/use.mask
new file mode 100644
index 00000000000..9e9bd76ee21
--- /dev/null
+++ b/profiles/arch/base/use.mask
@@ -0,0 +1,19 @@
+# Mask flags that correspond to all possible ARCH values.
+alpha
+amd64
+amd64-fbsd
+arm
+arm64
+hppa
+ia64
+m68k
+mips
+nios2
+ppc
+ppc64
+s390
+sh
+sparc
+sparc-fbsd
+x86
+x86-fbsd
diff --git a/profiles/arch/hppa/eapi b/profiles/arch/hppa/eapi
new file mode 100644
index 00000000000..7ed6ff82de6
--- /dev/null
+++ b/profiles/arch/hppa/eapi
@@ -0,0 +1 @@
+5
diff --git a/profiles/arch/hppa/make.defaults b/profiles/arch/hppa/make.defaults
new file mode 100644
index 00000000000..188b0433c39
--- /dev/null
+++ b/profiles/arch/hppa/make.defaults
@@ -0,0 +1,27 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+ARCH="hppa"
+ACCEPT_KEYWORDS="hppa"
+
+CHOST="hppa-unknown-linux-gnu"
+CFLAGS="-O2 -pipe"
+CXXFLAGS="${CFLAGS}"
+
+FEATURES="sandbox sfperms strict"
+
+USE="cups foomaticdb fortran gdbm gpm imlib libwww spell xml2 firefox"
+
+# Michał Górny <mgorny@gentoo.org> (01 Jul 2014)
+# Set ABI & DEFAULT_ABI consistently with ${ARCH}, to make ebuild
+# checks simpler.
+ABI="hppa"
+DEFAULT_ABI="hppa"
+MULTILIB_ABIS="hppa"
+LIBDIR_hppa="lib"
+CHOST_hppa="${CHOST}"
+
+# 2006/08/18 - Donnie Berkholz <dberkholz@gentoo.org>
+# Defaults for video drivers
+VIDEO_CARDS="fbdev"
diff --git a/profiles/arch/hppa/package.use.force b/profiles/arch/hppa/package.use.force
new file mode 100644
index 00000000000..27f57e3b985
--- /dev/null
+++ b/profiles/arch/hppa/package.use.force
@@ -0,0 +1,9 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+# Mike Frysinger <vapier@gentoo.org> (16 Mar 2015)
+# Needs dev-lang/luajit tested #499974
+dev-libs/efl oldlua
+
+>=sys-libs/glibc-2.5 nptl
diff --git a/profiles/arch/hppa/package.use.mask b/profiles/arch/hppa/package.use.mask
new file mode 100644
index 00000000000..eba7b8ed427
--- /dev/null
+++ b/profiles/arch/hppa/package.use.mask
@@ -0,0 +1,177 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+# DON'T TOUCH THIS FILE. Instead, file a bug and assign it to <hppa@gentoo.org>.
+
+# Jeroen Roovers <jer@gentoo.org> (3 Jul 2015)
+# net-libs/nghttp2 fails to compile (bug #552898)
+net-libs/nghttp2 cxx
+
+# Jeroen Roovers <jer@gentoo.org> (17 May 2015)
+# Mask USE=rados for net-analyzer/rrdtool since sys-cluster/ceph is not
+# keyworded (bug #549516)
+net-analyzer/rrdtool rados
+
+# Jeroen Roovers <jer@gentoo.org> (26 Apr 2015)
+# Contact us if you want or have an HPPA cluster with dev-db/mariadb
+# (bug #544378)
+dev-db/mariadb garbd
+
+# Mike Frysinger <vapier@gentoo.org> (16 Mar 2015)
+# Needs sci-physics/bullet tested #499974
+dev-libs/efl physics
+
+# Jeroen Roovers <jer@gentoo.org> (2 Feb 2015)
+# dev-python/gevent requires dev-python/greenlet which has not been ported to
+# HPPA (bug #538510)
+dev-python/pyzor gevent
+
+# Jeroen Roovers <jer@gentoo.org> (19 Oct 2014)
+# requires dev-python/restkit which requires
+# dev-python/socketpool which requires dev-python/gevent which requires
+# dev-python/greenlet which has not been ported to HPPA (bug #525246)
+dev-python/wsgiproxy2 test
+
+# Jeroen Roovers <jer@gentoo.org> (13 Aug 2014)
+# Needs dev-libs/protobuf{-c} which has not been ported to HPPA (bug #519772)
+net-libs/libgadu gg11
+
+# Jeroen Roovers <jer@gentoo.org> (29 Jul 2014)
+# Test phase requires dev-db/mongodb which requires dev-util/google-perftools
+# which has not been ported to HPPA (bug #517880, bug #525246)
+dev-libs/mongo-c-driver test
+dev-python/pymongo test
+
+# Jeroen Roovers <jer@gentoo.org> (6 Mar 2014)
+# USE=gui requires x11-libs/qscintilla,
+# USE=jit requires sys-devel/llvm (bug #503594)
+sci-mathematics/octave gui jit
+
+# Jeroen Roovers <jer@gentoo.org> (31 Jan 2014)
+# Mask x11-libs/libgksu dependency (bug #499900)
+xfce-extra/xfce4-taskmanager gksu
+
+# Julian Ospald <hasufell@gentoo.org> (23 Nov 2013)
+# needs app-arch/innoextract (bug #492326)
+games-fps/duke3d-data gog
+
+# Jeroen Roovers <jer@gentoo.org> (25 Oct 2013)
+# Building against libatomic_ops fails (bug #453704)
+sys-libs/libunwind libatomic
+
+# Jeroen Roovers <jer@gentoo.org> (23 Jul 2013)
+# graphite is not implemented on HPPA
+sys-devel/gcc graphite
+
+# Julian Ospald <hasufell@gentoo.org> (31 Mar 2013)
+# depends on mono
+>=net-irc/hexchat-2.9.4-r1 theme-manager
+
+# Jeroen Roovers <jer@gentoo.org> (22 Jan 2013)
+# dev-python/greenlet has not been ported to HPPA but is needed for
+# dev-python/restkit which is needed for dev-python/pyquery's test phase
+# (bug #452764)
+dev-python/pyquery test
+
+# Jeroen Roovers <jer@gentoo.org> (2 Jan 2013)
+# Mask non-keyworded sci-libs/hdf5 for sci-mathematics/octave
+sci-mathematics/octave hdf5 qhull
+
+# Jeroen Roovers <jer@gentoo.org> (8 Jul 2012)
+# media-libs/devil has not been fully tested on HPPA
+media-gfx/graphviz devil
+
+# Jeroen Roovers <jer@gentoo.org> (3 Jul 2012)
+# Mask USE=connman for net-libs/gupnp (bug #424225)
+net-libs/gupnp connman
+
+# Jeroen Roovers <jer@gentoo.org> (21 May 2012)
+# HPPA is an unsupported architecture
+dev-libs/libpcre jit
+
+# Arun Raghavan <ford_prefect@gentoo.org> (24 May 2012)
+# media-sound/pulseaudio needs PyQt4[dbus] for making the equalizer module
+# usable. Mask until this is available.
+# Jeroen Roovers <jer@gentoo.org> (18 Feb 2014)
+# OSS is the only kernel audio interface that works on HPPA
+media-sound/pulseaudio equalizer -oss
+
+# Jeroen Roovers <jer@gentoo.org> (21 May 2012)
+# media-sound/lilypond has problems running mpost (bug #416961)
+app-text/asciidoc test
+
+# Jeroen Roovers <jer@gentoo.org> (26 Apr 2012)
+# Untested dependency on net-misc/connman
+dev-qt/qtbearer connman
+
+# Jeroen Roovers <jer@gentoo.org> (19 Apr 2012)
+# Requires sys-power/upower or sys-power/upower-pm-utils which are
+# not much use on HPPA
+xfce-extra/xfce4-systemload-plugin upower
+xfce-base/xfce4-session upower
+xfce-base/xfce4-settings upower
+
+# Jeroen Roovers <jer@gentoo.org> (25 Oct 2011)
+# Depends upon an as yet unsupported version of dev-libs/dietlibc
+dev-libs/libowfat diet
+
+# Jeroen Roovers <jer@gentoo.org> (5 Jun 2011)
+# app-office/gnumeric is not keyworded (bug #367513)
+app-office/lyx gnumeric
+
+# Jeroen Roovers <jer@gentoo.org> (24 Feb 2011)
+# Needs Java (bug #355353)
+app-text/texlive pdfannotextractor
+
+# Jeroen Roovers <jer@gentoo.org> (30 Nov 2010)
+# Mask doc-pdf because of Java dependencies (bug #347259)
+net-analyzer/wireshark doc-pdf
+
+# Jeroen Roovers <jer@gentoo.org> (25 Nov 2010)
+# No support for sci-libs/ipp on HPPA (bug #340269)
+media-libs/opencv ipp
+
+# Justin Lecher <jlec@gentoo.org> (13 Aug 2010)
+# MKL not available on this arch
+media-gfx/povray mkl
+
+# Pacho Ramos <pacho@gentoo.org> (11 Jul 2010)
+# Mask due bug #324511, this will be general once needed by more packages.
+net-im/pidgin gstreamer
+x11-misc/xscreensaver gdm new-login
+x11-libs/wxGTK gstreamer
+net-p2p/mldonkey guionly gtk
+dev-vcs/git gtk
+app-cdr/cdrdao gcdmaster
+net-im/pidgin eds
+
+# Ben de Groot <yngwin@gentoo.org> (16 Jan 2010)
+# qtmultimedia is not keyworded, bug 293671
+dev-python/PyQt4 multimedia
+
+# Jeroen Roovers <jer@gentoo.org> (15 Apr 2008)
+# media-sound/fluidsynth fails to build with stable libtool, so it can't be
+# tested for ~hppa keywording right now
+media-sound/mpd fluidsynth
+
+# Jeroen Roovers <jer@gentoo.org> (16 Sep 2008)
+# cpudetection and custom-cpuopts does not apply
+# to HPPA (bug #234629)
+media-video/mplayer cpudetection
+
+# Jeroen Roovers <jer@gentoo.org> (16 Sep 2008)
+# app-text/xindy needs dev-lisp/clisp and clisp does not build (bug #229217)
+app-text/texlive xindy
+
+# Tobias Scherbaum <dertobi123@gentoo.org> (31 May 2008)
+# Mask ups for nagios-plugins which would pull in sys-power/nut
+net-analyzer/nagios-plugins ups
+
+# Mart Raudsepp <leio@gentoo.org> (02 Apr 2008)
+# media-plugins/gst-plugins-{dvb,fluendo-mpegdemux,bad} not keyworded
+media-plugins/gst-plugins-meta dvb
+
+# Jeroen Roovers <jer@gentoo.org> (12 Apr 2007)
+# Mask until fixed.
+net-misc/tightvnc server
diff --git a/profiles/arch/hppa/package.use.stable.mask b/profiles/arch/hppa/package.use.stable.mask
new file mode 100644
index 00000000000..982313dc21e
--- /dev/null
+++ b/profiles/arch/hppa/package.use.stable.mask
@@ -0,0 +1,12 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+# DON'T TOUCH THIS FILE. Instead, file a bug and assign it to <hppa@gentoo.org>.
+# plz
+
+# Michał Górny <mgorny@gentoo.org> (21 Feb 2015)
+# The external QCA plugins are not stable on this arch. Since
+# this is only a temporary measure and nothing depends on them,
+# just masking them until the new version goes stable.
+<app-crypt/qca-2.1 pkcs11 sasl
diff --git a/profiles/arch/hppa/packages b/profiles/arch/hppa/packages
new file mode 100644
index 00000000000..f97e4bd73ff
--- /dev/null
+++ b/profiles/arch/hppa/packages
@@ -0,0 +1,5 @@
+# Copyright 1999-2011 Gentoo Foundation.
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+*sys-boot/palo
diff --git a/profiles/arch/hppa/parent b/profiles/arch/hppa/parent
new file mode 100644
index 00000000000..eb001c6e8ab
--- /dev/null
+++ b/profiles/arch/hppa/parent
@@ -0,0 +1 @@
+../base
diff --git a/profiles/arch/hppa/use.force b/profiles/arch/hppa/use.force
new file mode 100644
index 00000000000..9b60317bfc2
--- /dev/null
+++ b/profiles/arch/hppa/use.force
@@ -0,0 +1,2 @@
+# Force the flag which corresponds to ARCH.
+hppa
diff --git a/profiles/arch/hppa/use.mask b/profiles/arch/hppa/use.mask
new file mode 100644
index 00000000000..1ea11183163
--- /dev/null
+++ b/profiles/arch/hppa/use.mask
@@ -0,0 +1,357 @@
+# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
+# $Id$
+
+# DON'T TOUCH THIS FILE. Instead, file a bug and assign it to <hppa@gentoo.org>.
+
+# Jeroen Roovers <jer@gentoo.org> (3 Feb 2015)
+# app-misc/geoclue has not been tested on HPPA
+geoclue
+
+# Jeroen Roovers <jer@gentoo.org> (3 Feb 2015)
+# net-misc/connman has not been tested on HPPA
+connman
+
+# Jeroen Roovers <jer@gentoo.org> (18 Jan 2015)
+# No video acceleration is available so video decoding acceleration will not
+# work either (bug #536956)
+vaapi
+
+# Jeroen Roovers <jer@gentoo.org> (24 Dec 2014)
+# sys-devel/clang has not been ported to HPPA
+clang
+
+# Jeroen Roovers <jer@gentoo.org> (7 Nov 2014)
+# dev-lang/luajit has not been ported to HPPA
+luajit
+
+# Jeroen Roovers <jer@gentoo.org> (30 Sep 2014)
+# sys-libs/libseccomp has not been ported to HPPA (bug #524148)
+seccomp
+
+# Jeroen Roovers <jer@gentoo.org> (19 Sep 2014)
+# >=net-libs/libgadu-1.12.0 (bug #519854) requires dev-libs/protobuf-c (bug #519772)
+gadu
+
+# Jeroen Roovers <jer@gentoo.org> (20 May 2014)
+# Mask USE=systemtap generally until proper kernel support is in place
+systemtap
+
+# Jeroen Roovers <jer@gentoo.org> (20 May 2014)
+# USE=tcmalloc needs dev-util/google-perftools
+tcmalloc
+
+# Chí-Thanh Christopher Nguyễn <chithanh@gentoo.org> (10 Nov 2013)
+# sys-devel/llvm is not keyworded, bug #320221
+llvm
+
+# Jeroen Roovers <jer@gentoo.org> (22 Aug 2013)
+# No known OpenCL providers (bug #482096)
+opencl
+
+# Jeroen Roovers <jer@gentoo.org> (19 Jun 2013)
+# media-libs/x264 works
+-x264
+
+# Samuli Suominen <ssuominen@gentoo.org> (12 Mar 2013)
+# NVIDIA Cg toolkit for binary drivers
+cg
+
+# Jeroen Roovers <jer@gentoo.org> (13 Nov 2012)
+# media-libs/fdk-aac is not supported on HPPA (bug #442806)
+fdk
+
+# Jeroen Roovers <jer@gentoo.org> (23 May 2012)
+# sys-apps/gptfdisk creates partition tables incompatible with the HPPA
+# bootloader (bug #412801).
+gptfdisk
+
+# Jeroen Roovers <jer@gentoo.org> (25 Apr 2012)
+# sys-apps/systemd is not tested
+systemd
+
+# Jeroen Roovers <jer@gentoo.org> (4 Apr 2012)
+# media-video/vlc is not tested
+vlc
+
+# Jeroen Roovers <jer@gentoo.org> (27 Mar 2012)
+# app-i18n/ibus is not tested
+ibus
+
+# Jeroen Roovers <jer@gentoo.org> (8 Mar 2012)
+# The crash reporting facility in www-client/firefox does not compile
+crashreporter
+
+# Jeroen Roovers <jer@gentoo.org> (4 Jan 2012)
+# dvb is untested on HPPA
+dvb
+
+# Jeroen Roovers <jer@gentoo.org> (4 Jan 2012)
+# No support for Blu-ray (bug #397531).
+bluray
+
+# Jeroen Roovers <jer@gentoo.org> (15 Sep 2011)
+# Prelude has not been tested on HPPA.
+prelude
+
+# Jeroen Roovers <jer@gentoo.org> (9 Jun 2011)
+# Lots of untested dependencies (bug #365451)
+facedetect
+
+# Jeroen Roovers <jer@gentoo.org> (2 May 2011)
+# No support for CUDA on HPPA
+cuda
+
+# Samuli Suominen <ssuominen@gentoo.org> (25 Dec 2010)
+# This will need stable gnome-base/gvfs.
+thunar
+
+# Jeroen Roovers <jer@gentoo.org> (29 Oct 2010)
+# Webkit does not work on HPPA right now.
+webkit
+
+# Jeroen Roovers <jer@gentoo.org> (25 Oct 2010)
+# FFI does not work: "Unknown cpu type" (bug #337956)
+ffi
+
+# Jeroen Roovers <jer@gentoo.org> (20 Jul 2010)
+# Mask USE=gnome entirely (bug #324511)
+glade
+libnotify
+gconf
+gnome
+gnome-keyring
+
+# Jeroen Roovers <jer@gentoo.org> (19 Jul 2010)
+# Masked because of missing gnome-base/gnome-panel
+# dependency (bug #324511)
+applet
+
+# Jeroen Roovers <jer@gentoo.org> (10 Jul 2010)
+# No known hardware support for video decoding
+vaapi
+vdpau
+
+# Jeroen Roovers <jer@gentoo.org> (1 Jul 2010)
+# Drop support for ghc and darcs
+darcs
+
+# Jeroen Roovers <jer@gentoo.org> (5 Apr 2010)
+# Mask USE=kde (bug #304363).
+kde
+
+# Jeroen Roovers <jer@gentoo.org> (28 Feb 2010)
+# app-accessibility/flite does not work (bug #307241)
+flite
+
+# Jeroen Roovers <jer@gentoo.org> (4 Aug 2009)
+# net-misc/wicd and sys-power/pm-utils are currently not supported (bug #280312)
+wicd
+pm-utils
+
+# Unmask the flag which corresponds to ARCH.
+-hppa
+
+# Jeroen Roovers <jer@gentoo.org> (7 Jun 2008)
+# # dev-util/valgrind has not been ported to HPPA.
+valgrind
+
+# Jeroen Roovers <jer@gentoo.org> (4 Jan 2008)
+# Masked until someone turns up with a PA-RISC laptop:
+laptop
+
+# Jeroen Roovers <jer@gentoo.org> (4 Jan 2008)
+# Bug 179895: HPPA's gcc cannot build native code / lacking upstream support
+ocamlopt
+
+# 2007/05/17 Jeroen Roovers <jer@gentoo.org>
+# sys-devel/gcc fails to build with USE=d (bug #178896).
+d
+
+# 2007/05/02 Jeroen Roovers <jer@gentoo.org>
+# Lack of user/dev support for WiFi (bug #176517)
+networkmanager
+
+# 2007/04/27 Jeroen Roovers <jer@gentoo.org>
+# To my knowledge, no PA hardware supports variable CPU frequencies
+cpufreq
+
+# 2007/04/07 Jeroen Roovers <jer@gentoo.org>
+# gnustep-make needs gcc with USE=gcj
+gnustep
+
+# 2007/04/07 Jeroen Roovers <jer@gentoo.org>
+# libffi has not been ported to hppa, therefore gcc fails to build with USE=gcj
+gcj
+
+# 2007/03/21 Steve Dibb <beandog@gentoo.org>
+# mplayer local keywords
+ivtv
+
+# 2007/03/02 Samuli Suominen <drac@gentoo.org>
+# See http://bugs.gentoo.org/show_bug.cgi?id=157881#c3
+battery
+
+# 2006/12/01 Gustavo Zacarias <gustavoz@gentoo.org>
+# glitz basically unusable since we lack hardware GL see #155544
+glitz
+
+# 2006/08/18 Saleem Abdulrasool <compnerd@gentoo.org>
+# dvdr hardware not available - masking with permission from GMsoft
+dvdr
+
+# 2006/05/25 Jeroen Roovers <jer@gentoo.org>
+# libemf is not ported to hppa
+emf
+
+# 2006/05/25 Guy Martin <gmsoft@gentoo.org>
+# libaio is not ported on hppa
+aio
+
+# 2006/05/14 Tobias Scherbaum <dertobi123@gentoo.org>
+# media-video/totem
+nvtv
+
+# 2006/05/12 Tobias Scherbaum <dertobi123@gentoo.org>
+# gnome-extra/nautilus et al: Masking as mono is still not supported on hppa
+beagle
+
+# 2006/04/26 Saleem Abdulrasool <compnerd@gentoo.org>
+# sys-apps/dmidecode: masking with vapier's blessings
+dmi
+
+# 2006/03/07 Donnie Berkholz <dberkholz@gentoo.org>
+# Modular X: mask for architectures lacking direct rendering
+dri
+
+# 2006/02/05 Donnie Berkholz <dberkholz@gentoo.org>
+# Modular X: mask for architectures on which they aren't available
+video_cards_apm
+video_cards_ark
+video_cards_ast
+video_cards_chips
+video_cards_cirrus
+video_cards_cyrix
+video_cards_glint
+video_cards_i128
+video_cards_i740
+video_cards_i915
+video_cards_i965
+video_cards_ilo
+video_cards_intel
+video_cards_mach64
+video_cards_mga
+video_cards_neomagic
+video_cards_newport
+video_cards_nouveau
+video_cards_nsc
+video_cards_nv
+video_cards_r100
+video_cards_r128
+video_cards_r200
+video_cards_r300
+video_cards_r600
+video_cards_radeon
+video_cards_radeonsi
+video_cards_rendition
+video_cards_s3
+video_cards_s3virge
+video_cards_savage
+video_cards_siliconmotion
+video_cards_sis
+video_cards_sisusb
+video_cards_svga
+video_cards_tdfx
+video_cards_tga
+video_cards_trident
+video_cards_tseng
+video_cards_v4l
+video_cards_vesa
+video_cards_vmware
+video_cards_voodoo
+
+# 25 Jul 2005 Guy Martin <gmsoft@gentoo.org>
+# lm_sensors not supported on hppa and ieee1394 not tested
+lm_sensors
+iec61883
+ieee1394
+
+# 25 Jun 2005 Guy Martin <gmsoft@gentoo.org>
+# mono is not yet supported on hppa
+mono
+
+# 18 Feb 2005 Guy Martin <gmsoft@gentoo.org>
+# No emboss support on hppa for now
+emboss
+
+# 08 Aug 2004 Guy Martin <gmsoft@gentoo.org>
+# Wifi stuff not test yet because of lack of hardware
+wifi
+
+# 26 Feb 2003 Guy Martin <gmsoft@gentoo.org>
+# No lirc support on hppa
+lirc
+
+# 22 Jul 2003 Guy Martin <gmsoft@gentoo.org>
+# Scanner and gphoto2 not yet tested
+gphoto2
+scanner
+
+# 17 Jul 2003 Guy Martin <gmsoft@gentoo.org>
+# Avi support is far from 'supported'
+avi
+
+# 13 Apr 2003 Guy Martin <gmsoft@gentoo.org>
+# Selinux patches not tested on hppa and no kernel sources are emergeables with this patch.
+selinux
+
+# 20 Mar 2003 Guy Martin <gmsoft@gentoo.org>
+# Many java apps need java => 1.3 and hppa has only 1.1 right now
+java
+
+# 5 Jan 2005 Ciaran McCreesh <ciaranm@gentoo.org>
+# No reliable java, no netbeans. bug 66762
+netbeans
+
+# 14 Mar 2003 Guy Martin <gmsoft@gentoo.org>
+# USE flags not related to hppa
+acpi
+apm
+afs
+pcmcia
+pda
+trusted
+
+# see email to gentoo-dev with subject "use.mask and PHP5's crazy IUSE"
+# Dated Sat, 31 Jul 2004 14:49:28 -0700, from robbat2@gentoo.org
+# all of these are binary-only, and not presently available on this
+# architecture.
+ibm
+djbfft
+
+# Added because of xmms-plugin.eclass. Please test out
+# media-sound/beep-media-player and remove if
+bmp
+freetts
+3dfx
+pike
+
+# Adding h323 to mask. For more information see bug #115798
+h323
+
+# Diego Pettenò <flameeyes@gentoo.org> (6 Dec 2006)
+# Unmask specific HPPA ALSA drivers
+-alsa_cards_harmony
+
+# Doug Goldstein <cardoe@gentoo.org> (27 Apr 2007)
+# Dell does not ship or sell HPPA systems
+dell
+
+# Matt Turner <mattst88@gentoo.org) (10 Feb 2012)
+# mask d3d since we don't have wine
+d3d
+
+# Matt Turner <mattst88@gentoo.org) (10 Feb 2012)
+# mask wayland since dev-libs/wayland isn't keyworded
+wayland
+
+# DON'T TOUCH THIS FILE. Instead, file a bug and assign it to <hppa@gentoo.org>.
diff --git a/profiles/arch/ia64/eapi b/profiles/arch/ia64/eapi
new file mode 100644
index 00000000000..7ed6ff82de6
--- /dev/null
+++ b/profiles/arch/ia64/eapi
@@ -0,0 +1 @@
+5
diff --git a/profiles/arch/ia64/make.defaults b/profiles/arch/ia64/make.defaults
new file mode 100644
index 00000000000..a76f8c64391
--- /dev/null
+++ b/profiles/arch/ia64/make.defaults
@@ -0,0 +1,29 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+ARCH="ia64"
+ACCEPT_KEYWORDS="ia64"
+
+CHOST="ia64-unknown-linux-gnu"
+CFLAGS="-O2 -pipe"
+CXXFLAGS="${CFLAGS}"
+FFLAGS="${CFLAGS}"
+FCFLAGS="${CFLAGS}"
+
+# Michał Górny <mgorny@gentoo.org> (01 Jul 2014)
+# Set ABI & DEFAULT_ABI consistently with ${ARCH}, to make ebuild
+# checks simpler.
+ABI="ia64"
+DEFAULT_ABI="ia64"
+MULTILIB_ABIS="ia64"
+LIBDIR_ia64="lib"
+CHOST_ia64="${CHOST}"
+
+# 2006/08/18 - Donnie Berkholz <dberkholz@gentoo.org>
+# Defaults for video drivers
+VIDEO_CARDS="fbdev glint mach64 mga nv r128 radeon savage tdfx vesa voodoo"
+
+# 2006/12/23 - Diego Pettenò <flameeyes@gentoo.org>
+# Defaults for audio drivers - Took from x86 profile
+ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci"
diff --git a/profiles/arch/ia64/package.mask b/profiles/arch/ia64/package.mask
new file mode 100644
index 00000000000..d122abfc2e3
--- /dev/null
+++ b/profiles/arch/ia64/package.mask
@@ -0,0 +1,132 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+# Ben de Groot <yngwin@gentoo.org> (01 Feb 2015)
+# Qt5 mask, pending keywording. Remember unmasking qt5 in use.mask as well.
+>=dev-qt/assistant-5.4.0
+>=dev-qt/designer-5.4.0
+>=dev-qt/linguist-5.4.0
+>=dev-qt/linguist-tools-5.4.0
+>=dev-qt/pixeltool-5.4.0
+>=dev-qt/qdbus-5.4.0
+>=dev-qt/qdbusviewer-5.4.0
+>=dev-qt/qdoc-5.4.0
+>=dev-qt/qtconcurrent-5.4.0
+>=dev-qt/qtcore-5.4.0
+>=dev-qt/qtdbus-5.4.0
+>=dev-qt/qtdeclarative-5.4.0
+>=dev-qt/qtdiag-5.4.0
+>=dev-qt/qtgraphicaleffects-5.4.0
+>=dev-qt/qtgui-5.4.0
+>=dev-qt/qthelp-5.4.0
+>=dev-qt/qtimageformats-5.4.0
+>=dev-qt/qtmultimedia-5.4.0
+>=dev-qt/qtnetwork-5.4.0
+>=dev-qt/qtopengl-5.4.0
+>=dev-qt/qtpaths-5.4.0
+>=dev-qt/qtpositioning-5.4.0
+>=dev-qt/qtprintsupport-5.4.0
+>=dev-qt/qtquick1-5.4.0
+>=dev-qt/qtquickcontrols-5.4.0
+>=dev-qt/qtscript-5.4.0
+>=dev-qt/qtsensors-5.4.0
+>=dev-qt/qtserialport-5.4.0
+>=dev-qt/qtsql-5.4.0
+>=dev-qt/qtsvg-5.4.0
+>=dev-qt/qttest-5.4.0
+>=dev-qt/qttranslations-5.4.0
+>=dev-qt/qtwayland-5.4.0
+>=dev-qt/qtwebkit-5.4.0
+>=dev-qt/qtwebsockets-5.4.0
+>=dev-qt/qtwidgets-5.4.0
+>=dev-qt/qtx11extras-5.4.0
+>=dev-qt/qtxml-5.4.0
+>=dev-qt/qtxmlpatterns-5.4.0
+>=dev-qt/qt-creator-3.3.0
+=app-text/calibre-2*
+>=x11-misc/sddm-0.10.0
+
+# Davide Pesavento <pesa@gentoo.org> (20 Nov 2014)
+# Qt4 multilib ebuilds, masked until dev-qt/qtchooser
+# gets keyworded. See bug 529196.
+>=dev-qt/assistant-4.8.6:4
+>=dev-qt/designer-4.8.6:4
+>=dev-qt/linguist-4.8.6:4
+>=dev-qt/pixeltool-4.8.6:4
+>=dev-qt/qdbusviewer-4.8.6:4
+>=dev-qt/qt3support-4.8.6:4
+>=dev-qt/qtbearer-4.8.6:4
+>=dev-qt/qtcore-4.8.6:4
+>=dev-qt/qtdbus-4.8.6:4
+>=dev-qt/qtdeclarative-4.8.6:4
+>=dev-qt/qtdemo-4.8.6:4
+>=dev-qt/qtgui-4.8.6:4
+>=dev-qt/qthelp-4.8.6:4
+>=dev-qt/qtmultimedia-4.8.6:4
+>=dev-qt/qtopengl-4.8.6:4
+>=dev-qt/qtopenvg-4.8.6:4
+>=dev-qt/qtphonon-4.8.6:4
+>=dev-qt/qtscript-4.8.6:4
+>=dev-qt/qtsql-4.8.6:4
+>=dev-qt/qtsvg-4.8.6:4
+>=dev-qt/qttest-4.8.6:4
+>=dev-qt/qttranslations-4.8.6:4
+>=dev-qt/qtwebkit-4.8.6:4
+>=dev-qt/qtxmlpatterns-4.8.6:4
+
+# Alexis Ballier <aballier@gentoo.org> (27 Jun 2013)
+# TeX Live 2013 mask.
+# kpathsea has to be there because it has config files without /usr/share/texmf
+# and thus will break anything before TeX Live 2013.
+>=dev-libs/kpathsea-6.1.1_p20130530
+>=app-text/texlive-core-2013
+>=dev-tex/luatex-0.74
+>=app-text/texlive-2013
+>=dev-tex/bibtexu-3.71_p20130530
+>=dev-texlive/texlive-fontsextra-2013
+>=dev-texlive/texlive-langother-2013
+>=dev-texlive/texlive-latexrecommended-2013
+>=dev-texlive/texlive-formatsextra-2013
+>=dev-texlive/texlive-games-2013
+>=dev-texlive/texlive-langcyrillic-2013
+>=dev-texlive/texlive-pstricks-2013
+>=dev-texlive/texlive-langportuguese-2013
+>=dev-texlive/texlive-omega-2013
+>=dev-texlive/texlive-langspanish-2013
+>=dev-texlive/texlive-langczechslovak-2013
+>=dev-texlive/texlive-basic-2013
+>=dev-texlive/texlive-langindic-2013
+>=dev-texlive/texlive-langpolish-2013
+>=dev-texlive/texlive-luatex-2013
+>=dev-texlive/texlive-plainextra-2013
+>=dev-texlive/texlive-langafrican-2013
+>=dev-texlive/texlive-fontutils-2013
+>=dev-texlive/texlive-genericextra-2013
+>=dev-texlive/texlive-latexextra-2013
+>=dev-texlive/texlive-latex-2013
+>=dev-texlive/texlive-mathextra-2013
+>=dev-texlive/texlive-langgreek-2013
+>=dev-texlive/texlive-langenglish-2013
+>=dev-texlive/texlive-fontsrecommended-2013
+>=dev-texlive/texlive-science-2013
+>=dev-texlive/texlive-langarabic-2013
+>=dev-texlive/texlive-metapost-2013
+>=dev-texlive/texlive-xetex-2013
+>=dev-texlive/texlive-langgerman-2013
+>=dev-texlive/texlive-music-2013
+>=dev-texlive/texlive-langitalian-2013
+>=dev-texlive/texlive-langcjk-2013
+>=dev-texlive/texlive-langeuropean-2013
+>=dev-texlive/texlive-langfrench-2013
+>=dev-texlive/texlive-bibtexextra-2013
+>=dev-texlive/texlive-humanities-2013
+>=dev-texlive/texlive-context-2013
+>=dev-texlive/texlive-pictures-2013
+>=dev-texlive/texlive-genericrecommended-2013
+>=dev-texlive/texlive-publishers-2013
+
+# Zac Medico <zmedico@gentoo.org> (09 Aug 2011)
+# Bug #377907 - Use package.mask for compatibility with PMS section 5.2.7, and
+# future versions of sys-apps/portage.
+<sys-devel/gcc-3.2
diff --git a/profiles/arch/ia64/package.use b/profiles/arch/ia64/package.use
new file mode 100644
index 00000000000..152d07b9499
--- /dev/null
+++ b/profiles/arch/ia64/package.use
@@ -0,0 +1,7 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+# Pacho Ramos <pacho@gentoo.org> (15 Feb 2014)
+# libev isn't supported on this arch, use another default (#499498)
+dev-libs/libverto libevent
diff --git a/profiles/arch/ia64/package.use.force b/profiles/arch/ia64/package.use.force
new file mode 100644
index 00000000000..058ce2e8cdd
--- /dev/null
+++ b/profiles/arch/ia64/package.use.force
@@ -0,0 +1,12 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+# Mike Frysinger <vapier@gentoo.org> (16 Mar 2015)
+# Needs dev-lang/luajit tested #499974
+dev-libs/efl oldlua
+
+# Raúl Porcel <armin76@gentoo.org> (21 Oct 2007)
+# It segfaults without debug use-flags
+# Remove when http://bugs.php.net/bug.php?id=42893 is fixed
+dev-lang/php debug
diff --git a/profiles/arch/ia64/package.use.mask b/profiles/arch/ia64/package.use.mask
new file mode 100644
index 00000000000..3403fd3c81b
--- /dev/null
+++ b/profiles/arch/ia64/package.use.mask
@@ -0,0 +1,271 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+# James Le Cuirot <chewi@gentoo.org> (11 Jul 2015)
+# Requires dev-java/fop but we don't support java on ia64.
+gnome-extra/libgda reports
+net-analyzer/wireshark doc-pdf
+
+# Pacho Ramos <pacho@gentoo.org> (13 Jun 2015)
+# Missing keywords, bug #513108
+net-misc/spice-gtk smartcard webdav
+
+# Gilles Dartiguelongue <eva@gentoo.org> (09 Jun 2015)
+# net-fs/libnfs lacks ia64 keyword, bug #551576
+gnome-base/gvfs nfs
+
+# Gilles Dartiguelongue <eva@gentoo.org> (09 Jun 2015)
+# dev-lang/luajit and dev-lua/lgi and lack ia64 keyword, bug #551540
+dev-libs/libpeas lua jit
+
+# Mike Frysinger <vapier@gentoo.org> (16 Mar 2015)
+# Needs sci-physics/bullet & media-libs/libsdl2 tested #499974
+dev-libs/efl physics sdl
+media-libs/elementary sdl
+
+# Michał Górny <mgorny@gentoo.org> (08 Mar 2015)
+# Dependency not keyworded on this arch, bug #542570.
+xfce-base/xfce4-settings libinput
+
+# Alexis Ballier <aballier@gentoo.org> (11 Feb 2015)
+# Missing ffmpeg deps, bug #510340
+media-video/ffmpeg x265 gme ssh
+
+# Patrick Lauer <patrick@gentoo.org> (10 Feb 2015)
+# Missing keywords for media-libs/x265
+media-video/libav x265
+
+# Pacho Ramos <pacho@gentoo.org> (10 Jan 2014)
+# Missing keywords
+net-misc/networkmanager teamd
+
+# Gilles Dartiguelongue <eva@gentoo.org> (23 Dec 2014)
+# New dependencies for wayland support in Gnome 3.14
+# See bug #533420.
+media-libs/clutter egl
+x11-wm/mutter kms
+
+# Mark Wright <gienah@gentoo.org> (14-23 Dec 2014)
+# test dependencies need keywording
+dev-haskell/binary test
+dev-haskell/text test
+dev-haskell/vector test
+
+# Pacho Ramos <pacho@gentoo.org> (11 Nov 2014)
+# Missing keywords, bug #523686
+>=dev-libs/libgdata-0.16.1 test
+
+# Michał Górny <mgorny@gentoo.org> (30 Oct 2014)
+# Requires non-keyworded >=x11-libs/libxkbcommon-0.4.
+sys-apps/systemd terminal
+sys-apps/systemd xkb
+
+# Chí-Thanh Christopher Nguyễn <chithanh@gentoo.org> (16 Sep 2014)
+# Needs libepoxy keywording, bug #510940
+x11-base/xorg-server glamor wayland
+
+# Maciej Mrozowski <reavertm@gentoo.org> (13 Aug 2014)
+# Missing keywords on dev-libs/protobuf-c (bug 519772)
+>=net-libs/libgadu-1.12.0 gg11
+
+# Christoph Junghans <ottxor@gentoo.org> (21 Jul 2014)
+# Missing keywords on sci-libs/libcerf (bug 517726)
+sci-visualization/gnuplot libcerf
+
+# Markos Chandras <hwoarang@gentoo.org> (26 Apr 2014)
+# dev-libs/jansson is not keyworded for ia64. Bug #507428
+app-admin/ulogd json
+
+# Pacho Ramos <pacho@gentoo.org> (12 Apr 2014)
+# Missing keywords, bug #507490
+net-misc/modemmanager mbim
+
+# Mike Frysinger <vapier@gentoo.org> (15 Mar 2014)
+# Various deps not ported to ia64.
+dev-python/ipython nbconvert notebook
+
+# Mike Frysinger <vapier@gentoo.org> (15 Mar 2014)
+# dev-python/greenlet is not ported to ia64.
+dev-python/pyzmq green test
+
+# Pacho Ramos <pacho@gentoo.org> (15 Mar 2014)
+# Missing keywords, bug #504672
+>=net-misc/vinagre-3.10 rdp
+
+# Pacho Ramos <pacho@gentoo.org> (23 Feb 2014)
+# Needed dependencies cannot be installed on ia64, bug #498638
+dev-util/dbus-test-runner test
+
+# Pacho Ramos <pacho@gentoo.org> (22 Feb 2014)
+# Missing keywords, bug #495250
+>=gnome-base/gnome-extra-apps-3.10 tracker
+
+# Pacho Ramos <pacho@gentoo.org> (10 Feb 2014)
+# Missing keywords, bug #495254
+>=dev-libs/totem-pl-parser-3.10 quvi
+>=media-video/totem-3.10 flash
+
+# Pacho Ramos <pacho@gentoo.org> (19 Jan 2014)
+# Missing keywords, bug #478254
+gnome-base/gnome classic extras
+
+# Pacho Ramos <pacho@gentoo.org> (11 Jan 2014)
+sys-kernel/dracut -dracut_modules_systemd
+
+# Julian Ospald <hasufell@gentoo.org> (04 Jan 2014)
+# no keyword for media-libs/tremor
+>=dev-libs/DirectFB-1.7.1 tremor
+
+# Pacho Ramos <pacho@gentoo.org> (02 Dec 2013)
+# Missing keywords, bug #493156
+media-libs/libgphoto2 serial
+
+# Pacho Ramos <pacho@gentoo.org> (28 Nov 2013)
+# Missing keywords, bug #492820
+net-im/telepathy-connection-managers sipe
+
+# Mark Wright <gienah@gentoo.org> (26 Oct 2013)
+# template-haskell not yet available
+dev-haskell/dataenc test
+
+# Pacho Ramos <pacho@gentoo.org> (20 Jul 2013)
+# Keywords pending, bug #476710
+>=gnome-base/gnome-extra-apps-3.8 games
+
+# Patrick Lauer <patrick@gentoo.org> (17 Jun 2013)
+# Fix per-arch mask of phonon[zeitgeist] #460140
+media-libs/phonon zeitgeist
+
+# Dirkjan Ochtman <djc@gentoo.org> (3 May 2013)
+# depends on net-libs/polarssl
+>=net-misc/openvpn-2.3.1 polarssl
+
+# Gilles Dartiguelongue <eva@gentoo.org> (1 Apr 2013)
+# missing keyword on media-libs/tremor, bug #453200
+media-libs/gst-plugins-base ivorbis
+
+# Julian Ospald <hasufell@gentoo.org> (31 Mar 2013)
+# depends on mono/monodevelop
+>=net-irc/hexchat-2.9.4-r1 theme-manager
+
+# Sergei Trofimovich <slyfox@gentoo.org> (26 Mar 2013)
+# sys-devel/llvm has no ia64 keywords
+dev-lang/ghc llvm
+
+# Agostino Sarubbo <ago@gentoo.org> (09 Feb 2013)
+# Mask media-video/libav[hardcoded-tables] bug #453328
+# I don't use use.mask because it works on ffmpeg
+media-video/libav hardcoded-tables
+
+# Alexandre Rostovtsev <tetromino@gentoo.org> (31 Jan 2013)
+# remove mask when net-libs/libqmi is keyworded here
+net-misc/modemmanager qmi qmi-newest
+
+# Alexandre Rostovtsev <tetromino@gentoo.org> (22 Jan 2013)
+# remove mask if/when media-gfx/argyllcms is keywored here.
+x11-misc/colord argyllcms extra-print-profiles
+
+# Alexandre Rostovtsev <tetromino@gentoo.org> (31 Dec 2012)
+# remove mask if/when mail-client/thunderbird is keyworded here
+app-misc/tracker thunderbird
+
+# Alexandre Rostovtsev <tetromino@gentoo.org> (31 Dec 2012)
+# requires app-office/unoconv, which requires virtual/ooo, which is not
+# keyworded here. Remove mask if this situation changes.
+gnome-extra/sushi office
+
+# Alexandre Rostovtsev <tetromino@gentoo.org> (26 Dec 2012)
+# remove when app-accessibility/at-spi2-core is stable for ia64
+=net-libs/webkit-gtk-1.8.3-r300 webkit2
+
+# Agostino Sarubbo <ago@gentoo.org> (18 Dec 2012)
+# kde is not stable, then no needs phonon backends
+media-libs/phonon gstreamer vlc
+
+# Alexandre Rostovtsev <tetromino@gentoo.org> (15 Dec 2012)
+# media-video/coherence not keyworded
+=media-video/totem-2* upnp-av
+
+# Robin H Johnson <robbat2@gentoo.org> (01 Nov 2012)
+# MySQL 5.5 wants systemtap, tcmalloc & jemalloc
+>=dev-db/mysql-5.5 tcmalloc
+>=dev-db/mariadb-5.5 tcmalloc
+>=dev-db/percona-server-5.5 tcmalloc
+
+# Raúl Porcel <armin76@gentoo.org> (28 May 2012)
+# Needs x11-misc/lightdm(which also requires some other deps)
+x11-misc/xscreensaver new-login
+
+# Alexandre Rostovtsev <tetromino@gentoo.org> (12 Apr 2012)
+# Requires gnutls[pkcs11], which is use.masked on ia64
+net-libs/glib-networking smartcard
+
+# Alexey Shvetsov <alexxy@gentoo.org> (17 Dec 2011)
+# Mask use numa for openmpi
+sys-cluster/openmpi openmpi_fabrics_psm openmpi_fabrics_knem openmpi_fabrics_open-mx openmpi_fabrics_ofed openmpi_fabrics_dapl openmpi_rm_slurm openmpi_fabrics_sctp openmpi_ofed_features_rdmacm
+
+# Raúl Porcel <armin76@gentoo.org> (05 Nov 2011)
+# jit not supported on ia64
+dev-libs/libpcre jit
+
+# Alexandre Rostovtsev <tetromino@gentoo.org> (03 Nov 2011)
+# Missing keywords in gst-plugins-{faac,lame,twolame}, bug #389433
+gnome-extra/gnome-media aac mp3 twolame
+
+# Robin H. Johnson <robbat2@gentoo.org> (03 Sep 2011)
+# Remove this for your arch after you keyword dev-utils/google-perftools (bug #381737
+dev-libs/libmemcached tcmalloc
+
+# Alexey Shvetsov <alexxy@gentoo.org> (31 Aug 2011)
+# Mask numa use flag per bug #381313
+sys-apps/hwloc numa
+
+# Pacho Ramos <pacho@gentoo.org> (19 Jul 2011)
+# Missing keywords on dependencies
+app-cdr/brasero vcd
+
+# Tomáš Chvátal <scarabeus@gentoo.org> (4 Apr 2011)
+# Needs sci-libs/umfpack keyworded. Bug #361947.
+media-libs/gegl umfpack
+
+# Sebastian Pipping <sping@gentoo.org> (22 Feb 2011)
+# No media-sound/lilypond here, yet (bug #356069)
+app-text/asciidoc test
+
+# Diego Elio Pettenò <flameeyes@gentoo.org> (17 Dec 2010)
+# needs sys-libs/libcap-ng that is masked right now
+sys-apps/smartmontools caps
+
+# Raúl Porcel <armin76@gentoo.org> (5 Dec 2010)
+# Needs testing
+www-client/elinks javascript
+
+# Raúl Porcel <armin76@gentoo.org> (19 Sep 2010)
+# dev-ruby/ffi fails to build
+dev-ruby/nokogiri ffi
+
+# Raúl Porcel <armin76@gentoo.org> (26 Jun 2010)
+# custom-optimization doesn't work on ia64
+mail-client/thunderbird custom-optimization
+www-client/firefox custom-optimization
+www-client/seamonkey custom-optimization
+
+# Ben de Groot <yngwin@gentoo.org> (16 Jan 2010)
+# qtmultimedia is not keyworded, bug 293671
+dev-python/PyQt4 multimedia
+
+# Raúl Porcel <armin76@gentoo.org)
+# Keep deps minimal
+x11-wm/fvwm lock
+
+# Raúl Porcel <armin76@gentoo.org> (11 Apr 2009)
+# net-libs/webkit-gtk segfaults but dev-qt/qtwebkit doesn't
+dev-python/PyQt4 -webkit
+
+# Raúl Porcel <armin76@gentoo.org> (07 Jul 2008)
+# Make clisp deps minimal
+dev-lisp/clisp hyperspec pari svm
+
+# missing keywords
+media-plugins/gst-plugins-meta dts dv lame libvisual modplug mms taglib vcd wavpack
diff --git a/profiles/arch/ia64/package.use.stable.mask b/profiles/arch/ia64/package.use.stable.mask
new file mode 100644
index 00000000000..d3c39ad4b5d
--- /dev/null
+++ b/profiles/arch/ia64/package.use.stable.mask
@@ -0,0 +1,27 @@
+# Copyright 1999-2014 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. Please be extremely
+# careful not to commit atoms that are not valid, as it can cause large-scale
+# breakage, especially if it ends up in the daily snapshot.
+#
+## Example:
+##
+## # Dev E. Loper <developer@gentoo.org> (28 Jun 2012)
+## # Masking foo USE flag until we can get the
+## # foo stuff to work properly again (bug 12345)
+## =media-video/mplayer-0.90_pre5 foo
+## =media-video/mplayer-0.90_pre5-r1 foo
+#
+
+#--- END OF EXAMPLES ---
+
+# Pacho Ramos <pacho@gentoo.org> (02 Jul 2014)
+# Mask due Gnome3 not going to be stabilized on this arch
+dev-util/geany-plugins devhelp markdown webkit
+>=gnome-base/gnome-desktop-2.32.1-r2 license-docs
+>=net-libs/webkit-gtk-2.4 geoloc
+>=x11-libs/gtk+-3.12.2 cloudprint
+x11-libs/gksu gnome
diff --git a/profiles/arch/ia64/parent b/profiles/arch/ia64/parent
new file mode 100644
index 00000000000..eb001c6e8ab
--- /dev/null
+++ b/profiles/arch/ia64/parent
@@ -0,0 +1 @@
+../base
diff --git a/profiles/arch/ia64/use.force b/profiles/arch/ia64/use.force
new file mode 100644
index 00000000000..1dfcca5c094
--- /dev/null
+++ b/profiles/arch/ia64/use.force
@@ -0,0 +1,2 @@
+# Force the flag which corresponds to ARCH.
+ia64
diff --git a/profiles/arch/ia64/use.mask b/profiles/arch/ia64/use.mask
new file mode 100644
index 00000000000..c598e2f0585
--- /dev/null
+++ b/profiles/arch/ia64/use.mask
@@ -0,0 +1,272 @@
+# Unmask the flag which corresponds to ARCH.
+-ia64
+
+# This is a list of USE flags that should not be used on ia64.
+
+# No hardware to test by the team
+3dfx
+bluetooth
+bluray
+dvb
+dvd
+gnokii
+gphoto2
+gps
+ios
+ipod
+ivtv
+lirc
+mythtv
+nvtv
+pcmcia
+pda
+pkcs11
+scanner
+sms
+v4l
+wifi
+
+# Hardware not available on ia64
+apm
+battery
+cpufreq
+laptop
+lm_sensors
+pm-utils
+
+# Stuff that doesn't work on ia64, or not tested
+afs
+blas
+djbfft
+emboss
+jack
+lapack
+prolog
+lqr
+celt
+capi
+lensfun
+kde
+metalink
+upnp
+webm
+fdk
+valgrind
+matplotlib
+mongodb
+pgm
+scim
+
+# Stuff we don't want
+antlr
+lasi
+mpi
+networkmanager
+octave
+timidity
+semantic-desktop
+tunepimp
+captury
+bittorrent-external
+fits
+ktts
+libburn
+topal
+indi
+flite
+wicd
+opencore-amr
+nut
+sctp
+bs2b
+tokyocabinet
+schroedinger
+ots
+eclipse
+vaapi
+rtmp
+vpx
+frei0r
+lpsol
+libev
+prelude
+ladspa
+aacplus
+devil
+gts
+clang
+redis
+
+# Stuff that doesn't compile on ia64
+chicken
+diet
+emf
+fusion
+mono
+mzscheme
+pike
+xemacs
+
+# Other
+
+# Raúl Porcel <armin76@gentoo.org> (20 Aug 2014)
+# Upstream drops support on ia64 from 4.0 onwards, bug #430352
+ocamlopt
+
+
+# Raúl Porcel <armin76@gentoo.org> (23 Apr 2011)
+# Needs to be tested
+video_cards_nouveau
+
+# Matt Turner <mattst88@gmail.com> (06 May 2011)
+# media-sound/mumble not keyworded on ppc
+mumble
+
+# Samuli Suominen <ssuominen@gentoo.org> (02 Dec 2009)
+# This will need media-sound/musepack-tools
+musepack
+
+# Raúl Porcel <armin76@gentoo.org> (20 Mar 2009)
+# Current webkit segfaults
+webkit
+
+# Ben de Groot <yngwin@gentoo.org> (11 Feb 2009)
+# Both dev-qt/qtphonon and media-sound/phonon are unkeyworded
+phonon
+
+# see email to gentoo-dev with subject "use.mask and PHP5's crazy IUSE"
+# Dated Sat, 31 Jul 2004 14:49:28 -0700, from robbat2@gentoo.org
+# all of these are binary-only, and not presently available on this
+# architecture.
+qdbm
+
+# James Le Cuirot <chewi@gentoo.org> (11 Jul 2015)
+# We don't support java on ia64.
+java
+freetts
+pdfannotextractor
+
+# Aggelos Orfanakos <agorf@gentoo.org> (18 Jan 2008)
+# depends on www-server/mongrel which isn't available for ia64
+mongrel
+
+# beagle depends on dev-dotnet/gnome-sharp.. masked for testing (19 Aug 2006 kloeri)
+beagle
+
+
+# 2006/02/05 - Donnie Berkholz <dberkholz@gentoo.org>
+# Modular X: mask for architectures on which they aren't available
+video_cards_ast
+video_cards_nsc
+video_cards_newport
+video_cards_siliconmotion
+video_cards_sis
+
+# Matt Turner <mattst88@gentoo.org> (02 Jan 2013)
+# Not available on ia64. See bugs 449816, 448606.
+video_cards_intel
+
+# Matt Turner <mattst88@gentoo.org>
+# Mask more VIDEO_CARDs added with mesa-8.0
+video_cards_i915
+video_cards_i965
+video_cards_ilo
+# vmware wasn't added with mesa-8.0, but it should still be masked
+video_cards_vmware
+# llvm is not keyworded
+video_cards_radeonsi
+
+# Diego Pettenò <flameeyes@gentoo.org> (6 Dec 2006)
+# Mask ALSA drivers for ISA cards
+alsa_cards_cs4232
+alsa_cards_msnd-pinnacle
+alsa_cards_cs4231-lib
+alsa_cards_adlib
+alsa_cards_ad1816a
+alsa_cards_ad1848
+alsa_cards_als100
+alsa_cards_azt2320
+alsa_cards_cmi8330
+alsa_cards_cs4231
+alsa_cards_cs4236
+alsa_cards_dt019x
+alsa_cards_es968
+alsa_cards_es1688
+alsa_cards_es18xx
+alsa_cards_gusclassic
+alsa_cards_gusextreme
+alsa_cards_gusmax
+alsa_cards_interwave
+alsa_cards_interwave-stb
+alsa_cards_opl3sa2
+alsa_cards_opti92x-ad1848
+alsa_cards_opti92x-cs4231
+alsa_cards_opti93x
+alsa_cards_miro
+alsa_cards_sb8
+alsa_cards_sb16
+alsa_cards_sbawe
+alsa_cards_sb16_csp
+alsa_cards_sgalaxy
+alsa_cards_sscape
+alsa_cards_wavefront
+
+# Matt Turner <mattst88@gentoo.org) (10 Feb 2012)
+# mask d3d since we don't have wine
+d3d
+
+# Matt Turner <mattst88@gentoo.org) (10 Feb 2012)
+# mask wayland since dev-libs/wayland isn't keyworded
+wayland
+
+# Diego Elio Pettenò <flameeyes@gentoo.org> (21 Aug 2012)
+# IPMI is only implemented for x86, amd64 and ia64
+-ipmi
+
+# Michael Sterrett <mr_bones_@gentoo.org) (24 Aug 2012)
+# media-sound/fluidsynth isn't keyworded
+fluidsynth
+
+# Alexandre Rostovtsev <tetromino@gentoo.org> (31 Dec 2012)
+# net-misc/connman is not keyworded, bug 348308
+connman
+
+# Alexandre Rostovtsev <tetromino@gentoo.org> (31 Dec 2012)
+# media-libs/xine-lib is not keyworded
+xine
+
+# Samuli Suominen <ssuominen@gentoo.org> (18 Jan 2013)
+# libdlm and cman are not keyworded
+cman
+clvm
+
+-zeitgeist
+template_haskell
+
+# toolkit for nvidia binary drivers
+cg
+
+# Chí-Thanh Christopher Nguyễn <chithanh@gentoo.org> (22 Aug 2013)
+# virtual/opencl is not keyworded
+opencl
+
+# Chí-Thanh Christopher Nguyễn <chithanh@gentoo.org> (10 Nov 2013)
+# sys-devel/llvm s not keyworded, bug #320221
+llvm
+
+# Pacho Ramos <pacho@gentoo.org> (08 Jan 2014)
+# Unmask systemd since it is keyworded here.
+-systemd
+
+# sys-libs/libseccomp has not been ported to this arch yet #524148
+seccomp
+
+# need to test sys-cluster/glusterfs #519618
+glusterfs
+
+# need to test ceph and friends #519618
+rbd
+
+# Ben de Groot <yngwin@gentoo.org> (01 Feb 2015)
+# please remove when keyworded
+qt5
diff --git a/profiles/arch/ia64/use.stable.mask b/profiles/arch/ia64/use.stable.mask
new file mode 100644
index 00000000000..1f61e58235b
--- /dev/null
+++ b/profiles/arch/ia64/use.stable.mask
@@ -0,0 +1,25 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+# This file requires eapi 5 or later. New entries go on top.
+# Please use the same syntax as in use.mask
+
+# Not stable
+mkl
+
+# Pacho Ramos <pacho@gentoo.org> (17 Apr 2014)
+# Dropped stable keywords after the discussion caused by
+# Gnome 3.8/3.10 stabilization on this arch
+colord
+devhelp
+dia
+eds
+gnumeric
+gusb
+upnp
+upnp-av
+
+# Pacho Ramos <pacho@gentoo.org> (13 Apr 2014)
+# Not going to be stabilized on this arch
+gnome-online-accounts
diff --git a/profiles/arch/m68k/eapi b/profiles/arch/m68k/eapi
new file mode 100644
index 00000000000..7ed6ff82de6
--- /dev/null
+++ b/profiles/arch/m68k/eapi
@@ -0,0 +1 @@
+5
diff --git a/profiles/arch/m68k/make.defaults b/profiles/arch/m68k/make.defaults
new file mode 100644
index 00000000000..bc58b19f88d
--- /dev/null
+++ b/profiles/arch/m68k/make.defaults
@@ -0,0 +1,24 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+ARCH="m68k"
+ACCEPT_KEYWORDS="m68k ~m68k"
+
+CHOST="m68k-unknown-linux-gnu"
+CFLAGS="-O2 -pipe"
+CXXFLAGS="${CFLAGS}"
+FFLAGS="${CFLAGS}"
+FCFLAGS="${CFLAGS}"
+
+# Michał Górny <mgorny@gentoo.org> (01 Jul 2014)
+# Set ABI & DEFAULT_ABI consistently with ${ARCH}, to make ebuild
+# checks simpler.
+ABI="m68k"
+DEFAULT_ABI="m68k"
+MULTILIB_ABIS="m68k"
+LIBDIR_m68k="lib"
+CHOST_m68k="${CHOST}"
+
+# Disable sandbox on this architecture
+FEATURES="-sandbox"
diff --git a/profiles/arch/m68k/package.use.force b/profiles/arch/m68k/package.use.force
new file mode 100644
index 00000000000..d63ba76e51b
--- /dev/null
+++ b/profiles/arch/m68k/package.use.force
@@ -0,0 +1,14 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+# Mike Frysinger <vapier@gentoo.org> (16 Mar 2015)
+# Needs dev-lang/luajit tested #499974
+dev-libs/efl oldlua
+
+# Ulrich Müller <ulm@gentoo.org> (10 Aug 2013)
+# Building from source requires TeX Live as dependency
+app-doc/pms binary
+
+# We need to force-enable cups due to KEYWORDS
+net-print/foomatic-filters cups
diff --git a/profiles/arch/m68k/package.use.mask b/profiles/arch/m68k/package.use.mask
new file mode 100644
index 00000000000..8f81bf12f67
--- /dev/null
+++ b/profiles/arch/m68k/package.use.mask
@@ -0,0 +1,34 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+# Mike Frysinger <vapier@gentoo.org> (16 Mar 2015)
+# Needs sci-physics/bullet tested #499974
+dev-libs/efl physics
+
+# Mikle Kolyada <zlogene@gentoo.org> (11 Jul 2013)
+# Tests for dev-perl/Error require >=dev-perl/Test-Pod-Coverage-1.40.0 (bug #351636)
+dev-perl/Error test
+
+# Raúl Porcel <armin76@gentoo.org> (23 Jan 2013)
+# Architecture is unsupported
+dev-libs/libpcre jit
+
+# Ryan Hill <dirtyepic@gentoo.org> (20 Jul 2011)
+# graphite requires dev-libs/ppl & dev-libs/cloog-ppl
+# (bugs #269087 and #269088)
+sys-devel/gcc graphite awt
+
+# Mike Frysinger <vapier@gentoo.org> (10 Feb 2011)
+# Waiting for keywording #354309
+net-firewall/iptables netlink
+
+# Diego Pettenò <flameeyes@gentoo.org> (10 Nov 2007)
+# Tests for Linux-PAM 0.99 require >=sys-libs/glibc-2.4
+>=sys-libs/pam-0.99.8 test
+
+# Masking since this pulls in app-crypt/pinentry, which isn't keyworded
+dev-libs/opensc nsplugin
+
+# Masking these to keep repoman happy
+media-gfx/graphviz perl
diff --git a/profiles/arch/m68k/packages b/profiles/arch/m68k/packages
new file mode 100644
index 00000000000..82abb9137ce
--- /dev/null
+++ b/profiles/arch/m68k/packages
@@ -0,0 +1,5 @@
+# Copyright 1999-2011 Gentoo Foundation.
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+*sys-fs/atari-fdisk
diff --git a/profiles/arch/m68k/parent b/profiles/arch/m68k/parent
new file mode 100644
index 00000000000..eb001c6e8ab
--- /dev/null
+++ b/profiles/arch/m68k/parent
@@ -0,0 +1 @@
+../base
diff --git a/profiles/arch/m68k/use.force b/profiles/arch/m68k/use.force
new file mode 100644
index 00000000000..f69a0469b48
--- /dev/null
+++ b/profiles/arch/m68k/use.force
@@ -0,0 +1,2 @@
+# Force the flag which corresponds to ARCH.
+m68k
diff --git a/profiles/arch/m68k/use.mask b/profiles/arch/m68k/use.mask
new file mode 100644
index 00000000000..12331478792
--- /dev/null
+++ b/profiles/arch/m68k/use.mask
@@ -0,0 +1,97 @@
+# Unmask the flag which corresponds to ARCH.
+-m68k
+
+hardened
+
+# Paul de Vrieze <pauldv@gentoo.org>
+# There is no java in this profile (if there is it must be available). Without
+# this repoman will fail on apps like sys-libs/db
+java
+
+# see email to gentoo-dev with subject "use.mask and PHP5's crazy IUSE"
+# Dated Sat, 31 Jul 2004 14:49:28 -0700, from robbat2@gentoo.org
+# all of these are binary-only, and not presently available on this
+# architecture.
+php
+djbfft
+qdbm
+mzscheme
+
+emacs
+xemacs
+
+gnome-keyring
+afs
+tcl
+tk
+tcltk
+ldap
+slang
+diet
+gtk
+qt4
+mono
+python
+cairo
+svg
+X
+crypt
+mysql
+samba
+dbus
+xpm
+ruby
+ocaml
+guile
+lua
+djvu
+nss
+chicken
+diet
+emf
+fusion
+pike
+R
+octave
+bluetooth
+autotrace
+lqr
+policykit
+bash-completion
+latex
+nettle
+systemd
+tk
+clang
+
+# USE=audit masked prior to testing on alpha, arm, hppa, ppc64, s390, sh.
+# Bug #184563, 18 Sep 2007
+# Robin H. Johnson <robbat2@gentoo.org>
+audit
+
+# Masking since dev-db/sqlite is masked
+sqlite
+
+# Masking these globally, since we don't have X
+gnome
+gnome-keyring
+pango
+
+# Masking since net-dns/avahi and net-misc/mDNSResponder are masked
+avahi
+zeroconf
+
+# Samuli Suominen <ssuominen@gentoo.org> (18 Jan 2013)
+# libdlm and cman are not keyworded
+cman
+clvm
+
+# Chí-Thanh Christopher Nguyễn <chithanh@gentoo.org> (22 Aug 2013)
+# virtual/opencl is not keyworded
+opencl
+
+# Unmask once sys-libs/libunwind gets ported & keyworded.
+unwind
+
+# sys-libs/libseccomp has not been ported to this arch yet #524148
+seccomp
diff --git a/profiles/arch/mips/eapi b/profiles/arch/mips/eapi
new file mode 100644
index 00000000000..7ed6ff82de6
--- /dev/null
+++ b/profiles/arch/mips/eapi
@@ -0,0 +1 @@
+5
diff --git a/profiles/arch/mips/make.defaults b/profiles/arch/mips/make.defaults
new file mode 100644
index 00000000000..7559200d4d0
--- /dev/null
+++ b/profiles/arch/mips/make.defaults
@@ -0,0 +1,22 @@
+# Copyright 2008-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+# 2006/08/18 - Donnie Berkholz <dberkholz@gentoo.org>
+# Defaults for video drivers
+VIDEO_CARDS="fbdev impact newport"
+
+ARCH="mips"
+ACCEPT_KEYWORDS="${ARCH} ~mips"
+
+PROFILE_ARCH="mips"
+
+USE="-fortran -openmp"
+
+LIBDIR_o32="lib"
+LIBDIR_n32="lib32"
+LIBDIR_n64="lib64"
+
+# 2010/12/06 - Matt Turner <mattst88@gentoo.org>
+# Probably missing a bunch for various SGI systems.
+ALSA_CARDS="au1x00"
diff --git a/profiles/arch/mips/mips64/eapi b/profiles/arch/mips/mips64/eapi
new file mode 100644
index 00000000000..7ed6ff82de6
--- /dev/null
+++ b/profiles/arch/mips/mips64/eapi
@@ -0,0 +1 @@
+5
diff --git a/profiles/arch/mips/mips64/make.defaults b/profiles/arch/mips/mips64/make.defaults
new file mode 100644
index 00000000000..c1770db2bf8
--- /dev/null
+++ b/profiles/arch/mips/mips64/make.defaults
@@ -0,0 +1,7 @@
+# Copyright 2010-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+PROFILE_ARCH="mips64"
+
+CHOST="mips64-unknown-linux-gnu"
diff --git a/profiles/arch/mips/mips64/multilib/eapi b/profiles/arch/mips/mips64/multilib/eapi
new file mode 100644
index 00000000000..7ed6ff82de6
--- /dev/null
+++ b/profiles/arch/mips/mips64/multilib/eapi
@@ -0,0 +1 @@
+5
diff --git a/profiles/arch/mips/mips64/multilib/make.defaults b/profiles/arch/mips/mips64/multilib/make.defaults
new file mode 100644
index 00000000000..dc1569217f1
--- /dev/null
+++ b/profiles/arch/mips/mips64/multilib/make.defaults
@@ -0,0 +1,24 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+PROFILE_ARCH="mips64"
+
+CHOST="mips64-unknown-linux-gnu"
+CFLAGS="-O2 -pipe"
+CXXFLAGS="${CFLAGS}"
+FFLAGS="${CFLAGS}"
+FCFLAGS="${CFLAGS}"
+
+CFLAGS_o32="-mabi=32"
+CHOST_o32="${CHOST}"
+
+CFLAGS_n32="-mabi=n32"
+CHOST_n32=${CHOST}
+
+CFLAGS_n64="-mabi=64"
+CHOST_n64=${CHOST}
+
+SYMLINK_LIB="no"
+
+USE_EXPAND_HIDDEN="-ABI_MIPS"
diff --git a/profiles/arch/mips/mips64/multilib/n32/eapi b/profiles/arch/mips/mips64/multilib/n32/eapi
new file mode 100644
index 00000000000..7ed6ff82de6
--- /dev/null
+++ b/profiles/arch/mips/mips64/multilib/n32/eapi
@@ -0,0 +1 @@
+5
diff --git a/profiles/arch/mips/mips64/multilib/n32/make.defaults b/profiles/arch/mips/mips64/multilib/n32/make.defaults
new file mode 100644
index 00000000000..b42e724329e
--- /dev/null
+++ b/profiles/arch/mips/mips64/multilib/n32/make.defaults
@@ -0,0 +1,13 @@
+# Copyright 2011-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+MULTILIB_ABIS="n64 o32 n32"
+DEFAULT_ABI="n32"
+ABI="${DEFAULT_ABI}"
+
+CHOST_n64="mips64-unknown-linux-gnuabi64"
+CHOST_o32="mips-unknown-linux-gnu"
+
+ABI_MIPS="n32"
+IUSE_IMPLICIT="abi_mips_n32"
diff --git a/profiles/arch/mips/mips64/multilib/n32/parent b/profiles/arch/mips/mips64/multilib/n32/parent
new file mode 100644
index 00000000000..f3229c5b987
--- /dev/null
+++ b/profiles/arch/mips/mips64/multilib/n32/parent
@@ -0,0 +1 @@
+..
diff --git a/profiles/arch/mips/mips64/multilib/n32/use.force b/profiles/arch/mips/mips64/multilib/n32/use.force
new file mode 100644
index 00000000000..8c06f165e64
--- /dev/null
+++ b/profiles/arch/mips/mips64/multilib/n32/use.force
@@ -0,0 +1,5 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+abi_mips_n32
diff --git a/profiles/arch/mips/mips64/multilib/n64/eapi b/profiles/arch/mips/mips64/multilib/n64/eapi
new file mode 100644
index 00000000000..7ed6ff82de6
--- /dev/null
+++ b/profiles/arch/mips/mips64/multilib/n64/eapi
@@ -0,0 +1 @@
+5
diff --git a/profiles/arch/mips/mips64/multilib/n64/make.defaults b/profiles/arch/mips/mips64/multilib/n64/make.defaults
new file mode 100644
index 00000000000..fe64c10630b
--- /dev/null
+++ b/profiles/arch/mips/mips64/multilib/n64/make.defaults
@@ -0,0 +1,13 @@
+# Copyright 2011-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+MULTILIB_ABIS="n32 o32 n64"
+DEFAULT_ABI="n64"
+ABI="${DEFAULT_ABI}"
+
+CHOST_n32="mips64-unknown-linux-gnuabin32"
+CHOST_o32="mips-unknown-linux-gnu"
+
+ABI_MIPS="n64"
+IUSE_IMPLICIT="abi_mips_n64"
diff --git a/profiles/arch/mips/mips64/multilib/n64/parent b/profiles/arch/mips/mips64/multilib/n64/parent
new file mode 100644
index 00000000000..f3229c5b987
--- /dev/null
+++ b/profiles/arch/mips/mips64/multilib/n64/parent
@@ -0,0 +1 @@
+..
diff --git a/profiles/arch/mips/mips64/multilib/n64/use.force b/profiles/arch/mips/mips64/multilib/n64/use.force
new file mode 100644
index 00000000000..7a7642bc97f
--- /dev/null
+++ b/profiles/arch/mips/mips64/multilib/n64/use.force
@@ -0,0 +1,5 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+abi_mips_n64
diff --git a/profiles/arch/mips/mips64/multilib/o32/eapi b/profiles/arch/mips/mips64/multilib/o32/eapi
new file mode 100644
index 00000000000..7ed6ff82de6
--- /dev/null
+++ b/profiles/arch/mips/mips64/multilib/o32/eapi
@@ -0,0 +1 @@
+5
diff --git a/profiles/arch/mips/mips64/multilib/o32/make.defaults b/profiles/arch/mips/mips64/multilib/o32/make.defaults
new file mode 100644
index 00000000000..83ea8284158
--- /dev/null
+++ b/profiles/arch/mips/mips64/multilib/o32/make.defaults
@@ -0,0 +1,13 @@
+# Copyright 2011-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+MULTILIB_ABIS="n64 n32 o32"
+DEFAULT_ABI="o32"
+ABI="${DEFAULT_ABI}"
+
+CHOST_n32="mips64-unknown-linux-gnuabin32"
+CHOST_n64="mips64-unknown-linux-gnuabi64"
+
+ABI_MIPS="o32"
+IUSE_IMPLICIT="abi_mips_o32"
diff --git a/profiles/arch/mips/mips64/multilib/o32/parent b/profiles/arch/mips/mips64/multilib/o32/parent
new file mode 100644
index 00000000000..f3229c5b987
--- /dev/null
+++ b/profiles/arch/mips/mips64/multilib/o32/parent
@@ -0,0 +1 @@
+..
diff --git a/profiles/arch/mips/mips64/multilib/o32/use.force b/profiles/arch/mips/mips64/multilib/o32/use.force
new file mode 100644
index 00000000000..f629a711690
--- /dev/null
+++ b/profiles/arch/mips/mips64/multilib/o32/use.force
@@ -0,0 +1,5 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+abi_mips_o32
diff --git a/profiles/arch/mips/mips64/multilib/parent b/profiles/arch/mips/mips64/multilib/parent
new file mode 100644
index 00000000000..a5b4126260c
--- /dev/null
+++ b/profiles/arch/mips/mips64/multilib/parent
@@ -0,0 +1,2 @@
+..
+../../../../features/multilib
diff --git a/profiles/arch/mips/mips64/multilib/use.force b/profiles/arch/mips/mips64/multilib/use.force
new file mode 100644
index 00000000000..c29d0bff64c
--- /dev/null
+++ b/profiles/arch/mips/mips64/multilib/use.force
@@ -0,0 +1,5 @@
+# Copyright 2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+multilib
diff --git a/profiles/arch/mips/mips64/multilib/use.mask b/profiles/arch/mips/mips64/multilib/use.mask
new file mode 100644
index 00000000000..b944b154f40
--- /dev/null
+++ b/profiles/arch/mips/mips64/multilib/use.mask
@@ -0,0 +1,9 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+# Matt Turner <mattst88@gentoo.org> (29 Jul 2013)
+# Unmask the multilib flags for this arch.
+-abi_mips_o32
+-abi_mips_n32
+-abi_mips_n64
diff --git a/profiles/arch/mips/mips64/n32/eapi b/profiles/arch/mips/mips64/n32/eapi
new file mode 100644
index 00000000000..7ed6ff82de6
--- /dev/null
+++ b/profiles/arch/mips/mips64/n32/eapi
@@ -0,0 +1 @@
+5
diff --git a/profiles/arch/mips/mips64/n32/make.defaults b/profiles/arch/mips/mips64/n32/make.defaults
new file mode 100644
index 00000000000..20adc4bf0c8
--- /dev/null
+++ b/profiles/arch/mips/mips64/n32/make.defaults
@@ -0,0 +1,15 @@
+# Copyright 2011-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+PROFILE_ARCH="mips64"
+
+CHOST="mips64-unknown-linux-gnu"
+
+DEFAULT_ABI="n32"
+ABI="${DEFAULT_ABI}"
+MULTILIB_ABIS="n32"
+CHOST_n32=${CHOST}
+
+ABI_MIPS="n32"
+IUSE_IMPLICIT="abi_mips_n32"
diff --git a/profiles/arch/mips/mips64/n32/parent b/profiles/arch/mips/mips64/n32/parent
new file mode 100644
index 00000000000..f3229c5b987
--- /dev/null
+++ b/profiles/arch/mips/mips64/n32/parent
@@ -0,0 +1 @@
+..
diff --git a/profiles/arch/mips/mips64/n32/use.force b/profiles/arch/mips/mips64/n32/use.force
new file mode 100644
index 00000000000..23c26a92c09
--- /dev/null
+++ b/profiles/arch/mips/mips64/n32/use.force
@@ -0,0 +1,5 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+abi_mips_n32
diff --git a/profiles/arch/mips/mips64/n32/use.mask b/profiles/arch/mips/mips64/n32/use.mask
new file mode 100644
index 00000000000..865ae31eea4
--- /dev/null
+++ b/profiles/arch/mips/mips64/n32/use.mask
@@ -0,0 +1,5 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+-abi_mips_n32
diff --git a/profiles/arch/mips/mips64/n64/eapi b/profiles/arch/mips/mips64/n64/eapi
new file mode 100644
index 00000000000..7ed6ff82de6
--- /dev/null
+++ b/profiles/arch/mips/mips64/n64/eapi
@@ -0,0 +1 @@
+5
diff --git a/profiles/arch/mips/mips64/n64/make.defaults b/profiles/arch/mips/mips64/n64/make.defaults
new file mode 100644
index 00000000000..6aaedbef637
--- /dev/null
+++ b/profiles/arch/mips/mips64/n64/make.defaults
@@ -0,0 +1,15 @@
+# Copyright 2011-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+PROFILE_ARCH="mips64"
+
+CHOST="mips64-unknown-linux-gnu"
+
+DEFAULT_ABI="n64"
+ABI="${DEFAULT_ABI}"
+MULTILIB_ABIS="n64"
+CHOST_n64=${CHOST}
+
+ABI_MIPS="n64"
+IUSE_IMPLICIT="abi_mips_n64"
diff --git a/profiles/arch/mips/mips64/n64/parent b/profiles/arch/mips/mips64/n64/parent
new file mode 100644
index 00000000000..f3229c5b987
--- /dev/null
+++ b/profiles/arch/mips/mips64/n64/parent
@@ -0,0 +1 @@
+..
diff --git a/profiles/arch/mips/mips64/n64/use.force b/profiles/arch/mips/mips64/n64/use.force
new file mode 100644
index 00000000000..b71b42f4ce1
--- /dev/null
+++ b/profiles/arch/mips/mips64/n64/use.force
@@ -0,0 +1,5 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+abi_mips_n64
diff --git a/profiles/arch/mips/mips64/n64/use.mask b/profiles/arch/mips/mips64/n64/use.mask
new file mode 100644
index 00000000000..58ccc2a185d
--- /dev/null
+++ b/profiles/arch/mips/mips64/n64/use.mask
@@ -0,0 +1,5 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+-abi_mips_n64
diff --git a/profiles/arch/mips/mips64/parent b/profiles/arch/mips/mips64/parent
new file mode 100644
index 00000000000..f3229c5b987
--- /dev/null
+++ b/profiles/arch/mips/mips64/parent
@@ -0,0 +1 @@
+..
diff --git a/profiles/arch/mips/mipsel/mips64el/eapi b/profiles/arch/mips/mipsel/mips64el/eapi
new file mode 100644
index 00000000000..7ed6ff82de6
--- /dev/null
+++ b/profiles/arch/mips/mipsel/mips64el/eapi
@@ -0,0 +1 @@
+5
diff --git a/profiles/arch/mips/mipsel/mips64el/make.defaults b/profiles/arch/mips/mipsel/mips64el/make.defaults
new file mode 100644
index 00000000000..b6dcb64cf02
--- /dev/null
+++ b/profiles/arch/mips/mipsel/mips64el/make.defaults
@@ -0,0 +1,9 @@
+# Copyright 2010-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+PROFILE_ARCH="mips64el"
+
+CHOST="mips64el-unknown-linux-gnu"
+
+IUSE_IMPLICIT="-abi_mips_o32"
diff --git a/profiles/arch/mips/mipsel/mips64el/multilib/eapi b/profiles/arch/mips/mipsel/mips64el/multilib/eapi
new file mode 100644
index 00000000000..7ed6ff82de6
--- /dev/null
+++ b/profiles/arch/mips/mipsel/mips64el/multilib/eapi
@@ -0,0 +1 @@
+5
diff --git a/profiles/arch/mips/mipsel/mips64el/multilib/make.defaults b/profiles/arch/mips/mipsel/mips64el/multilib/make.defaults
new file mode 100644
index 00000000000..8b8e4283dad
--- /dev/null
+++ b/profiles/arch/mips/mipsel/mips64el/multilib/make.defaults
@@ -0,0 +1,24 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+PROFILE_ARCH="mips64el"
+
+CHOST="mips64el-unknown-linux-gnu"
+CFLAGS="-O2 -pipe"
+CXXFLAGS="${CFLAGS}"
+FFLAGS="${CFLAGS}"
+FCFLAGS="${CFLAGS}"
+
+CFLAGS_o32="-mabi=32"
+CHOST_o32="${CHOST}"
+
+CFLAGS_n32="-mabi=n32"
+CHOST_n32="${CHOST}"
+
+CFLAGS_n64="-mabi=64"
+CHOST_n64="${CHOST}"
+
+SYMLINK_LIB="no"
+
+USE_EXPAND_HIDDEN="-ABI_MIPS"
diff --git a/profiles/arch/mips/mipsel/mips64el/multilib/n32/eapi b/profiles/arch/mips/mipsel/mips64el/multilib/n32/eapi
new file mode 100644
index 00000000000..7ed6ff82de6
--- /dev/null
+++ b/profiles/arch/mips/mipsel/mips64el/multilib/n32/eapi
@@ -0,0 +1 @@
+5
diff --git a/profiles/arch/mips/mipsel/mips64el/multilib/n32/make.defaults b/profiles/arch/mips/mipsel/mips64el/multilib/n32/make.defaults
new file mode 100644
index 00000000000..077bc6a98c7
--- /dev/null
+++ b/profiles/arch/mips/mipsel/mips64el/multilib/n32/make.defaults
@@ -0,0 +1,13 @@
+# Copyright 2011-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+MULTILIB_ABIS="n64 o32 n32"
+DEFAULT_ABI="n32"
+ABI="${DEFAULT_ABI}"
+
+CHOST_n64="mips64el-unknown-linux-gnuabi64"
+CHOST_o32="mipsel-unknown-linux-gnu"
+
+ABI_MIPS="n32"
+IUSE_IMPLICIT="abi_mips_n32"
diff --git a/profiles/arch/mips/mipsel/mips64el/multilib/n32/parent b/profiles/arch/mips/mipsel/mips64el/multilib/n32/parent
new file mode 100644
index 00000000000..f3229c5b987
--- /dev/null
+++ b/profiles/arch/mips/mipsel/mips64el/multilib/n32/parent
@@ -0,0 +1 @@
+..
diff --git a/profiles/arch/mips/mipsel/mips64el/multilib/n32/use.force b/profiles/arch/mips/mipsel/mips64el/multilib/n32/use.force
new file mode 100644
index 00000000000..8c06f165e64
--- /dev/null
+++ b/profiles/arch/mips/mipsel/mips64el/multilib/n32/use.force
@@ -0,0 +1,5 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+abi_mips_n32
diff --git a/profiles/arch/mips/mipsel/mips64el/multilib/n64/eapi b/profiles/arch/mips/mipsel/mips64el/multilib/n64/eapi
new file mode 100644
index 00000000000..7ed6ff82de6
--- /dev/null
+++ b/profiles/arch/mips/mipsel/mips64el/multilib/n64/eapi
@@ -0,0 +1 @@
+5
diff --git a/profiles/arch/mips/mipsel/mips64el/multilib/n64/make.defaults b/profiles/arch/mips/mipsel/mips64el/multilib/n64/make.defaults
new file mode 100644
index 00000000000..6366a714d3b
--- /dev/null
+++ b/profiles/arch/mips/mipsel/mips64el/multilib/n64/make.defaults
@@ -0,0 +1,13 @@
+# Copyright 2011-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+MULTILIB_ABIS="n32 o32 n64"
+DEFAULT_ABI="n64"
+ABI="${DEFAULT_ABI}"
+
+CHOST_n32="mips64el-unknown-linux-gnuabin32"
+CHOST_o32="mipsel-unknown-linux-gnu"
+
+ABI_MIPS="n64"
+IUSE_IMPLICIT="abi_mips_n64"
diff --git a/profiles/arch/mips/mipsel/mips64el/multilib/n64/parent b/profiles/arch/mips/mipsel/mips64el/multilib/n64/parent
new file mode 100644
index 00000000000..f3229c5b987
--- /dev/null
+++ b/profiles/arch/mips/mipsel/mips64el/multilib/n64/parent
@@ -0,0 +1 @@
+..
diff --git a/profiles/arch/mips/mipsel/mips64el/multilib/n64/use.force b/profiles/arch/mips/mipsel/mips64el/multilib/n64/use.force
new file mode 100644
index 00000000000..7a7642bc97f
--- /dev/null
+++ b/profiles/arch/mips/mipsel/mips64el/multilib/n64/use.force
@@ -0,0 +1,5 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+abi_mips_n64
diff --git a/profiles/arch/mips/mipsel/mips64el/multilib/o32/eapi b/profiles/arch/mips/mipsel/mips64el/multilib/o32/eapi
new file mode 100644
index 00000000000..7ed6ff82de6
--- /dev/null
+++ b/profiles/arch/mips/mipsel/mips64el/multilib/o32/eapi
@@ -0,0 +1 @@
+5
diff --git a/profiles/arch/mips/mipsel/mips64el/multilib/o32/make.defaults b/profiles/arch/mips/mipsel/mips64el/multilib/o32/make.defaults
new file mode 100644
index 00000000000..d9c0ef9a94b
--- /dev/null
+++ b/profiles/arch/mips/mipsel/mips64el/multilib/o32/make.defaults
@@ -0,0 +1,13 @@
+# Copyright 2011-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+MULTILIB_ABIS="n64 n32 o32"
+DEFAULT_ABI="o32"
+ABI="${DEFAULT_ABI}"
+
+CHOST_n32="mips64el-unknown-linux-gnuabin32"
+CHOST_n64="mips64el-unknown-linux-gnuabi64"
+
+ABI_MIPS="o32"
+IUSE_IMPLICIT="abi_mips_o32"
diff --git a/profiles/arch/mips/mipsel/mips64el/multilib/o32/parent b/profiles/arch/mips/mipsel/mips64el/multilib/o32/parent
new file mode 100644
index 00000000000..f3229c5b987
--- /dev/null
+++ b/profiles/arch/mips/mipsel/mips64el/multilib/o32/parent
@@ -0,0 +1 @@
+..
diff --git a/profiles/arch/mips/mipsel/mips64el/multilib/o32/use.force b/profiles/arch/mips/mipsel/mips64el/multilib/o32/use.force
new file mode 100644
index 00000000000..f629a711690
--- /dev/null
+++ b/profiles/arch/mips/mipsel/mips64el/multilib/o32/use.force
@@ -0,0 +1,5 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+abi_mips_o32
diff --git a/profiles/arch/mips/mipsel/mips64el/multilib/parent b/profiles/arch/mips/mipsel/mips64el/multilib/parent
new file mode 100644
index 00000000000..97dffb64c4d
--- /dev/null
+++ b/profiles/arch/mips/mipsel/mips64el/multilib/parent
@@ -0,0 +1,2 @@
+..
+../../../../../features/multilib
diff --git a/profiles/arch/mips/mipsel/mips64el/multilib/use.force b/profiles/arch/mips/mipsel/mips64el/multilib/use.force
new file mode 100644
index 00000000000..c29d0bff64c
--- /dev/null
+++ b/profiles/arch/mips/mipsel/mips64el/multilib/use.force
@@ -0,0 +1,5 @@
+# Copyright 2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+multilib
diff --git a/profiles/arch/mips/mipsel/mips64el/multilib/use.mask b/profiles/arch/mips/mipsel/mips64el/multilib/use.mask
new file mode 100644
index 00000000000..b944b154f40
--- /dev/null
+++ b/profiles/arch/mips/mipsel/mips64el/multilib/use.mask
@@ -0,0 +1,9 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+# Matt Turner <mattst88@gentoo.org> (29 Jul 2013)
+# Unmask the multilib flags for this arch.
+-abi_mips_o32
+-abi_mips_n32
+-abi_mips_n64
diff --git a/profiles/arch/mips/mipsel/mips64el/n32/eapi b/profiles/arch/mips/mipsel/mips64el/n32/eapi
new file mode 100644
index 00000000000..7ed6ff82de6
--- /dev/null
+++ b/profiles/arch/mips/mipsel/mips64el/n32/eapi
@@ -0,0 +1 @@
+5
diff --git a/profiles/arch/mips/mipsel/mips64el/n32/make.defaults b/profiles/arch/mips/mipsel/mips64el/n32/make.defaults
new file mode 100644
index 00000000000..03997902be3
--- /dev/null
+++ b/profiles/arch/mips/mipsel/mips64el/n32/make.defaults
@@ -0,0 +1,15 @@
+# Copyright 2010-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+PROFILE_ARCH="mips64el"
+
+CHOST="mips64el-unknown-linux-gnu"
+
+DEFAULT_ABI="n32"
+ABI="${DEFAULT_ABI}"
+MULTILIB_ABIS="n32"
+CHOST_n32=${CHOST}
+
+ABI_MIPS="n32"
+IUSE_IMPLICIT="abi_mips_n32"
diff --git a/profiles/arch/mips/mipsel/mips64el/n32/parent b/profiles/arch/mips/mipsel/mips64el/n32/parent
new file mode 100644
index 00000000000..f3229c5b987
--- /dev/null
+++ b/profiles/arch/mips/mipsel/mips64el/n32/parent
@@ -0,0 +1 @@
+..
diff --git a/profiles/arch/mips/mipsel/mips64el/n32/use.force b/profiles/arch/mips/mipsel/mips64el/n32/use.force
new file mode 100644
index 00000000000..23c26a92c09
--- /dev/null
+++ b/profiles/arch/mips/mipsel/mips64el/n32/use.force
@@ -0,0 +1,5 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+abi_mips_n32
diff --git a/profiles/arch/mips/mipsel/mips64el/n32/use.mask b/profiles/arch/mips/mipsel/mips64el/n32/use.mask
new file mode 100644
index 00000000000..865ae31eea4
--- /dev/null
+++ b/profiles/arch/mips/mipsel/mips64el/n32/use.mask
@@ -0,0 +1,5 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+-abi_mips_n32
diff --git a/profiles/arch/mips/mipsel/mips64el/n64/eapi b/profiles/arch/mips/mipsel/mips64el/n64/eapi
new file mode 100644
index 00000000000..7ed6ff82de6
--- /dev/null
+++ b/profiles/arch/mips/mipsel/mips64el/n64/eapi
@@ -0,0 +1 @@
+5
diff --git a/profiles/arch/mips/mipsel/mips64el/n64/make.defaults b/profiles/arch/mips/mipsel/mips64el/n64/make.defaults
new file mode 100644
index 00000000000..a4ecdf884e4
--- /dev/null
+++ b/profiles/arch/mips/mipsel/mips64el/n64/make.defaults
@@ -0,0 +1,15 @@
+# Copyright 2010-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+PROFILE_ARCH="mips64el"
+
+CHOST="mips64el-unknown-linux-gnu"
+
+DEFAULT_ABI="n64"
+ABI="${DEFAULT_ABI}"
+MULTILIB_ABIS="n64"
+CHOST_n64=${CHOST}
+
+ABI_MIPS="n64"
+IUSE_IMPLICIT="abi_mips_n64"
diff --git a/profiles/arch/mips/mipsel/mips64el/n64/parent b/profiles/arch/mips/mipsel/mips64el/n64/parent
new file mode 100644
index 00000000000..f3229c5b987
--- /dev/null
+++ b/profiles/arch/mips/mipsel/mips64el/n64/parent
@@ -0,0 +1 @@
+..
diff --git a/profiles/arch/mips/mipsel/mips64el/n64/use.force b/profiles/arch/mips/mipsel/mips64el/n64/use.force
new file mode 100644
index 00000000000..b71b42f4ce1
--- /dev/null
+++ b/profiles/arch/mips/mipsel/mips64el/n64/use.force
@@ -0,0 +1,5 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+abi_mips_n64
diff --git a/profiles/arch/mips/mipsel/mips64el/n64/use.mask b/profiles/arch/mips/mipsel/mips64el/n64/use.mask
new file mode 100644
index 00000000000..58ccc2a185d
--- /dev/null
+++ b/profiles/arch/mips/mipsel/mips64el/n64/use.mask
@@ -0,0 +1,5 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+-abi_mips_n64
diff --git a/profiles/arch/mips/mipsel/mips64el/parent b/profiles/arch/mips/mipsel/mips64el/parent
new file mode 100644
index 00000000000..f3229c5b987
--- /dev/null
+++ b/profiles/arch/mips/mipsel/mips64el/parent
@@ -0,0 +1 @@
+..
diff --git a/profiles/arch/mips/mipsel/o32/eapi b/profiles/arch/mips/mipsel/o32/eapi
new file mode 100644
index 00000000000..7ed6ff82de6
--- /dev/null
+++ b/profiles/arch/mips/mipsel/o32/eapi
@@ -0,0 +1 @@
+5
diff --git a/profiles/arch/mips/mipsel/o32/make.defaults b/profiles/arch/mips/mipsel/o32/make.defaults
new file mode 100644
index 00000000000..acb00413053
--- /dev/null
+++ b/profiles/arch/mips/mipsel/o32/make.defaults
@@ -0,0 +1,15 @@
+# Copyright 2010-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+PROFILE_ARCH="mipsel"
+
+CHOST="mipsel-unknown-linux-gnu"
+CHOST_o32="mipsel-unknown-linux-gnu"
+
+ABI="o32"
+DEFAULT_ABI="o32"
+MULTILIB_ABIS="o32"
+
+ABI_MIPS="o32"
+IUSE_IMPLICIT="abi_mips_o32"
diff --git a/profiles/arch/mips/mipsel/o32/parent b/profiles/arch/mips/mipsel/o32/parent
new file mode 100644
index 00000000000..f3229c5b987
--- /dev/null
+++ b/profiles/arch/mips/mipsel/o32/parent
@@ -0,0 +1 @@
+..
diff --git a/profiles/arch/mips/mipsel/o32/use.force b/profiles/arch/mips/mipsel/o32/use.force
new file mode 100644
index 00000000000..606ddc05d28
--- /dev/null
+++ b/profiles/arch/mips/mipsel/o32/use.force
@@ -0,0 +1,5 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+abi_mips_o32
diff --git a/profiles/arch/mips/mipsel/o32/use.mask b/profiles/arch/mips/mipsel/o32/use.mask
new file mode 100644
index 00000000000..839a3b8f563
--- /dev/null
+++ b/profiles/arch/mips/mipsel/o32/use.mask
@@ -0,0 +1,5 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+-abi_mips_o32
diff --git a/profiles/arch/mips/mipsel/parent b/profiles/arch/mips/mipsel/parent
new file mode 100644
index 00000000000..f3229c5b987
--- /dev/null
+++ b/profiles/arch/mips/mipsel/parent
@@ -0,0 +1 @@
+..
diff --git a/profiles/arch/mips/o32/eapi b/profiles/arch/mips/o32/eapi
new file mode 100644
index 00000000000..7ed6ff82de6
--- /dev/null
+++ b/profiles/arch/mips/o32/eapi
@@ -0,0 +1 @@
+5
diff --git a/profiles/arch/mips/o32/make.defaults b/profiles/arch/mips/o32/make.defaults
new file mode 100644
index 00000000000..de520d98278
--- /dev/null
+++ b/profiles/arch/mips/o32/make.defaults
@@ -0,0 +1,15 @@
+# Copyright 2010-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+PROFILE_ARCH="mipsel"
+
+CHOST="mips-unknown-linux-gnu"
+CHOST_o32="mips-unknown-linux-gnu"
+
+ABI="o32"
+DEFAULT_ABI="o32"
+MULTILIB_ABIS="o32"
+
+ABI_MIPS="o32"
+IUSE_IMPLICIT="abi_mips_o32"
diff --git a/profiles/arch/mips/o32/parent b/profiles/arch/mips/o32/parent
new file mode 100644
index 00000000000..f3229c5b987
--- /dev/null
+++ b/profiles/arch/mips/o32/parent
@@ -0,0 +1 @@
+..
diff --git a/profiles/arch/mips/o32/use.force b/profiles/arch/mips/o32/use.force
new file mode 100644
index 00000000000..606ddc05d28
--- /dev/null
+++ b/profiles/arch/mips/o32/use.force
@@ -0,0 +1,5 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+abi_mips_o32
diff --git a/profiles/arch/mips/o32/use.mask b/profiles/arch/mips/o32/use.mask
new file mode 100644
index 00000000000..839a3b8f563
--- /dev/null
+++ b/profiles/arch/mips/o32/use.mask
@@ -0,0 +1,5 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+-abi_mips_o32
diff --git a/profiles/arch/mips/package.mask b/profiles/arch/mips/package.mask
new file mode 100644
index 00000000000..1dfde79b5ac
--- /dev/null
+++ b/profiles/arch/mips/package.mask
@@ -0,0 +1,56 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+# Ben de Groot <yngwin@gentoo.org> (01 Feb 2015)
+# Qt5 mask, pending keywording. Remember unmasking qt5 in use.mask as well.
+>=dev-qt/assistant-5.4.0
+>=dev-qt/designer-5.4.0
+>=dev-qt/linguist-5.4.0
+>=dev-qt/linguist-tools-5.4.0
+>=dev-qt/pixeltool-5.4.0
+>=dev-qt/qdbus-5.4.0
+>=dev-qt/qdbusviewer-5.4.0
+>=dev-qt/qdoc-5.4.0
+>=dev-qt/qtconcurrent-5.4.0
+>=dev-qt/qtcore-5.4.0
+>=dev-qt/qtdbus-5.4.0
+>=dev-qt/qtdeclarative-5.4.0
+>=dev-qt/qtdiag-5.4.0
+>=dev-qt/qtgraphicaleffects-5.4.0
+>=dev-qt/qtgui-5.4.0
+>=dev-qt/qthelp-5.4.0
+>=dev-qt/qtimageformats-5.4.0
+>=dev-qt/qtmultimedia-5.4.0
+>=dev-qt/qtnetwork-5.4.0
+>=dev-qt/qtopengl-5.4.0
+>=dev-qt/qtpaths-5.4.0
+>=dev-qt/qtpositioning-5.4.0
+>=dev-qt/qtprintsupport-5.4.0
+>=dev-qt/qtquick1-5.4.0
+>=dev-qt/qtquickcontrols-5.4.0
+>=dev-qt/qtscript-5.4.0
+>=dev-qt/qtsensors-5.4.0
+>=dev-qt/qtserialport-5.4.0
+>=dev-qt/qtsql-5.4.0
+>=dev-qt/qtsvg-5.4.0
+>=dev-qt/qttest-5.4.0
+>=dev-qt/qttranslations-5.4.0
+>=dev-qt/qtwayland-5.4.0
+>=dev-qt/qtwebkit-5.4.0
+>=dev-qt/qtwebsockets-5.4.0
+>=dev-qt/qtwidgets-5.4.0
+>=dev-qt/qtx11extras-5.4.0
+>=dev-qt/qtxml-5.4.0
+>=dev-qt/qtxmlpatterns-5.4.0
+>=dev-qt/qt-creator-3.3.0
+=app-text/calibre-2*
+>=x11-misc/sddm-0.10.0
+
+# Mask pam_ldap and nss_ldap - openldap dep missing.
+sys-auth/pam_ldap
+sys-auth/nss_ldap
+
+# Mask because of 64-bit code regressions
+# 469976
+=dev-libs/openssl-1.0.1e-r1
diff --git a/profiles/arch/mips/package.use.force b/profiles/arch/mips/package.use.force
new file mode 100644
index 00000000000..a4188301715
--- /dev/null
+++ b/profiles/arch/mips/package.use.force
@@ -0,0 +1,13 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+# Mike Frysinger <vapier@gentoo.org> (16 Mar 2015)
+# Needs dev-lang/luajit tested #499974
+dev-libs/efl oldlua
+
+# Vicente Olivert Riera <vincent@gentoo.org> (12 Sep 2014)
+# If deprecated USE flag is not set, www-client/midori will
+# depend on net-libs/webkit-gtk:3 which fails to compile
+# on MIPS
+www-client/midori deprecated
diff --git a/profiles/arch/mips/package.use.mask b/profiles/arch/mips/package.use.mask
new file mode 100644
index 00000000000..304e96eb5a0
--- /dev/null
+++ b/profiles/arch/mips/package.use.mask
@@ -0,0 +1,124 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+# Mikle Kolyada <zlogene@gentoo.org> (12 Apr 2015)
+# GNOME Shell does not work on mips
+net-misc/wicd gnome-shell
+
+# Mike Frysinger <vapier@gentoo.org> (16 Mar 2015)
+# Needs sci-physics/bullet tested #499974
+dev-libs/efl physics
+
+# Matthias Maier <tamiko@gentoo.org> (24 Dec 2014)
+# sys-devel/clang is not keyworded
+app-doc/doxygen clang
+
+# Chí-Thanh Christopher Nguyễn <chithanh@gentoo.org> (16 Sep 2014)
+# Needs libepoxy keywording, bug #510940
+x11-base/xorg-server glamor wayland
+
+# Davide Pesavento <pesa@gentoo.org> (02 Jun 2014)
+# dev-qt/qtdeclarative:4 is not keyworded on mips
+dev-qt/designer:4 declarative
+
+# Davide Pesavento <pesa@gentoo.org> (02 Jun 2014)
+# connman and networkmanager are not keyworded on mips
+dev-qt/qtbearer:4 connman networkmanager
+
+# Sergey Popov <pinkbyte@gentoo.org> (02 Feb 2014)
+# media-gfx/nvidia-texture-tools is not keyworded on mips
+media-libs/devil nvtt
+
+# Ryan Hill <dirtyepic@gentoo.org> (07 Jan 2014)
+# req net-libs/webkit-gtk:2
+x11-libs/wxGTK webkit
+
+# Markos Chandras <hwoarang@gentoo.org> (05 Jan 2014)
+# Perl is heavily unkeyworded on MIPS. See 497068
+dev-vcs/git mediawiki
+
+# Sergey Popov <pinkbyte@gentoo.org> (02 Sep 2013)
+# Not tested
+media-libs/leptonica webp
+app-text/tesseract webp
+
+# Pacho Ramos <pacho@gentoo.org> (01 Sep 2013)
+# CONFIG_AUDITSYSCALL=y is not implemented, bug #438368
+sys-auth/consolekit pam
+sys-auth/pambase consolekit
+
+# Kacper Kowalik <xarthisius@gentoo.org> (20 May 2011)
+# depends on dev-libs/dmalloc which is not keyworded
+net-nds/ypbind debug
+
+# Richard Brown <rbrown@gentoo.org> (21 Jan 2008)
+# Needs dev-ruby/builder, which isn't keyworded
+dev-ruby/rubygems server
+
+# Wolfram Schlich <wschlich@gentoo.org> (20 Nov 2007)
+# dependency can't be fulfilled at the moment
+net-im/mcabber otr
+
+# Jim Ramsay <lack@gentoo.org> (7 Sep 2007)
+# app-admin/gkrellm may pull in hddtemp, which is not yet available here
+app-admin/gkrellm hddtemp
+
+# Christian Heim <phreak@gentoo.org> (07 Jul 2007)
+# virtual/mysql-5 not keyworded yet, still apr-util has the mips keyword.
+dev-libs/apr-util mysql
+
+# Stuart Longland <redhatter@gentoo.org> (07 Sep 2007)
+# mplayer not tested with these flags yet. I may remove these slowly as I test
+# more functions of mplayer.
+media-video/mplayer bidi bl cddb cdio cdparanoia cpudetection dga dv dvb enca joystick live mad openal pnm pvr radio rar rtc svga tga xanim xinerama zoran
+
+# Gilles Dartiguelongue <eva@gentoo.org> (19 Oct 2007)
+# gdm depends on zenity which is not keyworded
+>=gnome-base/gdm-2.20 remote
+
+# Steve Dibb <beandog@gentoo.org> (01 Nov 2007)
+# needs media-libs/ladspa-sdk keyworded
+media-video/mplayer ladspa
+
+# Richard Brown <rbrown@gentoo.org> (23 Dec 2007)
+# app-xemacs/ruby-modes is not keyworded on this arch
+dev-lang/ruby xemacs
+
+# Sebastian Pipping <sping@gentoo.org> (27 Jan 2010)
+# dev-vcs/bzr is not keyworded on this arch
+# dev-vcs/darcs is not keyworded on this arch
+app-portage/layman bazaar
+app-portage/layman darcs
+
+# deps missing keywords
+games-strategy/freeciv auth ggz
+
+# Mart Raudsepp <leio@gentoo.org> (27 Sept 2010)
+# Extra functionality that has external unkeyworded dependencies
+# and is not tested yet
+net-fs/samba ads cluster debug
+
+# Matt Turner <mattst88@gentoo.org> (06 Dec 2010)
+# dev-db/tokyocabinet not keyworded
+mail-client/mutt tokyocabinet
+
+# Matt Turner <mattst88@gentoo.org> (26 Dec 2010)
+# dev-lang/spidermonkey not keyworded
+www-client/elinks javascript
+
+# Matt Turner <mattst88@gentoo.org> (26 Dec 2010)
+# media-gfx/ufraw not keyworded
+media-gfx/imagemagick raw
+
+# Matt Turner <mattst88@gentoo.org> (12 Jun 2011)
+# dev-python/mysql-python not keyworded
+dev-vcs/mercurial bugzilla
+
+# Matt Turner <mattst88@gentoo.org> (09 Feb 2012)
+# dev-vcs/git[cgi] requires app-text/highlight which requires boost
+dev-vcs/git cgi
+
+# Matt Turner <mattst88@gentoo.org> (09 Feb 2012)
+# mips only use flags
+>=sci-libs/fftw-3 -zbus
diff --git a/profiles/arch/mips/parent b/profiles/arch/mips/parent
new file mode 100644
index 00000000000..eb001c6e8ab
--- /dev/null
+++ b/profiles/arch/mips/parent
@@ -0,0 +1 @@
+../base
diff --git a/profiles/arch/mips/use.force b/profiles/arch/mips/use.force
new file mode 100644
index 00000000000..17258810bc1
--- /dev/null
+++ b/profiles/arch/mips/use.force
@@ -0,0 +1,6 @@
+# Copyright 2008-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+# Force the flag which corresponds to ARCH.
+mips
diff --git a/profiles/arch/mips/use.mask b/profiles/arch/mips/use.mask
new file mode 100644
index 00000000000..dededc9dbcd
--- /dev/null
+++ b/profiles/arch/mips/use.mask
@@ -0,0 +1,385 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+# Unmask the flag which corresponds to ARCH.
+-mips
+
+# Anthony G. Basile <blueness@gentoo.org> (01 Aug 2015)
+# There is no luajit support on mips. Bug #554376.
+luajittex
+
+# Markos Chandras <hwoarang@gentoo.org>
+# app-arch/lz4 does not seem to build on MIPS
+# Original bug report: #501600
+lz4
+
+# Markos Chandras <hwoarang@gentoo.org>
+# Profiles are ISA agnostic so these
+# should be masked on per user basis
+# See #498082
+-mips32r2
+-mipsdspr1
+-mipsdspr2
+-mipsfpu
+
+# Markos Chandras <hwoarang@gentoo.org>
+# Needs packages that lack ~mips keywords
+# See #485366
+m17n-lib
+
+# Ryan Hill <dirtyepic@gentoo.org>
+# Needs sci-mathematics/glpk.
+lpsol
+
+# Kacper Kowalik <xarthisius@gentoo.org> (9 Aug 2010)
+# cblas-external as virtual/cblas is also masked
+cblas-external
+
+# Samuli Suominen <ssuominen@gentoo.org>
+# Media cannot be tested for MIPS at the moment.
+# media-libs/libmpeg3
+# media-libs/portaudio
+# dev-libs/libcdio
+# media-libs/musicbrainz
+# media-libs/openexr
+mpeg
+portaudio
+cdio
+cdda
+musicbrainz
+openexr
+
+# Ryan Hill <dirtyepic@gentoo.org>
+# Various Gnome flags
+beagle
+gtkhtml
+gnome
+
+# Peter Volkov <pva@gentoo.org> MPI was never tested on mips, but
+# some programs with this useflag are useful, e.g #227631
+mpi
+
+# Ryan Hill <dirtyepic@gentoo.org>
+# virtual/blas virtual/cblas and virtual/lapack not keyworded
+lapack
+blas
+
+# Ryan Hill <dirtyepic@gentoo.org>
+dell
+
+# Alexander Færøy <eroyf@gentoo.org>
+# ldap -- untested, masking for now.
+ldap
+
+# Alexander Færøy <eroyf@gentoo.org>
+# Clamav -- untested, masking for now.
+clamav
+
+# Untested on mips, masking for now.
+cdb
+nextaw
+
+# Until someone actually needs fuse, we'll mask it as
+# it holds up stablizing ntfsprogs
+fuse
+
+# 2006/03/07 - Donnie Berkholz <dberkholz@gentoo.org>
+# Modular X: mask for architectures lacking direct rendering
+dri
+
+# Stephen P. Becker <geoman@gentoo.org>
+-video_cards_newport
+-video_cards_impact
+
+# Stephen P. Becker <geoman@gentoo.org>
+# more modular X stuff
+video_cards_epson
+video_cards_tdfx
+video_cards_sunffb
+video_cards_mach64
+video_cards_mga
+video_cards_nouveau
+video_cards_nv
+video_cards_r128
+video_cards_radeon
+video_cards_sis
+input_devices_acecad
+input_devices_aiptek
+input_devices_calcomp
+input_devices_digitaledge
+input_devices_dmc
+input_devices_dynapro
+input_devices_elo2300
+input_devices_elographics
+input_devices_fpit
+input_devices_hyperpen
+input_devices_jamstudio
+input_devices_magellan
+input_devices_magictouch
+input_devices_microtouch
+input_devices_mutouch
+input_devices_palmax
+input_devices_penmount
+input_devices_spaceorb
+input_devices_summa
+input_devices_synaptics
+input_devices_tek4957
+input_devices_ur98
+input_devices_vmmouse
+input_devices_void
+input_devices_wacom
+input_devices_joystick
+video_cards_chips
+video_cards_cirrus
+video_cards_glint
+video_cards_nvidia
+video_cards_s3
+video_cards_s3virge
+video_cards_savage
+video_cards_sisusb
+video_cards_sunbw2
+video_cards_suncg14
+video_cards_suncg3
+video_cards_suncg6
+video_cards_sunleo
+video_cards_suntcx
+video_cards_trident
+video_cards_vmware
+video_cards_voodoo
+
+# Matt Turner <mattst88@gentoo.org>
+# Mask more VIDEO_CARDs added with mesa-8.0
+video_cards_r100
+video_cards_r200
+video_cards_r300
+video_cards_r600
+video_cards_radeonsi
+video_cards_i915
+video_cards_i965
+video_cards_ilo
+# vmware wasn't added with mesa-8.0, but it should still be masked
+video_cards_vmware
+
+# 2006/02/05 - Donnie Berkholz <dberkholz@gentoo.org>
+# Modular X: mask for architectures on which they aren't available
+video_cards_apm
+video_cards_ark
+video_cards_cyrix
+video_cards_i128
+video_cards_i740
+video_cards_imstt
+video_cards_intel
+video_cards_neomagic
+video_cards_nsc
+video_cards_rendition
+video_cards_tga
+video_cards_tseng
+video_cards_vesa
+video_cards_vga
+video_cards_ast
+
+# Diego Pettenò <flameeyes@gentoo.org>
+# Until xine-lib's keywording can be maintained, please leave it masked.
+xine
+
+# Stephen P. Becker <geoman@gentoo.org>
+# masking mono because it doesn't work on mips
+mono
+
+# Hardave Riar <hardave@gentoo.org>
+# Temporarily masking ieee1394 until it can be tested
+# Quick fix to my tree b0rkage
+ieee1394
+
+# Henrik Brix Andersen <brix@gentoo.org>
+# According to the mips herd, we currently have no way of testing
+# pcmcia on mips, bug #90359
+pcmcia
+
+# John N. Laliberte <allanonjl@gentoo.org>
+# mask scanner support
+scanner
+
+# Armando Di Cianno <fafhrd@gentoo.org>
+# gnustep is currently unbuildable on mips - masking this to repair windowmaker
+# broken mips keywording becuase of 'gnustep' USE flag
+gnustep
+
+# Hardave Riar <hardave@gentoo.org>
+# This should work, someone with a usb card and digital camera should test it
+gphoto2
+
+# Hardave Riar <hardave@gentoo.org>
+# This will probablly work, but no hardware to test with
+gnokii
+
+# Ciaran McCreesh <ciaranm@gentoo.org>
+# unresolved dep, bug #82428
+emboss
+
+# Joshua Kinard <kumba@gentoo.org>
+# dietlibc isn't known to work on mips
+diet
+
+# Stephen P. Becker <geoman@gentoo.org>
+# masked because it hoses xchat on 64-bit machines
+xosd
+
+# Stephen P. Becker <geoman@gentoo.org>
+# masked for now until this can be properly tested with alsa
+jack
+
+# Stephen P. Becker <geoman@gentoo.org>
+# masked because of silly java deps with gnome (we have no jre on mips)
+accessibility
+
+# Stephen P. Becker <geoman@gentoo.org>
+# masked because mozilla doesn't work on mips
+mozilla
+
+# Stephen P. Becker <geoman@gentoo.org>
+# masked because I say so, gnome--
+pda
+
+# Ciaran McCreesh <ciaranm@gentoo.org>
+# not even slightly reliable, bug #65216
+mzscheme
+
+# Stephen P. Becker <geoman@gentoo.org>
+# masked because gaim sucks
+evo
+
+# Paul de Vrieze <pauldv@gentoo.org>
+# There is no java in this profile (if there is it must be available). Without
+# this repoman will fail on apps like sys-libs/db
+java
+
+# Ciaran McCreesh <ciaranm@gentoo.org>
+# No java, no netbeans
+netbeans
+
+# masked until gnome-extra/evolution-data-server is keyworded for mips
+eds
+
+# Flags which aren't applicable to mips (Mostly copied from sparc)
+3dfx
+acpi
+afs
+apm
+directfb
+dvdr
+ibm
+ggi
+lirc
+trusted
+voodoo3
+smartcard
+
+#
+# Anthony G. Basile <blueness@gentoo.org> (18 Jul 2012)
+# php is an old mask which works now
+# pike is no longer a use flag
+#
+## see email to gentoo-dev with subject "use.mask and PHP5's crazy IUSE"
+## Dated Sat, 31 Jul 2004 14:49:28 -0700, from robbat2@gentoo.org
+## all of these are binary-only, and not presently available on this
+## architecture.
+#php
+#pike
+djbfft
+timidity
+
+# We don't use smartcards, afaik
+pcsc-lite
+
+# Diego Pettenò <flameeyes@gentoo.org> (6 Dec 2006)
+# Unmask specific MIPS ALSA drivers
+-alsa_cards_au1x00
+
+#Daniel Black <dragonheart@gentoo.org> (28 Feb 2007)
+# Use mask l7-filter for iptables dependency - bug #150343 until mips tested
+l7filter
+
+# Fernando J. Pereda <ferdy@gentoo.org> (20 Mar 2007)
+# New optional dependency of >=mail-client/mutt-1.5.14
+qdbm
+
+# Doug Goldstein <cardoe@gentoo.org> (08 May 2007)
+# no one in mips land has smartcard hardware to test with
+# see bug #162205 comment 10.
+smartcard
+openct
+
+# kumba (02 Jun 2007)
+# pulseaudio hasn't been tested on mips; maybe someday
+pulseaudio
+
+# kumba (01 Nov 2007)
+# mask ladspa USE
+# [22:30] <beandog> mips: plz to mask ladspa use flag
+ladspa
+
+# Matt Turner <mattst88@gentoo.org> (13 Dec 2010)
+# Dropping app-arch/rpm keywords, mask rpm USE accordingly
+rpm
+
+# Matt Turner <mattst88@gentoo.org> (13 Dec 2010)
+# We don't have net-libs/libsmi keyworded
+smi
+
+# Matt Turner <mattst88@gentoo.org> (13 Dec 2010)
+# We don't have sys-devel/llvm
+llvm
+
+# Matt Turner <mattst88@gentoo.org (14 Jun 2011)
+# pdfannotextractor needs java
+pdfannotextractor
+
+# Matt Turner <mattst88@gentoo.org) (11 Jul 2011)
+# xemacs dependencies not keyworded
+xemacs
+
+# Matt Turner <mattst88@gentoo.org) (11 Jul 2011)
+# no native mips/linux code generation, see bug 319649
+ocamlopt
+
+# Matt Turner <mattst88@gentoo.org) (10 Feb 2012)
+# mask d3d since we don't have wine
+d3d
+
+# Matt Turner <mattst88@gentoo.org) (10 Feb 2012)
+# mask wayland since dev-libs/wayland isn't keyworded
+wayland
+
+# Michael Sterrett <mr_bones_@gentoo.org) (24 Aug 2012)
+# media-sound/fluidsynth isn't keyworded
+fluidsynth
+
+# Mips USE flags
+-n32
+-n64
+-ip27
+-ip28
+-ip30
+-fixed-point
+-loongson2f
+
+# Samuli Suominen <ssuominen@gentoo.org> (18 Jan 2013)
+# libdlm and cman are not keyworded
+cman
+clvm
+
+# Chí-Thanh Christopher Nguyễn <chithanh@gentoo.org> (22 Aug 2013)
+# virtual/opencl is not keyworded
+opencl
+
+# Unmask once sys-libs/libunwind gets keyworded.
+unwind
+
+# sys-libs/libseccomp has not been ported to this arch yet #524148
+seccomp
+
+# Ben de Groot <yngwin@gentoo.org> (01 Feb 2015)
+# please remove when keyworded
+qt5
diff --git a/profiles/arch/nios2/eapi b/profiles/arch/nios2/eapi
new file mode 100644
index 00000000000..7ed6ff82de6
--- /dev/null
+++ b/profiles/arch/nios2/eapi
@@ -0,0 +1 @@
+5
diff --git a/profiles/arch/nios2/make.defaults b/profiles/arch/nios2/make.defaults
new file mode 100644
index 00000000000..7a1538fca17
--- /dev/null
+++ b/profiles/arch/nios2/make.defaults
@@ -0,0 +1,23 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+# Main Nios II profile.
+
+ARCH="nios2"
+ACCEPT_KEYWORDS="nios2 ~nios2"
+CHOST="nios2-unknown-linux-gnu"
+
+MULTILIB_ABIS="nios2"
+DEFAULT_ABI="nios2"
+LIBDIR_nios2="lib"
+CHOST_nios2="${CHOST}"
+ABI=${DEFAULT_ABI}
+
+CFLAGS="-O2"
+CXXFLAGS="${CFLAGS}"
+FFLAGS="${CFLAGS}"
+FCFLAGS="${CFLAGS}"
+
+# Defaults for video drivers
+VIDEO_CARDS="fbdev"
diff --git a/profiles/arch/nios2/package.use.mask b/profiles/arch/nios2/package.use.mask
new file mode 100644
index 00000000000..5d509106d53
--- /dev/null
+++ b/profiles/arch/nios2/package.use.mask
@@ -0,0 +1,302 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+# Mike Frysinger <vapier@gentoo.org> (16 Mar 2015)
+# Needs sci-physics/bullet tested #499974
+dev-libs/efl physics
+
+# Needs testing.
+sys-devel/gcc gcj graphite regression-test
+
+# Julian Ospald <hasufell@gentoo.org> (04 Jan 2014)
+# no keyword for media-libs/swfdec and media-libs/libtimidity
+>=dev-libs/DirectFB-1.7.1 timidity swfdec
+
+# Markus Meier <maekke@gentoo.org> (26 Dec 2013)
+# Unkeyworded deps, bug #493780
+=dev-ruby/rack-1.4.5 test
+
+# Markus Meier <maekke@gentoo.org> (26 Dec 2013)
+# Unkeyworded deps, bug #488724
+app-office/gnumeric libgda
+
+# Pacho Ramos <pacho@gentoo.org> (28 Nov 2013)
+# Missing keywords, bug #492820
+net-im/telepathy-connection-managers sipe
+
+# Chí-Thanh Christopher Nguyễn <chithanh@gentoo.org> (10 Nov 2013)
+# <sys-devel/llvm-3.2 is not keyworded
+=media-libs/mesa-7.10* llvm
+
+# Pacho Ramos <pacho@gentoo.org> (31 Oct 2013)
+# Missing keywords, bug #478254
+gnome-base/gnome classic
+
+# Benda Xu <heroxbd@gentoo.org> (31 Oct 2013)
+# Missing keywords from dev-ml/lablgtk, bug #487722
+net-p2p/mldonkey gtk guionly
+
+# Tom Wijsman <TomWij@gentoo.org> (16 Oct 2013)
+# Mask luajit on ~media-video/mpv-0.2.0 because it only has amd64 x86 keywords. See bug #488318.
+>=media-video/mpv-0.2.0 luajit
+
+# Pacho Ramos <pacho@gentoo.org> (22 Sep 2013)
+# Missing keywords, bug #484734
+media-sound/rhythmbox visualizer
+
+# Markus Meier <maekke@gentoo.org> (15 Sep 2013)
+# Unkeyworded deps, bug #481462
+dev-python/ipython nbconvert
+
+# Johannes Huber <johu@gentoo.org> (15 Sep 2013)
+# Depends on kde-misc/networkmanagement, not keyworded yet.
+kde-apps/solid-runtime networkmanager
+
+# Sergey Popov <pinkbyte@gentoo.org> (06 Sep 2013)
+# sci-libs/hdf does not build properly on arm
+dev-perl/PDL hdf
+
+# Michael Weber <xmw@gentoo.org> (23 Aug 2013)
+# Unkeyworded deps
+media-gfx/fim graphicsmagick svg
+
+# Markus Meier <maekke@gentoo.org> (04 Aug 2013)
+# Unkeyworded deps, bug #474026
+app-admin/conky lua-cairo lua-imlib xmms2 audacious moc
+
+# Sergey Popov <pinkbyte@gentoo.org> (30 Jul 2013)
+# Not tested
+media-libs/devil allegro nvtt
+
+# Chí-Thanh Christopher Nguyễn <chithanh@gentoo.org> (13 Jul 2013)
+# requires net-misc/freerdp which is not keyworded on arm
+dev-libs/weston rdp
+
+# Patrick Lauer <patrick@gentoo.org> (17 June 2013)
+# Fix per-arch mask of phonon[zeitgeist] #460140
+media-libs/phonon zeitgeist
+
+# Andreas K. Huettel <dilfridge@gentoo.org> (27 May 2013)
+# Firmware loader not keyworded yet
+sci-libs/linux-gpib firmware
+
+# Markus Meier <maekke@gentoo.org> (11 May 2013)
+# unkeyworded deps for x11-wm/enlightenment
+x11-wm/enlightenment emotion
+
+# Markus Meier <maekke@gentoo.org> (10 May 2013)
+# unkeyworded deps for dev-python/ipython
+dev-python/ipython mongodb
+
+# Markus Meier <maekke@gentoo.org> (09 May 2013)
+# unkeyworded deps for x11-misc/lightdm
+x11-misc/lightdm razor kde
+
+# Agostino Sarubbo <ago@gentoo.org> (05 May 2013)
+# dev-util/google-perftools is not keyworded for arm
+>=dev-libs/libmemcached-0.50 tcmalloc
+
+# Christoph Junghans <ottxor@gentoo.org> (29 Apr 2013)
+# MKL not available on this arch
+media-gfx/povray mkl
+
+# Benda Xu <heroxbd@gentoo.org> (1 Apr 2013)
+# dev-ml/lablgtk not keyworded
+net-misc/unison gtk
+
+# Julian Ospald <hasufell@gentoo.org> (31 Mar 2013)
+# depends on mono
+>=net-irc/hexchat-2.9.4-r1 theme-manager
+
+# Chí-Thanh Christopher Nguyễn <chithanh@gentoo.org> (20 Feb 2013)
+# Mask flags of calligra and dependencies due to lack of keywords
+app-office/calligra openexr postgres spacenav vc
+media-gfx/pstoedit emf
+
+# Michał Górny <mgorny@gentoo.org> (01 Feb 2013)
+# virtual/cblas not keyworded on arm, bug #455050.
+dev-python/numpy lapack
+
+# Alexandre Rostovtsev <tetromino@gentoo.org> (22 Jan 2013)
+# remove mask if/when media-gfx/argyllcms is keywored here.
+x11-misc/colord extra-print-profiles
+
+# Alexandre Rostovtsev <tetromino@gentoo.org> (31 Dec 2012)
+# requires app-office/unoconv, which requires virtual/ooo, which is not
+# keyworded here. Remove mask if this situation changes.
+gnome-extra/sushi office
+
+# Alexandre Rostovtsev <tetromino@gentoo.org> (30 Dec 2012)
+# sys-apps/systemd works on this arch (masked in base)
+sys-kernel/dracut -dracut_modules_systemd
+
+# Alexandre Rostovtsev <tetromino@gentoo.org> (30 Dec 2012)
+# requires dev-util/bustle, which is written in haskell
+# remove mask if/when dev-lang/ghc is keywoded for arm
+dev-util/dbus-test-runner test
+
+# Alexandre Rostovtsev <tetromino@gentoo.org> (27 Dec 2012)
+# remove mask when app-text/yelp-tools is keyworded here
+>=gnome-extra/zenity-3.6 test
+
+# Alexandre Rostovtsev <tetromino@gentoo.org> (27 Dec 2012)
+# remove mask when >=app-editors/gedit-3.6 is keyworded here
+dev-util/devhelp gedit
+
+# Alexandre Rostovtsev <tetromino@gentoo.org> (27 Dec 2012)
+# remove mask when app-crypt/libsecret is keyworded here
+>=gnome-base/gvfs-1.14 gnome-keyring
+
+# Markus Meier <maekke@gentoo.org> (25 Dez 2012)
+# unkeyworded deps for app-accessibility/speech-dispatcher
+app-accessibility/speech-dispatcher flite
+
+# Markus Meier <maekke@gentoo.org> (23 Dec 2012)
+# mask kde-base/* flags due to unkeyworded dependencies
+kde-apps/kalzium editor solver
+kde-apps/krdc rdesktop
+kde-apps/kopete jingle msn sms
+kde-base/kdeplasma-addons fcitx oauth qwt scim
+kde-apps/okular ebook chm
+kde-apps/kstars indi
+kde-apps/kdeutils-meta floppy
+kde-apps/kdenetwork-meta ppp
+kde-base/smokeqt qscintilla qwt
+kde-base/qtruby qscintilla qwt
+kde-base/perlqt qscintilla qwt
+
+# Alexandre Rostovtsev <tetromino@gentoo.org> (15 Dec 2012)
+# media-video/coherence not keyworded
+=media-video/totem-2* upnp-av
+
+# Markus Meier <maekke@gentoo.org> (08 Dec 2012)
+# mask app-office/libreoffice java extensions
+app-office/libreoffice libreoffice_extensions_scripting-beanshell libreoffice_extensions_scripting-javascript libreoffice_extensions_wiki-publisher
+
+# Markus Meier <maekke@gentoo.org> (17 Oct 2012)
+# spidermonkey is broken on arm see bug #420471
+=net-libs/libproxy-0.4.10 spidermonkey
+
+# Steev Klimaszewski <steev@gentoo.org> (03 Aug 2012)
+# No java on ARM
+net-analyzer/wireshark doc-pdf
+
+# Markus Meier <maekke@gentoo.org> (25 Jul 2012)
+# no stable media-video/vlc yet, bug #401313
+media-libs/phonon vlc
+
+# Chí-Thanh Christopher Nguyen <chithanh@gentoo.org> (02 Jun 2012)
+# Mask udis86 flag for llvm, which is of limited use outside x86/amd64.
+sys-devel/llvm udis86
+
+# Alexandre Rostovtsev <tetromino@gentoo.org> (12 Apr 2012)
+# Temporary mask-in-base, unmask-in-arch for dev-python/mako keywording for
+# gobject-introspection[doctool], bug #411761
+dev-libs/gobject-introspection -doctool
+
+# Michael Sterrett <mr_bones_@gentoo.org> (04 Mar 2012)
+# arm is missing keywords for >=dev-libs/json-glib-0.12
+app-admin/syslog-ng json
+
+# Alexandre Rostovtsev <tetromino@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
+www-client/epiphany -jit
+
+# Anthony G. Basile <blueness@gentoo.org> (Dec 21, 2011)
+# Mask the vde flag on tinc because net-misc/vde is not
+# keyworded for arm
+net-misc/tinc vde
+
+# Patrick McLean <chutzpah@gentoo.org> (08 Nov 2011)
+# mask conntrack USE flag for dnsmasq as dep is not keyworded
+net-dns/dnsmasq conntrack
+
+# Alexandre Rostovtsev <tetromino@gentoo.org> (03 Nov 2011)
+# Missing keywords in gst-plugins-{faac,lame,speex,twolame}, bug #389433
+gnome-extra/gnome-media aac mp3 speex twolame
+
+# Tobias Klausmann <klausman@gentoo.org> (02 Nov 2011)
+# libpcre jit is not supported on alpha
+dev-libs/libpcre jit
+
+# Markus Meier <maekke@gentoo.org> (05 Sep 2011)
+# unkeyworded deps for bug 379657 and bug 379651
+gnome-base/gnome-control-center socialweb
+app-admin/packagekit-base entropy
+
+# Robin H. Johnson <robbat2@gentoo.org> (03 Sep 2011)
+# Remove this for your arch after you keyword dev-utils/google-perftools and virtual/gsasl (bug #381737)
+dev-libs/libmemcached sasl
+
+# Pacho Ramos <pacho@gentoo.org> (19 Jul 2011)
+# Missing keywords on dependencies
+app-cdr/brasero vcd
+
+# Pacho Ramos <pacho@gentoo.org> (02 Apr 2011)
+# quvi support is needed to play youtube files now
+media-video/totem flash youtube
+
+# Markus Meier <maekke@gentoo.org> (13 Mar 2011)
+# needs stable kde stuff
+sys-auth/polkit kde
+
+# Sebastian Pipping <sping@gentoo.org> (22 Feb 2011)
+# No media-sound/lilypond here, yet (bug #356069)
+app-text/asciidoc test
+
+# Michael Weber <xmw@gentoo.org> (10 Feb 2011)
+# kde-base/kdelibs is not stable for arm
+net-libs/libproxy kde
+
+# Justin Lecher <jlec@gentoo.org> (14 Jen 2011)
+# x11-libs/fltk is not keyworded for arm
+app-misc/nut X
+
+# Nirbheek Chauhan <nirbheek@gentoo.org> (26 Jun 2010)
+# Inter-process communication doesn't work on anything except x86/amd64/arm
+# due to lack of atomic ops, bug 325185
+www-client/firefox -ipc
+
+# Pacho Ramos <pacho@gentoo.org> (13 Jun 2010)
+# Needs app-mobilephone/obex-data-server keyworded, bug 305913
+gnome-base/gvfs bluetooth
+
+# Jeremy Olexa <darkside@gentoo.org> (04 Apr 2010)
+# mask net-misc/mediatomb[lastfm] as lastfmlib isn't keyworded
+net-misc/mediatomb lastfm
+
+# Raúl Porcel <armin76@gentoo.org> (28 Mar 2010)
+# Needs kde-4 stable
+dev-vcs/subversion kde
+
+# Raúl Porcel <armin76@gentoo.org> (20 Jan 2010)
+# Needs mplayer
+kde-base/dolphin thumbnail
+
+# Markus Meier <maekke@gentoo.org> (27 Sep 2009)
+# mask media-gfx/imagemagick[autotrace] as autotrace is not keyworded
+media-gfx/imagemagick autotrace
+
+# Jim Ramsay <lack@gentoo.org> (5 Nov 2008)
+# app-admin/gkrellm may pull in net-libs/libntlm, which is not keyworded
+app-admin/gkrellm ntlm
+
+# Masking this so repoman shuts up about paludis
+sys-apps/paludis ruby-bindings
+
+# missing keyword for sys-cluster/openmpi sys-cluster/mpich2
+dev-libs/boost mpi
+
+# missing keywords
+media-sound/sox ladspa
+media-plugins/gst-plugins-meta aac dts dv lame libvisual taglib vcd wavpack
+
+# projectm not keyworded, bug #314969
+media-video/vlc projectm chromaprint opencv
+
+# Ultrabug <ultrabug@gentoo.org) (05 Sept 2011)
+# missing keyword for net-libs/zeromq
+app-admin/rsyslog zeromq
diff --git a/profiles/arch/nios2/parent b/profiles/arch/nios2/parent
new file mode 100644
index 00000000000..7663f5297bb
--- /dev/null
+++ b/profiles/arch/nios2/parent
@@ -0,0 +1,2 @@
+../../features/multilib
+../base
diff --git a/profiles/arch/nios2/use.force b/profiles/arch/nios2/use.force
new file mode 100644
index 00000000000..fbd63671fd6
--- /dev/null
+++ b/profiles/arch/nios2/use.force
@@ -0,0 +1,2 @@
+# Force the flag which corresponds to ARCH.
+nios2
diff --git a/profiles/arch/nios2/use.mask b/profiles/arch/nios2/use.mask
new file mode 100644
index 00000000000..f8aa13d9ee1
--- /dev/null
+++ b/profiles/arch/nios2/use.mask
@@ -0,0 +1,241 @@
+# Unmask the flag which corresponds to ARCH.
+-nios2
+
+# doomsday ebuild is not available on this architecture
+doomsday
+
+# Markus Meier <maekke@gentoo.org> (22 Aug 2010)
+# net-wireless/wimax not tested
+wimax
+
+# Markus Meier <maekke@gentoo.org> (21 Aug 2010)
+# app-antivirus/clamav not tested
+clamav
+
+# Kacper Kowalik <xarthisius@gentoo.org> (9 Aug 2010)
+# cblas-external as virtual/cblas is also masked
+cblas-external
+
+# Samuli Suominen <ssuominen@gentoo.org> (17 Oct 2009)
+# Required package: media-sound/musepack-tools
+musepack
+
+# Raúl Porcel <armin76@gentoo.org>
+# I've been told xfs is broken on ARM
+xfs
+
+# Raúl Porcel <armin76@gentoo.org>
+# Fails to build/work
+openexr
+
+# Samuli Suominen <drac@gentoo.org>
+# media-libs/amrnb and media-libs/amrwb not tested.
+amr
+
+# Samuli Suominen <drac@gentoo.org>
+# sci-visualization/grace not tested.
+grace
+
+# Samuli Suominen <drac@gentoo.org>
+# media-gfx/gimp not tested.
+gimp
+
+# No hardware to test by the team
+dvb
+ios
+ipod
+
+# Stuff that doesn't make sense on this arch
+3dfx
+cpufreq
+dell
+laptop
+dmi
+
+# Stuff we don't want
+chicken
+fuse
+R
+octave
+tracker
+xindy
+lyx
+mpi
+lasi
+fusion
+debug-utils
+schroedinger
+hardened
+frei0r
+libvirt
+pdfannotextractor
+prelude
+mssql
+
+# havent tested yet
+ruby
+ctypes-python
+sasl
+libproxy
+pkcs11
+gnutls
+bazaar
+darcs
+mercurial
+kerberos
+gpg
+gnome
+gnome-keyring
+cupsddk
+doc
+emacs
+gphoto2
+mythtv
+afs
+mono
+pike
+lirc
+lm_sensors
+netjack
+beagle
+nvtv
+mzscheme
+xemacs
+rpm
+scanner
+madwifi
+libupnp
+zvbi
+ldap
+mysql
+postgres
+dvd
+fluidsynth
+gnomecd
+cblas
+prolog
+sid
+mms
+mtp
+ieee1394
+sctp
+pm-utils
+wicd
+darcs
+bs2b
+toolame
+ladspa
+ldns
+ggi
+nut
+xanim
+dvd
+fits
+tokyocabinet
+vaapi
+rtmp
+vpx
+iplayer
+plotutils
+lpsol
+upnp
+quvi
+bluray
+libtar
+zvbi
+aacplus
+devil
+gts
+anthy
+ace
+csharp
+icu
+gtk
+qt4
+qt5
+R
+sdl
+slang
+tk
+vim-syntax
+X
+
+# 2006/02/05 - Donnie Berkholz <dberkholz@gentoo.org>
+# Modular X: mask for architectures on which they aren't available
+video_cards_apm
+video_cards_ark
+video_cards_ast
+video_cards_ati
+video_cards_cirrus
+video_cards_chips
+video_cards_cyrix
+video_cards_glint
+video_cards_i128
+video_cards_i740
+video_cards_intel
+video_cards_mach64
+video_cards_mga
+video_cards_neomagic
+video_cards_newport
+video_cards_nouveau
+video_cards_nsc
+video_cards_nv
+video_cards_r128
+video_cards_radeon
+video_cards_rendition
+video_cards_s3
+video_cards_s3virge
+video_cards_savage
+video_cards_siliconmotion
+video_cards_sis
+video_cards_tdfx
+video_cards_tga
+video_cards_trident
+video_cards_tseng
+video_cards_vesa
+video_cards_via
+video_cards_voodoo
+
+# Matt Turner <mattst88@gentoo.org>
+# Mask more VIDEO_CARDs added with mesa-8.0
+video_cards_r100
+video_cards_r200
+video_cards_r300
+video_cards_r600
+video_cards_radeonsi
+video_cards_i915
+video_cards_i965
+video_cards_ilo
+# vmware wasn't added with mesa-8.0, but it should still be masked
+video_cards_vmware
+
+# USE=audit masked prior to testing on alpha, arm, hppa, ppc64, s390, sh.
+# Bug #184563, 18 Sep 2007
+# Robin H. Johnson <robbat2@gentoo.org>
+audit
+
+# Matt Turner <mattst88@gentoo.org) (10 Feb 2012)
+# mask d3d since we don't have wine
+d3d
+
+# Alexandre Rostovtsev <tetromino@gentoo.org> (31 Dec 2012)
+# media-libs/xine-lib is not keyworded
+xine
+
+# Samuli Suominen <ssuominen@gentoo.org> (18 Jan 2013)
+# libdlm and cman are not keyworded
+cman
+clvm
+
+# Chí-Thanh Christopher Nguyễn <chithanh@gentoo.org> (22 Aug 2013)
+# virtual/opencl is not keyworded
+opencl
+
+# This one we need to test ...
+python_targets_python3_3
+
+# sys-libs/libseccomp has not been ported to this arch yet #524148
+seccomp
+
+# No nios2 java support yet.
+java
diff --git a/profiles/arch/powerpc/eapi b/profiles/arch/powerpc/eapi
new file mode 100644
index 00000000000..7ed6ff82de6
--- /dev/null
+++ b/profiles/arch/powerpc/eapi
@@ -0,0 +1 @@
+5
diff --git a/profiles/arch/powerpc/make.defaults b/profiles/arch/powerpc/make.defaults
new file mode 100644
index 00000000000..445a68b5ea0
--- /dev/null
+++ b/profiles/arch/powerpc/make.defaults
@@ -0,0 +1,3 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
diff --git a/profiles/arch/powerpc/package.mask b/profiles/arch/powerpc/package.mask
new file mode 100644
index 00000000000..c2ba248c52c
--- /dev/null
+++ b/profiles/arch/powerpc/package.mask
@@ -0,0 +1,31 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+# Julian Ospald <hasufell@gentoo.org> (01 Sep 2014)
+# Needs either hardmasked >=media-video/libav-10 or
+# >=media-video/ffmpeg-2.1.4 which is not keyworded for
+# ppc/ppc64. Also see bug #521808
+=media-video/mpv-0.4*
+=media-video/mpv-0.5*
+
+# Brent Baude <ranger@gentoo.org> (20 Nov 2012)
+# Masking kgcc64 now that toolchain is biarch
+sys-devel/kgcc64
+
+# Ben de Groot <yngwin@gentoo.org> (2 Jun 2012)
+# Since there is no longer a working keyworded version of
+# media-video/smplayer (see bug 383945)
+x11-themes/smplayer-themes
+
+# Alexey Shvetsov <alexxy@gentoo.org> (21 May 2012)
+# Need deps pecl-apc and pecl-uploadprogress bug #416897
+>=www-apps/drupal-7.14
+
+# Justin Lecher <jlec@gentoo.org> (9 Mar 2011)
+# sci-libs/plplot needs keywords #358035
+=sci-biology/emboss-6.3.1*
+
+# Doug Goldstein <cardoe@gentoo.org> (11 Jan 2013)
+# Masked due to depends on bug #438780
+>=app-emulation/qemu-1.2.0
diff --git a/profiles/arch/powerpc/package.use b/profiles/arch/powerpc/package.use
new file mode 100644
index 00000000000..c3fc770c727
--- /dev/null
+++ b/profiles/arch/powerpc/package.use
@@ -0,0 +1,7 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+# Doug Goldstein <cardoe@gentoo.org> (29 Oct 2012)
+# Enable the native arch as the default qemu target
+app-emulation/qemu qemu_softmmu_targets_ppc
diff --git a/profiles/arch/powerpc/package.use.force b/profiles/arch/powerpc/package.use.force
new file mode 100644
index 00000000000..d011e8fff45
--- /dev/null
+++ b/profiles/arch/powerpc/package.use.force
@@ -0,0 +1,19 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+# Mike Frysinger <vapier@gentoo.org> (16 Mar 2015)
+# Needs dev-lang/luajit tested #499974
+dev-libs/efl oldlua
+
+# Matti Bickel <mabi@gentoo.org> - 2007-12-31
+# only the java interface is usable on ppc
+net-p2p/sancho-bin java
+
+# Kacper Kowalik <xarthisius@gentoo.org> (16 Jan 2011)
+# bug 303931
+# sci-chemistry/arp-warp-bin is not available for ppc
+# sci-chemistry/solve-resolve-bin is not available for ppc
+# sci-chemistry/cns is not available for ppc
+sci-chemistry/oasis minimal
+sci-libs/cctbx minimal
diff --git a/profiles/arch/powerpc/package.use.mask b/profiles/arch/powerpc/package.use.mask
new file mode 100644
index 00000000000..a130181e818
--- /dev/null
+++ b/profiles/arch/powerpc/package.use.mask
@@ -0,0 +1,368 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+# Bernard Cafarelli <voyageur@gentoo.org> (06 Aug 2015)
+# Dependencies missing keywords, bug #543604
+sys-devel/llvm ocaml
+
+# Gilles Dartiguelongue <eva@gentoo.org> (10 Jun 2015)
+# net-libs/dleyna-connector-dbus lack ppc/ppc64 keyword, bug #551634
+>=media-plugins/grilo-plugins-0.2.14 upnp-av
+
+# Justin Lecher <jlec@gentoo> (18 May 2015)
+# missing keywords
+dev-python/matplotlib qt5
+
+# Pacho Ramos <pacho@gentoo.org> (15 May 2015)
+# Missing keywords
+net-dns/unbound dnstap
+
+# Markos Chandras <hwoarang@gentoo.org> (18 Apr 2015)
+# samba-4 not keyworded on ppc/ppc64
+sys-auth/sssd samba
+
+# Mike Frysinger <vapier@gentoo.org> (16 Mar 2015)
+# Needs sci-physics/bullet & media-libs/libsdl2 tested #499974
+dev-libs/efl physics sdl
+media-libs/elementary sdl
+
+# Ben de Groot <yngwin@gentoo.org> (15 Mar 2015)
+# Waiting for keywording in bug 543398
+>=media-sound/picard-1.3.2 cdda
+
+# Michał Górny <mgorny@gentoo.org> (21 Feb 2015)
+# The external QCA plugins are not keyworded on this arch. Since
+# this is only a temporary measure and nothing depends on them,
+# just masking them until the new version goes stable.
+<app-crypt/qca-2.1 logger pkcs11 sasl
+
+# Andreas K. Huettel <dilfridge@gentoo.org> (15 Feb 2015)
+# There's no keyworded office implementation anymore.
+gnome-extra/sushi office
+
+# Alexis Ballier <aballier@gentoo.org> (11 Feb 2015)
+# Missing ffmpeg deps, bug #510340
+media-video/ffmpeg x265
+
+# Patrick Lauer <patrick@gentoo.org> (10 Feb 2015)
+# Missing keywords for media-libs/x265
+media-video/libav x265
+
+# Markos Chandras <hwoarang@gentoo.org> (07 Feb 2015)
+# app-admin/cgmanager misses PPC/PPC64 keywords. Bug #539208
+app-emulation/lxc cgmanager
+
+# Mark Wright <gienah@gentoo.org> (14-24 Dec 2014, 1 Apr 2015)
+# test dependencies need keywording
+dev-haskell/binary test
+dev-haskell/dlist test
+dev-haskell/haskell-src-exts test
+dev-haskell/text test
+dev-haskell/vector test
+dev-util/bnfc test
+
+# Michał Górny <mgorny@gentoo.org> (30 Oct 2014)
+# Requires non-keyworded >=x11-libs/libxkbcommon-0.4.
+sys-apps/systemd terminal
+sys-apps/systemd xkb
+
+# Chí-Thanh Christopher Nguyễn <chithanh@gentoo.org> (16 Sep 2014)
+# Needs libepoxy keywording, bug #510940
+x11-base/xorg-server glamor wayland
+x11-drivers/xf86-video-nouveau glamor
+
+# Anthony G. Basile <blueness@gentoo.org> (17 Aug 2014)
+# This pulls in qemu[smartcard] which is masked
+net-misc/spice-gtk smartcard
+
+# Anthony G. Basile <blueness@gentoo.org> (16 Aug 2014)
+# Ultimately pulls in nodejs which is broken.
+dev-ruby/sprockets test
+
+# Anthony G. Basile <blueness@gentoo.org> (15 Aug 2014)
+# Ultimately pulls in nodejs which is broken.
+dev-ruby/haml test
+
+# Anthony G. Basile <blueness@gentoo.org> (14 Aug 2014)
+# Mask USE=doc because it pulls in matplotlib whic has
+# too many unkeyworded dependencies. Bug #517086
+=dev-python/networkx-1.9 doc examples test
+
+# Anthony G. Basile <blueness@gentoo.org> (14 Aug 2014)
+# Mask these flags since mongodb is broken on ppc/ppc64
+dev-python/ipython doc matplotlib mongodb nbconvert notebook qt4
+
+# Maciej Mrozowski <reavertm@gentoo.org> (13 Aug 2014)
+# Missing keywords on dev-libs/protobuf-c (bug 519772)
+>=net-libs/libgadu-1.12.0 gg11
+
+# Anthony G. Basile <blueness@gentoo.org> (12 Aug 2014)
+# Ultimately pulls in nodejs which is broken.
+dev-ruby/actionpack test
+
+# Anthony G. Basile <blueness@gentoo.org> (12 Aug 2014)
+# Ultimately pulls in nodejs which is broken.
+dev-ruby/tilt test
+
+# Anthony G. Basile <blueness@gentoo.org> (12 Aug 2014)
+# Pulls in ceph which is broken. Masked per dev-zero.
+sys-block/fio rbd
+
+# Maxim Koltsov <maksbotan@gentoo.org> (9 Jul 2014)
+# Missing keywords on dev-python/rst2pdf, bug #515222
+media-video/mpv doc-pdf
+
+# Andreas K. Huettel <dilfridge@gentoo.org> (14 Jun 2014)
+# dependency sci-libs/vtk not keyworded on ppc yet
+media-libs/opencv vtk
+
+# Markos Chandras <hwoarang@gentoo.org> (03 May 2014)
+# sys-libs/libseccomp suppors amd64, x86, ARM and MIPS.
+app-emulation/lxc seccomp
+
+# Julian Ospald <hasufell@gentoo.org> (20 Apr 2014)
+# Missing keywords, bug #508226
+media-video/mpv sdl
+
+# Johannes Huber <johu@gentoo.org> (16 Apr 2014)
+# unkeyworded deps
+kde-apps/gwenview semantic-desktop
+kde-apps/okular dpi
+kde-base/nepomuk-core migrator
+
+# Pacho Ramos <pacho@gentoo.org> (12 Apr 2014)
+# Missing keywords, bug #507490
+net-misc/modemmanager mbim
+
+# Pacho Ramos <pacho@gentoo.org> (22 Feb 2013)
+# Missing keywords, bug #495250
+>=gnome-base/gnome-extra-apps-3.10 tracker
+
+# Pacho Ramos <pacho@gentoo.org> (10 Feb 2014)
+# Missing keywords, bug #495254
+>=dev-libs/totem-pl-parser-3.10 quvi
+>=media-video/totem-3.10 flash
+
+# Pacho Ramos <pacho@gentoo.org> (11 Jan 2013)
+sys-kernel/dracut -dracut_modules_systemd
+
+# Pacho Ramos <pacho@gentoo.org> (28 Nov 2013)
+# Missing keywords, bug #492820
+net-im/telepathy-connection-managers sipe
+
+# Pacho Ramos <pacho@gentoo.org> (31 Oct 2013)
+# Missing keywords, bug #478254
+gnome-base/gnome classic extras
+
+# Mark Wright <gienah@gentoo.org> (26 Oct 2013)
+# template-haskell not yet available
+dev-haskell/dataenc test
+
+# Tom Wijsman <TomWij@gentoo.org> (16 Oct 2013)
+# Mask luajit on ~media-video/mpv-0.2.0 because it only has amd64 x86 keywords. See bug #488318.
+>=media-video/mpv-0.2.0 luajit
+
+# Johannes Huber <johu@gentoo.org> (15 Sep 2013)
+# # Depends on kde-misc/networkmanagement, not keyworded yet.
+kde-apps/solid-runtime networkmanager
+
+# Pacho Ramos <pacho@gentoo.org> (08 Sep 2013)
+# monodevelop is not keyworded, bug #468030
+gnome-extra/zeitgeist-datasources mono
+
+# Agostino Sarubbo <ago@gentoo.org> (24 Aug 2013)
+# Klibc does not work anymore on ppc
+app-shells/mksh static
+
+# Nathan Phillip Brink <binki@gentoo.org> (31 Jul 2013)
+# app-text/discount missing ~ppc.
+dev-util/geany-plugins markdown
+
+# Pacho Ramos <pacho@gentoo.org> (20 Jul 2013)
+# Keywords pending, bug #476710
+>=gnome-base/gnome-extra-apps-3.8 games
+
+# Patrick Lauer <patrick@gentoo.org> (17 Jun 2013)
+# Fix per-arch mask of phonon[zeitgeist] #460140
+media-libs/phonon zeitgeist
+
+# Agostino Sarubbo <ago@gentoo.org> (23 Apr 2013)
+# dev-db/spatialite fails to compile on ppc*
+sci-libs/gdal spatialite
+
+# Julian Ospald <hasufell@gentoo.org> (31 Mar 2013)
+# depends on mono/monodevelop
+>=net-irc/hexchat-2.9.4-r1 theme-manager
+
+# Alexandre Rostovtsev <tetromino@gentoo.org> (31 Jan 2013)
+# remove mask when net-libs/libqmi is keyworded here
+net-misc/modemmanager qmi qmi-newest
+
+# Alexandre Rostovtsev <tetromino@gentoo.org> (22 Jan 2013)
+# remove mask if/when media-gfx/argyllcms is keywored here.
+x11-misc/colord argyllcms extra-print-profiles
+
+# Sergei Trofimovich <slyfox@gentoo.org> (11 Jan 2013)
+# Current sys-libs/libseccomp (up to 1.0.1) support
+# only x86/amd64. Relies on hardcoded syscall numbers.
+app-emulation/qemu seccomp
+
+# Anthony G. Basile <blueness@gentoo.org> (15 Nove 2012)
+# Mask telepathy, no stable net-libs/telepathy-qt, bug #441456
+kde-apps/krdc telepathy
+kde-apps/krfb telepathy
+net-im/choqok telepathy
+
+# Robin H Johnson <robbat2@gentoo.org> (01 Nov 2012)
+# MySQL 5.5 wants systemtap, tcmalloc & jemalloc
+>=dev-db/mysql-5.5 tcmalloc
+>=dev-db/mariadb-5.5 tcmalloc
+>=dev-db/percona-server-5.5 tcmalloc
+
+# Anthony G. Basile <blueness@gentoo.org> (29 Sep 2012)
+# dev-cpp/tbb does not build on ppc ppc64 so mask any
+# dependencies on it
+media-libs/openimageio tbb
+
+# Samuli Suominen <ssuominen@gentoo.org> (27 Sep 2012)
+# I don't want to open this can of worms yet. Feel free
+# to do so.
+dev-ruby/rack-test test
+
+# Michael Weber <xmw@gentoo.org> (22 Aug 2012)
+# missing stable on >=www-client/firefox-3
+x11-themes/gtk-engines-qtcurve mozilla
+
+# Anthony G. Basile <blueness@gentoo.org> (21 Aug 2012)
+# Does not work on ppc/ppc64
+net-misc/tor tor-hardening
+
+# Michael Weber <xmw@gentoo.org> (3 Jun 2012)
+# pymol got stabled (bug 366229) but USE=apbs deps aren't keyworded
+sci-chemistry/pymol apbs
+
+# Andreas K. Huettel <dilfridge@gentoo.org> (28 May 2012)
+# Mask new useflag of opencv, as dependency dev-cpp/tbb is not keyworded on ppc
+media-libs/opencv tbb
+
+# Brent Baude <ranger@gentoo.org> (06 Mar 2012)
+# masking kde on gajim
+net-im/gajim kde
+
+# Pacho Ramos <pacho@gentoo.org> (07 May 2012)
+# libhid is not keyworded
+app-misc/lcdproc hid
+
+# Brent Baude <ranger@gentoo.org> (06 Mar 2012)
+# masking wimax use flag
+net-misc/connman wimax ofono
+
+# Alexey Shvetsov <alexxy@gentoo.org> (20 Jan 2012)
+# Mask some use flags for openmpi due to unkeyworded deps
+sys-cluster/openmpi openmpi_fabrics_psm openmpi_fabrics_knem openmpi_fabrics_open-mx openmpi_fabrics_ofed openmpi_fabrics_dapl openmpi_rm_slurm openmpi_ofed_features_rdmacm
+
+# Kacper Kowalik <xarthisius@gentoo.org> (20 Nov 2011)
+# Dropped dietlibc wrt #364103
+sys-fs/dmraid dietlibc
+
+# Pacho Ramos <pacho@gentoo.org> (26 Sep 2011)
+# Dependencies not keyworded yet, bug #372245
+media-video/miro xvid
+
+# Patrick McLean <chutzpah@gentoo.org> (07 Sep 2011)
+# missing keywords on dependencies
+media-video/x264-encoder ffmpegsource
+
+# Robin H. Johnson <robbat2@gentoo.org> (03 Sep 2011)
+# Remove this for your arch after you keyword dev-utils/google-perftools (bug #381737
+dev-libs/libmemcached tcmalloc
+
+# Kacper Kowalik <xarthisius@gentoo.org> (10 Aug 2011)
+# mask cuda dep for opencv bug 365451
+media-libs/opencv cuda
+
+# Kacper Kowalik <xarthisius@gentoo.org> (09 Aug 2011)
+# pass on media-sound/amarok[upnp] bug 365003
+media-sound/amarok upnp
+
+# Pacho Ramos <pacho@gentoo.org> (19 Jul 2011)
+# Missing keywords on dependencies
+app-cdr/brasero vcd
+
+# Brent Baude <ranger@gentoo.org> (25 June 2011)
+# kde-base/krossjava fails to build on ppc
+kde-base/kdebindings-meta java
+
+# Doug Goldstein <cardoe@gentoo.org> (27 May 2011)
+# app-emulation/spice, app-emulation/xen, and sys-cluster/ceph
+# are not keyworded. bug #368959
+# sys-apps/usbredir
+app-emulation/qemu spice xen rbd usbredir
+
+# Kacper Kowalik <xarthisius@gentoo.org> (16 Jan 2011)
+# bug 350513, app-pda/jpilot is not keyworded
+mail-client/claws-mail pda
+
+# Sebastian Pipping <sping@gentoo.org> (22 Feb 2011)
+# No media-sound/lilypond here, yet (bug #356069)
+app-text/asciidoc test
+
+# Kacper Kowalik <xarthisius@gentoo.org> (16 Jan 2011)
+# bug 303931
+# dev-lang/icc is not available for ppc
+# sci-chemistry/arp-warp-bin is not available for ppc
+sci-chemistry/ccp4 arpwarp
+
+# Justin Lecher <jlec@gentoo.org> (01 Nov 2010)
+# Deps not Keyworded
+sci-chemistry/apbs fetk
+
+# Vlastimil Babka <caster@gentoo.org> (13 Oct 2010)
+# dev-util/systemtap not keyworded on ppc arches. Note that this currently applies for java-overlay
+# icedtea only, but the plan is to move it to main tree.
+dev-java/icedtea systemtap
+
+# Alexey Shvetsov <alexxy@gentoo.org> (22 Aug 2010)
+# sci-chemistry/msms not available for this arch
+sci-chemistry/vmd msms
+
+# Justin Lecher <jlec@gentoo.org> (13 Aug 2010)
+# MKL not available on this arch
+media-gfx/povray mkl
+
+# Bernard Cafarelli <voyageur@gentoo.org> (26 Apr 2010)
+# This is for x86/amd64 only
+sys-devel/llvm udis86
+
+# Alexey Shvetsov <alexxy@gentoo.org> (23 Feb 2010)
+# media-gfx/tachyon needed to be keyworded per bug #306549
+sci-chemistry/vmd tachyon
+
+# Pacho Ramos <pacho@gentoo.org>
+# Not keyworded
+media-plugins/gst-plugins-meta dts vcd vpx
+
+# QA: This entry is moved from INVALID location from default/linux/powerpc.
+# VDPAU is currently not keyworded on PPC since its a nvidia-drivers feature
+# only presently. If other drivers support it in the future, then this can
+# get unmasked
+media-tv/mythtv vdpau
+
+# Brent Baude <ranger@gentoo.org> (14 Jan 2009)
+# # Temporarily masking sql off activerecord
+dev-ruby/activerecord sqlite3
+
+# Brent Baude <ranger@gentoo.org>
+# masking zephyr USE on pidgin
+net-im/pidgin zephyr
+
+=dev-java/ibm-jdk-bin-1.5* -nsplugin
+=dev-java/ibm-jre-bin-1.5* -nsplugin
+=dev-java/ibm-jdk-bin-1.6* -nsplugin
+=dev-java/ibm-jre-bin-1.6* -nsplugin
+
+# Joseph Jezak <josejx@gentoo.org> (28 Jun 2007)
+# Masked Parallel LCD devices for bug #180683
+# app-misc/lcd4linux
+app-misc/lcd4linux lcd_devices_hd44780
diff --git a/profiles/arch/powerpc/package.use.stable.mask b/profiles/arch/powerpc/package.use.stable.mask
new file mode 100644
index 00000000000..d6f6fe131a1
--- /dev/null
+++ b/profiles/arch/powerpc/package.use.stable.mask
@@ -0,0 +1,33 @@
+# 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. Please be extremely
+# careful not to commit atoms that are not valid, as it can cause large-scale
+# breakage, especially if it ends up in the daily snapshot.
+#
+## Example:
+##
+## # Dev E. Loper <developer@gentoo.org> (28 Jun 2012)
+## # Masking foo USE flag until we can get the
+## # foo stuff to work properly again (bug 12345)
+## =media-video/mplayer-0.90_pre5 foo
+## =media-video/mplayer-0.90_pre5-r1 foo
+#
+
+#--- END OF EXAMPLES ---
+
+# Pacho Ramos <pacho@gentoo.org> (15 May 2015)
+# Missing stable
+dev-libs/protobuf python
+
+# Justin Lecher <jlec@gentoo.org> (21 Feb 2015)
+# Needs stable GNOME-3
+net-fs/netatalk tracker
+app-office/homebank ofx
+net-libs/aqbanking ofx
+
+# Michael Palimaka <kensington@gentoo.org> (11 Dec 2014)
+# Dependencies not yet stable
+kde-base/systemsettings kscreen
diff --git a/profiles/arch/powerpc/packages b/profiles/arch/powerpc/packages
new file mode 100644
index 00000000000..0ce1bfafd3b
--- /dev/null
+++ b/profiles/arch/powerpc/packages
@@ -0,0 +1,11 @@
+# Copyright 2005-2008 Gentoo Foundation.
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+*sys-fs/hfsutils
+*sys-fs/hfsplusutils
+
+# Brent Baude <ranger@gentoo.org> (29 Nov 2012)
+# Removing kgcc64 from system packages now that toolchain is biarch
+-*sys-devel/kgcc64
+
diff --git a/profiles/arch/powerpc/parent b/profiles/arch/powerpc/parent
new file mode 100644
index 00000000000..eb001c6e8ab
--- /dev/null
+++ b/profiles/arch/powerpc/parent
@@ -0,0 +1 @@
+../base
diff --git a/profiles/arch/powerpc/ppc32/eapi b/profiles/arch/powerpc/ppc32/eapi
new file mode 100644
index 00000000000..7ed6ff82de6
--- /dev/null
+++ b/profiles/arch/powerpc/ppc32/eapi
@@ -0,0 +1 @@
+5
diff --git a/profiles/arch/powerpc/ppc32/make.defaults b/profiles/arch/powerpc/ppc32/make.defaults
new file mode 100644
index 00000000000..3a155df9e70
--- /dev/null
+++ b/profiles/arch/powerpc/ppc32/make.defaults
@@ -0,0 +1,38 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+# All extra USE/etc should be specified in sub-profiles.
+# DO NOT POLLUTE USE ON THIS PROFILE.
+
+ARCH="ppc"
+ACCEPT_KEYWORDS="ppc"
+
+CHOST="powerpc-unknown-linux-gnu"
+CFLAGS="-O2 -pipe"
+CXXFLAGS="${CFLAGS}"
+FFLAGS="${CFLAGS}"
+FCFLAGS="${CFLAGS}"
+
+# 2006/08/18 - Donnie Berkholz <dberkholz@gentoo.org>
+# Defaults for video drivers
+VIDEO_CARDS="fbdev glint mach64 mga nv r128 radeon savage tdfx trident voodoo"
+
+# 2006/12/06 - Diego Pettenò <flameeyes@gentoo.org>
+# Defaults for PowerPC sound driver
+ALSA_CARDS="aoa aoa-fabric-layout aoa-onyx aoa-soundbus aoa-soundbus-i2s aoa-tas aoa-toonie powermac usb-audio via82xx"
+
+# Michał Górny <mgorny@gentoo.org> (27 Jun 2014)
+# Multilib-related setup for compatibility with future multilib.
+ABI="ppc"
+DEFAULT_ABI="ppc"
+MULTILIB_ABIS="ppc"
+CHOST_ppc=${CHOST}
+LIBDIR_ppc="lib"
+
+# Michał Górny <mgorny@gentoo.org> (27 Jun 2014)
+# Make the ABI flag implicit for compatibility with native ebuilds.
+IUSE_IMPLICIT="abi_ppc_32"
+
+# Enable abi_ppc_32 for packages that don't have it forced.
+ABI_PPC="32"
diff --git a/profiles/arch/powerpc/ppc32/package.mask b/profiles/arch/powerpc/ppc32/package.mask
new file mode 100644
index 00000000000..6043f6d55ee
--- /dev/null
+++ b/profiles/arch/powerpc/ppc32/package.mask
@@ -0,0 +1,49 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+# Ben de Groot <yngwin@gentoo.org> (01 Feb 2015)
+# Qt5 mask, pending keywording. Remember unmasking qt5 in use.mask as well.
+>=dev-qt/assistant-5.4.0
+>=dev-qt/designer-5.4.0
+>=dev-qt/linguist-5.4.0
+>=dev-qt/linguist-tools-5.4.0
+>=dev-qt/pixeltool-5.4.0
+>=dev-qt/qdbus-5.4.0
+>=dev-qt/qdbusviewer-5.4.0
+>=dev-qt/qdoc-5.4.0
+>=dev-qt/qtconcurrent-5.4.0
+>=dev-qt/qtcore-5.4.0
+>=dev-qt/qtdbus-5.4.0
+>=dev-qt/qtdeclarative-5.4.0
+>=dev-qt/qtdiag-5.4.0
+>=dev-qt/qtgraphicaleffects-5.4.0
+>=dev-qt/qtgui-5.4.0
+>=dev-qt/qthelp-5.4.0
+>=dev-qt/qtimageformats-5.4.0
+>=dev-qt/qtmultimedia-5.4.0
+>=dev-qt/qtnetwork-5.4.0
+>=dev-qt/qtopengl-5.4.0
+>=dev-qt/qtpaths-5.4.0
+>=dev-qt/qtpositioning-5.4.0
+>=dev-qt/qtprintsupport-5.4.0
+>=dev-qt/qtquick1-5.4.0
+>=dev-qt/qtquickcontrols-5.4.0
+>=dev-qt/qtscript-5.4.0
+>=dev-qt/qtsensors-5.4.0
+>=dev-qt/qtserialport-5.4.0
+>=dev-qt/qtsql-5.4.0
+>=dev-qt/qtsvg-5.4.0
+>=dev-qt/qttest-5.4.0
+>=dev-qt/qttranslations-5.4.0
+>=dev-qt/qtwayland-5.4.0
+>=dev-qt/qtwebkit-5.4.0
+>=dev-qt/qtwebsockets-5.4.0
+>=dev-qt/qtwidgets-5.4.0
+>=dev-qt/qtx11extras-5.4.0
+>=dev-qt/qtxml-5.4.0
+>=dev-qt/qtxmlpatterns-5.4.0
+>=dev-qt/qt-creator-3.3.0
+=app-text/calibre-2*
+>=sci-astronomy/stellarium-0.13
+>=x11-misc/sddm-0.10.0
diff --git a/profiles/arch/powerpc/ppc32/package.use b/profiles/arch/powerpc/ppc32/package.use
new file mode 100644
index 00000000000..2c387908f2a
--- /dev/null
+++ b/profiles/arch/powerpc/ppc32/package.use
@@ -0,0 +1,7 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+# Ben de Groot <yngwin@gentoo.org> (03 May 2015)
+# Enable luajit (for OSC) by default
+media-video/mpv lua luajit
diff --git a/profiles/arch/powerpc/ppc32/package.use.mask b/profiles/arch/powerpc/ppc32/package.use.mask
new file mode 100644
index 00000000000..824d4a7c0cf
--- /dev/null
+++ b/profiles/arch/powerpc/ppc32/package.use.mask
@@ -0,0 +1,56 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+# This file requires >=portage-2.1.1
+
+# Ben de Groot <yngwin@gentoo.org> (20 Jul 2015)
+# missing keyword
+media-sound/audacity midi
+
+# Pacho Ramos <pacho@gentoo.org> (02 Jun 2015)
+# Missing keywords (02 Jun 2015)
+net-misc/connman openconnect
+
+# Pacho Ramos <pacho@gentoo.org> (15 May 2015)
+# Missing stable
+dev-libs/protobuf python
+
+# Michał Górny <mgorny@gentoo.org> (01 Mar 2015)
+# pidgin-opensteamworks is only available for amd64, ppc32 and x86
+net-im/telepathy-connection-managers -steam
+
+# Pacho Ramos <pacho@gentoo.org> (14 Jan 2015)
+# Missing keywords
+app-misc/workrave mate
+
+# Patrick Lauer <patrick@gentoo.org> (13 Jan 2015)
+# Dependencies lack keywords
+games-fps/lsdldoom shareware
+
+# Julian Ospald <hasufell@gentoo.org> (23 Nov 2013)
+# FIXME: app-arch/innoextract not available under ppc yet
+games-fps/duke3d-data gog
+
+# Alexandre Rostovtsev <tetromino@gentoo.org> (30 Dec 2012)
+# mono works on this arch (masked in base)
+gnome-extra/zeitgeist-datasources -tomboy
+
+# ranger <ranger@gentoo.org> (17 apr 2012)
+# Remasking llvm in mesa
+
+# ranger <ranger@gentoo.org> (17 apr 2012)
+# masking libvirt for cfengine (bug #412253)
+net-misc/cfengine libvirt
+
+# Chí-Thanh Christopher Nguyễn <chithanh@gentoo.org> (28 Nov 2010)
+# sys-devel/llvm is keyworded on ppc
+#media-libs/mesa -llvm
+
+# Maciej Mrozowski <reavertm@gentoo.org> (26 Jun 2010)
+# Needs media-libs/simage keyworded, bug 325623
+media-libs/coin simage
+
+#nixnut <nixnut@gentoo.org> (24 jan 2009)
+#don't want zemberek for enchant for ppc32
+app-text/enchant zemberek
diff --git a/profiles/arch/powerpc/ppc32/package.use.stable.mask b/profiles/arch/powerpc/ppc32/package.use.stable.mask
new file mode 100644
index 00000000000..0cb041636a0
--- /dev/null
+++ b/profiles/arch/powerpc/ppc32/package.use.stable.mask
@@ -0,0 +1,38 @@
+# 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. Please be extremely
+# careful not to commit atoms that are not valid, as it can cause large-scale
+# breakage, especially if it ends up in the daily snapshot.
+#
+## Example:
+##
+## # Dev E. Loper <developer@gentoo.org> (28 Jun 2012)
+## # Masking foo USE flag until we can get the
+## # foo stuff to work properly again (bug 12345)
+## =media-video/mplayer-0.90_pre5 foo
+## =media-video/mplayer-0.90_pre5-r1 foo
+#
+
+#--- END OF EXAMPLES ---
+
+# Pacho Ramos <pacho@gentoo.org> (15 May 2015)
+# Missing keywords
+net-misc/connman l2tp openconnect
+sci-libs/plplot ada ocaml
+
+# Pacho Ramos <pacho@gentoo.org> (02 Jul 2014)
+# Mask due Gnome3 not going to be stabilized on this arch
+app-misc/gramps webkit
+dev-java/swt webkit
+dev-libs/libpeas seed
+dev-util/geany-plugins devhelp markdown webkit
+>=gnome-base/gnome-desktop-2.32.1-r2 license-docs
+mail-client/balsa webkit
+media-gfx/gimp webkit
+>=net-libs/webkit-gtk-2.4 geoloc
+net-libs/libproxy webkit
+>=x11-libs/gtk+-3.12.2 cloudprint
+x11-libs/gksu gnome
diff --git a/profiles/arch/powerpc/ppc32/parent b/profiles/arch/powerpc/ppc32/parent
new file mode 100644
index 00000000000..f3229c5b987
--- /dev/null
+++ b/profiles/arch/powerpc/ppc32/parent
@@ -0,0 +1 @@
+..
diff --git a/profiles/arch/powerpc/ppc32/use.force b/profiles/arch/powerpc/ppc32/use.force
new file mode 100644
index 00000000000..5da3746141a
--- /dev/null
+++ b/profiles/arch/powerpc/ppc32/use.force
@@ -0,0 +1,5 @@
+# Force the flag which corresponds to ARCH.
+ppc
+
+# Force the flag corresponding to the only ABI.
+abi_ppc_32
diff --git a/profiles/arch/powerpc/ppc32/use.mask b/profiles/arch/powerpc/ppc32/use.mask
new file mode 100644
index 00000000000..6394c21ce85
--- /dev/null
+++ b/profiles/arch/powerpc/ppc32/use.mask
@@ -0,0 +1,20 @@
+# Unmask the flag which corresponds to ARCH.
+-ppc
+
+# Ben de Groot <yngwin@gentoo.org> (01 Feb 2015)
+# please remove when keyworded
+qt5
+
+# Michał Górny <mgorny@gentoo.org> (27 Jun 2014)
+# Unmask multilib flag for the ABI.
+-abi_ppc_32
+
+# Andrey Grozin <grozin@gentoo.org> (25 Jun 2014)
+# keyworded on ppc
+-clisp
+-ecls
+-sbcl
+
+# Pacho Ramos <pacho@gentoo.org> (11 Sep 2013)
+# Unmask systemd since it is keyworded here.
+-systemd
diff --git a/profiles/arch/powerpc/ppc32/use.stable.mask b/profiles/arch/powerpc/ppc32/use.stable.mask
new file mode 100644
index 00000000000..ab73cb222f1
--- /dev/null
+++ b/profiles/arch/powerpc/ppc32/use.stable.mask
@@ -0,0 +1,9 @@
+# Andrey Grozin <grozin@gentoo.org> (25 Jun 2014)
+# no stable versions on ppc
+clisp
+ecls
+sbcl
+
+# Chí-Thanh Christopher Nguyễn (25 Mar 2014)
+# appears to not work correctly since mesa-10
+opencl
diff --git a/profiles/arch/powerpc/ppc64/32ul/eapi b/profiles/arch/powerpc/ppc64/32ul/eapi
new file mode 100644
index 00000000000..7ed6ff82de6
--- /dev/null
+++ b/profiles/arch/powerpc/ppc64/32ul/eapi
@@ -0,0 +1 @@
+5
diff --git a/profiles/arch/powerpc/ppc64/32ul/make.defaults b/profiles/arch/powerpc/ppc64/32ul/make.defaults
new file mode 100644
index 00000000000..b49d80c8828
--- /dev/null
+++ b/profiles/arch/powerpc/ppc64/32ul/make.defaults
@@ -0,0 +1,17 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+# All extra USE/etc should be specified in sub-profiles.
+# DO NOT POLLUTE USE ON THIS PROFILE.
+
+ARCH="ppc"
+CHOST="powerpc-unknown-linux-gnu"
+ABI="ppc"
+MULTILIB_ABIS="ppc"
+DEFAULT_ABI="ppc"
+ACCEPT_KEYWORDS="${ARCH} -ppc64"
+
+# Michał Górny <mgorny@gentoo.org> (27 Jun 2014)
+# Make the ABI flag implicit for compatibility with native ebuilds.
+IUSE_IMPLICIT="abi_ppc_32 -abi_ppc_64"
diff --git a/profiles/arch/powerpc/ppc64/32ul/package.mask b/profiles/arch/powerpc/ppc64/32ul/package.mask
new file mode 100644
index 00000000000..df9d252f46c
--- /dev/null
+++ b/profiles/arch/powerpc/ppc64/32ul/package.mask
@@ -0,0 +1,3 @@
+# Copyright 2012-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
diff --git a/profiles/arch/powerpc/ppc64/32ul/package.use.mask b/profiles/arch/powerpc/ppc64/32ul/package.use.mask
new file mode 100644
index 00000000000..6b924cb704f
--- /dev/null
+++ b/profiles/arch/powerpc/ppc64/32ul/package.use.mask
@@ -0,0 +1,6 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+# The appropriate dependencies are already keyworded for 32bit, just not 64bit
+gnome-base/gvfs -bluetooth
diff --git a/profiles/arch/powerpc/ppc64/32ul/packages b/profiles/arch/powerpc/ppc64/32ul/packages
new file mode 100644
index 00000000000..41f1a1421e7
--- /dev/null
+++ b/profiles/arch/powerpc/ppc64/32ul/packages
@@ -0,0 +1,6 @@
+# Copyright 2012-2012 Gentoo Foundation.
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+# This is no longer needed for ppc64-32ul builds
+-*sys-devel/kgcc64
diff --git a/profiles/arch/powerpc/ppc64/32ul/parent b/profiles/arch/powerpc/ppc64/32ul/parent
new file mode 100644
index 00000000000..feb40253cb2
--- /dev/null
+++ b/profiles/arch/powerpc/ppc64/32ul/parent
@@ -0,0 +1,3 @@
+../../../../features/32bit-userland
+..
+../../ppc32
diff --git a/profiles/arch/powerpc/ppc64/32ul/use.force b/profiles/arch/powerpc/ppc64/32ul/use.force
new file mode 100644
index 00000000000..2516d63d66d
--- /dev/null
+++ b/profiles/arch/powerpc/ppc64/32ul/use.force
@@ -0,0 +1,10 @@
+# Force the flag which corresponds to ARCH.
+ppc
+
+# Unforce the flag which corresponds to the 64-bit ARCH.
+-ppc64
+
+# Michał Górny <mgorny@gentoo.org> (27 Jun 2014)
+# Switch multilib flags for the ABI.
+-abi_ppc_64
+abi_ppc_32
diff --git a/profiles/arch/powerpc/ppc64/32ul/use.mask b/profiles/arch/powerpc/ppc64/32ul/use.mask
new file mode 100644
index 00000000000..e39345da96c
--- /dev/null
+++ b/profiles/arch/powerpc/ppc64/32ul/use.mask
@@ -0,0 +1,13 @@
+# Unmask the flag which corresponds to ARCH.
+-ppc
+
+# Mask the flag which corresponds to the 64-bit ARCH.
+ppc64
+
+# We mask this since we're not really a multilib profile
+multilib
+
+# Michał Górny <mgorny@gentoo.org> (27 Jun 2014)
+# Switch multilib flags for the ABI.
+abi_ppc_64
+-abi_ppc_32
diff --git a/profiles/arch/powerpc/ppc64/64ul/eapi b/profiles/arch/powerpc/ppc64/64ul/eapi
new file mode 100644
index 00000000000..7ed6ff82de6
--- /dev/null
+++ b/profiles/arch/powerpc/ppc64/64ul/eapi
@@ -0,0 +1 @@
+5
diff --git a/profiles/arch/powerpc/ppc64/64ul/make.defaults b/profiles/arch/powerpc/ppc64/64ul/make.defaults
new file mode 100644
index 00000000000..d740c6b24d3
--- /dev/null
+++ b/profiles/arch/powerpc/ppc64/64ul/make.defaults
@@ -0,0 +1,11 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+# All extra USE/etc should be specified in sub-profiles.
+# DO NOT POLLUTE USE ON THIS PROFILE.
+
+MULTILIB_ABIS="ppc64"
+
+CFLAGS_ppc64="-m64"
+
diff --git a/profiles/arch/powerpc/ppc64/64ul/package.mask b/profiles/arch/powerpc/ppc64/64ul/package.mask
new file mode 100644
index 00000000000..47520c27682
--- /dev/null
+++ b/profiles/arch/powerpc/ppc64/64ul/package.mask
@@ -0,0 +1,7 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+# <gcc-4 does not compile with >=gcc-4 on ppc64
+sys-libs/libstdc++-v3
+<sys-devel/gcc-4.1
diff --git a/profiles/arch/powerpc/ppc64/64ul/package.use.mask b/profiles/arch/powerpc/ppc64/64ul/package.use.mask
new file mode 100644
index 00000000000..b2a6b3b597b
--- /dev/null
+++ b/profiles/arch/powerpc/ppc64/64ul/package.use.mask
@@ -0,0 +1,31 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+# Agostino Sarubbo <ago@gentoo.org> (31 Jan 2012)
+# Mask because requires a lot of unstable depends not ready for the stabilization
+gnome-extra/nm-applet bluetooth
+
+# Joseph Jezak <josejx@gentoo.org> (18 May 2012)
+# Mask the C# bindings for KDE
+kde-base/kdebindings-meta csharp
+
+# Patrick McLean <chutzpah@gentoo.org> (08 Nov 2011)
+# mask conntrack USE flag for dnsmasq as dep is not keyworded
+net-dns/dnsmasq conntrack
+
+# Brent Baude <ranger@gentoo.org> (06 Jan 2010)
+# masking toolame for mplayer bug 280281
+media-video/mplayer toolame
+
+# Brent Baude <ranger@gentoo.org> (31 Dec 2009)
+# Masking for bug 274847
+app-admin/conky apcupsd
+
+# Brent Baude <ranger@gentoo.org> (6 Feb 2009)
+# Masking solver/ocaml USE from kalzium to fix tree borkage
+kde-apps/kalzium solver
+
+# Brent Baude <ranger@gentoo.org> (28 January 2009)
+# Masking zemberek for enchant
+app-text/enchant zemberek
diff --git a/profiles/arch/powerpc/ppc64/64ul/parent b/profiles/arch/powerpc/ppc64/64ul/parent
new file mode 100644
index 00000000000..00012cfe73e
--- /dev/null
+++ b/profiles/arch/powerpc/ppc64/64ul/parent
@@ -0,0 +1,2 @@
+../../../../features/64bit-native
+..
diff --git a/profiles/arch/powerpc/ppc64/64ul/use.mask b/profiles/arch/powerpc/ppc64/64ul/use.mask
new file mode 100644
index 00000000000..5eed49c230d
--- /dev/null
+++ b/profiles/arch/powerpc/ppc64/64ul/use.mask
@@ -0,0 +1,95 @@
+# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
+# $Id$
+
+# Anthony G. Basile <blueness@gentoo.org> (01 Aug 2015)
+# There is no luajit support on ppc64 userland. Bug #554376.
+luajittex
+
+# Jeroen Roovers <jer@gentoo.org> (10 May 2015)
+# virtual/opencl requires media-libs/mesa[opencl] (bug #549096)
+opencl
+
+# this is a list of USE flags that should not be used on PPC64
+# Tom Gall <tgall@gentoo.org> manages this list
+directfb
+krb4
+
+# Agostino Sarubbo <ago@gentoo.org> (22 Dec 2012)
+# mask kde since is not anymore keyworded for ppc64
+kde
+
+# Kacper Kowalik <xarthisius@gentoo.org> (10 Aug 2011)
+# Masking frei0r wrt bug #365451
+frei0r
+
+pda
+prelude
+mzscheme
+chasen
+mono
+beagle
+networkmanager
+ocamlopt
+
+# not tested on ppc64
+celt
+capi
+xmms2
+
+# dietlibc
+diet
+
+#pyste has untested/unkeyworded deps on ppc64
+pyste
+
+# we don't have hardware to test. also see bug #113398
+dvb
+
+# 2006/03/20 - Donnie Berkholz <dberkholz@gentoo.org>
+# Modular X: mask for architectures on which they aren't available
+video_cards_chips
+video_cards_cirrus
+video_cards_glint
+video_cards_newport
+video_cards_s3
+video_cards_s3virge
+video_cards_savage
+video_cards_tdfx
+video_cards_trident
+video_cards_voodoo
+# llvm is not keyworded
+video_cards_radeonsi
+
+#until netbeans is keyworded
+netbeans
+
+#build is busted
+pike
+
+# mask pcmcia (bug #131306)
+pcmcia
+
+# conky dependencies missing keywords related (dragonheart -20061112)
+# media-sound/mpd
+mpd
+# app-admin/hddtemp
+hddtemp
+
+# mask pbbuttonsd - reported by Mr Bones, ok'd by dostrow
+pbbuttonsd
+
+# Unmask this here, since only ppc64 can use it
+-ibm
+
+# Masking here so sys-fs/evms quits complaining
+hb
+hb2
+
+# USE=audit masked prior to testing on alpha, arm, hppa, ppc64, s390, sh.
+# Bug #184563, 18 Sep 2007
+# Robin H. Johnson <robbat2@gentoo.org>
+audit
+
+# unregisterised ghc arch for now.
+# no ghci - no TH
+template_haskell
diff --git a/profiles/arch/powerpc/ppc64/eapi b/profiles/arch/powerpc/ppc64/eapi
new file mode 100644
index 00000000000..7ed6ff82de6
--- /dev/null
+++ b/profiles/arch/powerpc/ppc64/eapi
@@ -0,0 +1 @@
+5
diff --git a/profiles/arch/powerpc/ppc64/make.defaults b/profiles/arch/powerpc/ppc64/make.defaults
new file mode 100644
index 00000000000..967a2a5a697
--- /dev/null
+++ b/profiles/arch/powerpc/ppc64/make.defaults
@@ -0,0 +1,42 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+# All extra USE/etc should be specified in sub-profiles.
+# DO NOT POLLUTE USE ON THIS PROFILE.
+
+ARCH="ppc64"
+ACCEPT_KEYWORDS="${ARCH}"
+
+CHOST="powerpc64-unknown-linux-gnu"
+CFLAGS="-O2 -pipe"
+CXXFLAGS="${CFLAGS}"
+FFLAGS="${CFLAGS}"
+FCFLAGS="${CFLAGS}"
+
+USE="ibm"
+
+MULTILIB_ABIS="ppc64"
+DEFAULT_ABI="ppc64"
+KERNEL_ABI="ppc64"
+PROFILE_ARCH="ppc64"
+ABI="ppc64"
+
+#CFLAGS_ppc64="-m64"
+LDFLAGS_ppc64="-m elf64ppc"
+CHOST_ppc64="powerpc64-unknown-linux-gnu"
+
+CFLAGS_ppc="-m32"
+LDFLAGS_ppc="-m elf32ppc"
+CHOST_ppc="powerpc-unknown-linux-gnu"
+
+# Michał Górny <mgorny@gentoo.org> (27 Jun 2014)
+# Make the ABI flag implicit for compatibility with native ebuilds.
+IUSE_IMPLICIT="abi_ppc_64"
+
+# 2006/08/18 - Donnie Berkholz <dberkholz@gentoo.org>
+# Defaults for video drivers
+VIDEO_CARDS="fbdev mach64 mga nv r128 radeon vesa"
+
+# Enable abi_ppc_64 for packages that don't have it forced.
+ABI_PPC="64"
diff --git a/profiles/arch/powerpc/ppc64/package.use b/profiles/arch/powerpc/ppc64/package.use
new file mode 100644
index 00000000000..1c520e92929
--- /dev/null
+++ b/profiles/arch/powerpc/ppc64/package.use
@@ -0,0 +1,7 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+# Doug Goldstein <cardoe@gentoo.org> (29 Oct 2012)
+# Enable the native arch as the default qemu target
+app-emulation/qemu qemu_softmmu_targets_ppc64
diff --git a/profiles/arch/powerpc/ppc64/package.use.force b/profiles/arch/powerpc/ppc64/package.use.force
new file mode 100644
index 00000000000..a5254e8f36e
--- /dev/null
+++ b/profiles/arch/powerpc/ppc64/package.use.force
@@ -0,0 +1,10 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+# Samuli Suominen <ssuominen@gentoo.org> (30 Oct 2012)
+# Only gnome-base/gdm has stable keywording. If x11-misc/lightdm or kde-base/kdm gets
+# stable keyword, this line can be removed.
+x11-misc/xscreensaver gdm
+
+sys-firmware/seabios binary
diff --git a/profiles/arch/powerpc/ppc64/package.use.mask b/profiles/arch/powerpc/ppc64/package.use.mask
new file mode 100644
index 00000000000..9bce7a0413e
--- /dev/null
+++ b/profiles/arch/powerpc/ppc64/package.use.mask
@@ -0,0 +1,123 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+# Ben de Groot <yngwin@gentoo.org> (20 Jul 2015)
+# missing keywords
+media-sound/audacity midi
+
+# Justin Lecher <jlec@gentoo.org> (16 June 2015)
+# Pending bug upstream, #550818
+=app-office/scribus-1.5.0-r1 osg
+
+# Gilles Dartiguelongue <eva@gentoo.org> (09 Jun 2015)
+# dev-lang/luajit lack ppc64 keyword, bug #551540
+dev-libs/libpeas jit
+
+# James Le Cuirot <chewi@gentoo.org> (21 May 2015)
+# Mask rdeps of icedtea-web to deal with bug #549134. I had hoped to
+# apply the ppc64 keyword today but it segfaulted upon testing.
+dev-java/icedtea nsplugin webstart
+
+# Jeroen Roovers <jer@gentoo.org> (26 Apr 2015)
+# Needs the entire LXDE to be useful (bug #520296)
+xfce-extra/xfce4-power-manager lxpanel
+
+# Matthias Maier <tamiko@gentoo.org> (24 Dec 2014)
+# sys-devel/clang is not keyworded
+app-doc/doxygen clang
+
+# Michael Sterrett <mr_bones_@gentoo.org (12 Nov 2013)
+# Mask openmedia use flag because the content generation tools
+# are missing keywords.
+games-simulation/openttd openmedia
+
+# Michael Palimaka <kensington@gentoo.org> (02 Apr 2013)
+# Requires dev-lang/mono which currently has some issues
+# on ppc64.
+kde-base/kdebindings-meta csharp
+net-libs/libkolabxml csharp
+
+# Sergey Popov <pinkbyte@gentoo.org> (18 Feb 2013)
+# sys-cluster/ploop can not be build on ppc64, bug #447644
+# Masking USE-dep on it
+sys-cluster/vzctl ploop
+
+# Alexandre Rostovtsev <tetromino@gentoo.org> (31 Dec 2012)
+# requires app-office/unoconv, which requires virtual/ooo, which is not
+# keyworded here. Remove mask if this situation changes.
+gnome-extra/sushi office
+
+# Michael Weber <xmw@gentoo.org> (14 Jun 2012)
+# Mask net-misc/networkmanager[wimax] till bug 386121 is resolved
+net-misc/networkmanager wimax
+
+# Kacper Kowalik <xarthisius@gentoo.org> (09 Mar 2012)
+# Mask media-video/ffmpeg[vpx] and media-video/mplayer[vpx]
+# on ppc64 as there is no stable version yet
+media-video/ffmpeg vpx
+
+# Kacper Kowalik <xarthisius@gentoo.org> (02 Sep 2011)
+# Mask www-client/seamonkey[ipc] on ppc64 wrt #381191
+www-client/seamonkey ipc
+
+# Sergei Trofimovich <slyfox@gentoo.org> (03 Aug 2011)
+# sys-devel/llvm has no ppc64 keywords yet (bug #320221)
+dev-lang/ghc llvm
+
+# Kacper Kowalik <xarthisius@gentoo.org> (22 Mar 2011)
+# Mask polkit[kde] wrt #354509
+sys-auth/polkit kde
+
+# Alexey Shvetsov <alexxy@gentoo.org> (26 Jan 2011)
+# Mask gps for marble
+kde-apps/marble gps
+
+# Pacho Ramos <pacho@gentoo.org> (08 Jul 2010)
+# Needs app-mobilephone/obex-data-server keyworded, bug 305913
+gnome-base/gvfs bluetooth
+
+# Samuli Suominen <ssuominen@gentoo.org> (21 Jun 2010)
+# These need stable kdelibs-4.
+app-i18n/uim kde
+app-arch/p7zip kde
+dev-vcs/subversion kde
+media-video/vlc kde
+net-libs/libproxy kde
+
+# Tomáš Chvátal <scarabeus@gentoo.org> (06 June 2010)
+# requires more keywording per bug #323003
+kde-base/kde-meta sdk
+
+# Kacper Kowalik <xarthisius@gentoo.org> (30 May 2010)
+# quesoglc is not keyworded
+x11-misc/rss-glx quesoglc
+
+# uses games-board/ggz-gtk-client
+games-strategy/freeciv ggz
+
+# Mark Loeser <halcy0n@gentoo.org> (02 Mar 2010)
+# Mask webkit useflag since dev-python/mako and dev-python/pywebkitgtk are not
+# keyworded
+media-sound/rhythmbox webkit
+
+# Ben de Groot <yngwin@gentoo.org> (15 Jul 2009)
+# Mask dillo useflag as current version is unkeyworded (bug 253083)
+mail-client/claws-mail dillo
+
+# Brent Baude <ranger@gentoo.org> (05 May 2009)
+# Masking webkit from libproxy due to TOC failure on webkit
+# and stupid 64bit toolchain.
+net-libs/libproxy webkit
+
+# Brent Baude <ranger@gentoo.org> (11 June 2008)
+# Masking webkit from gimp do to lame ppc64 toolchain and TOC
+>=media-gfx/gimp-2.6.4 webkit
+
+# Brent Baude <ranger@gentoo.org> (11 June 2008)
+# Masking out passwdqc from pambase since passwdqc
+sys-auth/pambase passwdqc
+
+# Joseph Jezak <josejx@gentoo.org> (12 February 2010)
+# Mask unstable pidgin deps until we can mark them stable (farsight2)
+net-im/pidgin gstreamer
diff --git a/profiles/arch/powerpc/ppc64/package.use.stable.mask b/profiles/arch/powerpc/ppc64/package.use.stable.mask
new file mode 100644
index 00000000000..d806c6692a7
--- /dev/null
+++ b/profiles/arch/powerpc/ppc64/package.use.stable.mask
@@ -0,0 +1,32 @@
+# 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. Please be extremely
+# careful not to commit atoms that are not valid, as it can cause large-scale
+# breakage, especially if it ends up in the daily snapshot.
+#
+## Example:
+##
+## # Dev E. Loper <developer@gentoo.org> (28 Jun 2012)
+## # Masking foo USE flag until we can get the
+## # foo stuff to work properly again (bug 12345)
+## =media-video/mplayer-0.90_pre5 foo
+## =media-video/mplayer-0.90_pre5-r1 foo
+#
+
+#--- END OF EXAMPLES ---
+
+# Davide Pesavento <pesa@gentoo.org> (11 May 2015)
+# dev-qt/qtopenvg not yet stable
+dev-qt/qtdemo openvg
+
+# Pacho Ramos <pacho@gentoo.org> (02 Jul 2014)
+# Mask due Gnome3 not going to be stabilized on this arch
+dev-java/swt webkit
+dev-util/geany-plugins devhelp markdown webkit
+>=gnome-base/gnome-desktop-2.32.1-r2 license-docs
+>=net-libs/webkit-gtk-2.4 geoloc
+>=x11-libs/gtk+-3.12.2 cloudprint
+x11-libs/gksu gnome
diff --git a/profiles/arch/powerpc/ppc64/parent b/profiles/arch/powerpc/ppc64/parent
new file mode 100644
index 00000000000..f3229c5b987
--- /dev/null
+++ b/profiles/arch/powerpc/ppc64/parent
@@ -0,0 +1 @@
+..
diff --git a/profiles/arch/powerpc/ppc64/use.force b/profiles/arch/powerpc/ppc64/use.force
new file mode 100644
index 00000000000..85c8ee8c145
--- /dev/null
+++ b/profiles/arch/powerpc/ppc64/use.force
@@ -0,0 +1,5 @@
+# Force the flag which corresponds to ARCH.
+ppc64
+
+# Force the flag corresponding to the only ABI.
+abi_ppc_64
diff --git a/profiles/arch/powerpc/ppc64/use.mask b/profiles/arch/powerpc/ppc64/use.mask
new file mode 100644
index 00000000000..91c7ba26db5
--- /dev/null
+++ b/profiles/arch/powerpc/ppc64/use.mask
@@ -0,0 +1,36 @@
+### THIS FILE IS ONLY FOR PACKAGES MASKED ON BOTH 64-BIT AND 32-BIT USERLAND!!!
+
+# Michał Górny <mgorny@gentoo.org> (27 Jun 2014)
+# Unmask multilib flag for the ABI.
+-abi_ppc_64
+
+# Samuli Suominen <ssuominen@gentoo.org> (24 Nov 2012)
+# TODO: Keyword and stabilize media-gfx/opencolorio and media-libs/opencv
+colorio
+opencv
+
+# Brent Baude <ranger@gentoo.org> (3 Oct 2008)
+# Masking xindy use flag for ppc64
+xindy
+
+# 01 Oct 2008 Brent Baude <ranger@gentoo.org>
+# # Masking battery USE for bug 238770
+battery
+
+# Unmask the flag which corresponds to ARCH.
+-ppc64
+
+# Unmask the flag for Playstation 3
+-ps3
+
+# Raúl Porcel <armin76@gentoo.org> (11 Aug 2008)
+# Missing keyword on net-wireless/madwifi
+madwifi
+
+# mask custom-cpuopts and cpudetection on ppc64 for mplayer - bug #234629
+custom-cpuopts
+cpudetection
+
+# Michał Górny <mgorny@gentoo.org> (4 May 2013)
+# Unmask systemd since it is keyworded here.
+-systemd
diff --git a/profiles/arch/powerpc/use.mask b/profiles/arch/powerpc/use.mask
new file mode 100644
index 00000000000..7b8cf0dfc1f
--- /dev/null
+++ b/profiles/arch/powerpc/use.mask
@@ -0,0 +1,227 @@
+# PPC Specific use flags
+#
+
+# Jeroen Roovers <jer@gentoo.org> (25 May 2015)
+# PowerPC has no support for this bootloader (bug #550322)
+gnuefi
+
+# Patrick Lauer <patrick@gentoo.org> (28 Apr 2015)
+# dependencies not keyworded yet
+ayatana
+
+# Anthony G. Basile <blueness@gentoo.org> (30 Sep 2014)
+# sys-libs/libseccomp has not been ported to ppc/ppc64, bug #524148
+seccomp
+
+# Anthony G. Basile <blueness@gentoo.org> (10 Jul 2014)
+# codec support x264, bug #516856
+-x264
+
+#Klibc does not work
+klibc
+
+# These flags should only be used for ppc
+-ppcsha1
+-pbbuttonsd
+# Unmask the Altivec instruction set
+-altivec
+
+# Incompatible Use Flags
+#
+# These use-flags are x86/amd64 only, please feel free to make a bug report if
+# this is in error!
+#
+3dfx
+acpi
+avi
+lm_sensors
+rar
+hdf
+fmod
+i8x0
+xvmc
+# cg is only provided by nvidia's binary only cg toolkit
+cg
+# dmi depends on PC BIOSes, we don't have those
+dmi
+# Appears to be x86 only, feel free to remove if you disagree
+nvtv
+#2006/10/11 - corsair - bug #150925
+graphlcd
+lcd_devices_graphlcd
+# Masked vaapi for PowerPC until it works on hardware available to PowerPC users (cell, etc.)
+vaapi
+# Doug Goldstein <cardoe@gentoo.org> (27 Apr 2007)
+# Dell does not ship or sell PPC systems
+dell
+# User Mode Linux isn't supported on ppc yet
+uml
+
+
+### Other flags -- Please put additional maskings below here
+
+# No keyworded versions of openafs
+afs
+
+# Masking mbrola for bug #84322, if a new version is released, remove this
+mbrola
+
+# Keep and eye on firebird and interbase as pair
+interbase
+
+# cardoe@gentoo.org
+# masking ivtv since I got the original support for it
+# but it was never stabled and it appears to have been
+# broken in later releases by an endian issue. I no longer
+# have the hardware to test
+ivtv
+
+# Modular X: unmask for architectures on which they are available
+-input_devices_synaptics
+-input_devices_wacom
+
+# Diego Pettenò <flameeyes@gentoo.org> (6 Dec 2006)
+# Unmask the Apple drivers
+-alsa_cards_aoa
+-alsa_cards_aoa-fabric-layout
+-alsa_cards_aoa-onyx
+-alsa_cards_aoa-soundbus
+-alsa_cards_aoa-soundbus-i2s
+-alsa_cards_aoa-tas
+-alsa_cards_aoa-toonie
+-alsa_cards_powermac
+# Mask ALSA drivers for ISA cards
+alsa_cards_cs4232
+alsa_cards_msnd-pinnacle
+alsa_cards_cs4231-lib
+alsa_cards_adlib
+alsa_cards_ad1816a
+alsa_cards_ad1848
+alsa_cards_als100
+alsa_cards_azt2320
+alsa_cards_cmi8330
+alsa_cards_cs4231
+alsa_cards_cs4236
+alsa_cards_dt019x
+alsa_cards_es968
+alsa_cards_es1688
+alsa_cards_es18xx
+alsa_cards_gusclassic
+alsa_cards_gusextreme
+alsa_cards_gusmax
+alsa_cards_interwave
+alsa_cards_interwave-stb
+alsa_cards_opl3sa2
+alsa_cards_opti92x-ad1848
+alsa_cards_opti92x-cs4231
+alsa_cards_opti93x
+alsa_cards_miro
+alsa_cards_sb8
+alsa_cards_sb16
+alsa_cards_sbawe
+alsa_cards_sb16_csp
+alsa_cards_sgalaxy
+alsa_cards_sscape
+alsa_cards_wavefront
+
+# George Shapovalov <george@gentoo.org> (8 Apr 2007)
+# supported on ppc
+-ada
+
+# Joseph Jezak <josejx@gentoo.org> (28 Jun 2007)
+# Masked Parallel LCD devices for bug #180683
+# app-misc/lcd4linux
+lcd_devices_lph7508
+lcd_devices_m50530
+lcd_devices_noritake
+lcd_devices_routerboard
+# app-misc/lcdproc
+lcd_devices_sed1330
+lcd_devices_sed1520
+lcd_devices_stv5730
+# Both
+lcd_devices_t6963
+
+# Fixes bug #86787
+fusion
+
+# 2006/08/18 - Donnie Berkholz <dberkholz@gentoo.org>
+# Modular X: mask for architectures on which they aren't available
+video_cards_apm
+video_cards_ark
+video_cards_ast
+video_cards_cyrix
+video_cards_i128
+video_cards_i740
+video_cards_intel
+video_cards_neomagic
+video_cards_nsc
+video_cards_rendition
+video_cards_siliconmotion
+video_cards_sis
+video_cards_tga
+video_cards_tseng
+video_cards_vesa
+
+# Matt Turner <mattst88@gentoo.org>
+# Mask more VIDEO_CARDs added with mesa-8.0
+video_cards_i915
+video_cards_i965
+video_cards_ilo
+# vmware wasn't added with mesa-8.0, but it should still be masked
+video_cards_vmware
+
+# Doug Goldstein <cardoe@gentoo.org> (3 Apr 2008)
+# nvidia-drivers specific feature which don't exist for ppc
+opengl-xvmc
+
+# Intel Integrated Primitive (sci-libs/ipp) support
+ipp
+
+# dev-lang/orc doesn't play nice
+schroedinger
+
+# This will need >=media-libs/libgpod-0.8.0 keyworded and stabilized on both ppc/ppc64, bugs 313691 and 325839
+ipod
+ios
+
+# Christian Faulhammer <fauli@gentoo.org> (01 Nov 2010)
+# app-misc/lirc fails to compile on PPC64, see bug 275872 for example
+# Samuli Suominen <ssuominen@gentoo.org> (03 Nov 2010)
+# and it's also masked in arch/powerpc/ppc64/32ul/package.mask
+lirc
+
+# Matt Turner <mattst88@gmail.com> (06 May 2011)
+# media-sound/mumble not keyworded on ppc
+mumble
+
+# Kacper Kowalik <xarthisius@gentoo.org> (26 Jul 2011)
+# ppc keywords were dropped for dev-libs/prelude
+prelude
+
+# Matt Turner <mattst88@gentoo.org) (10 Feb 2012)
+# mask d3d since we don't have wine
+d3d
+
+# Matt Turner <mattst88@gentoo.org) (10 Feb 2012)
+# mask wayland since dev-libs/wayland isn't keyworded
+wayland
+
+# Julian Ospald <hasufell@gentoo.org> (25 Apr 2012)
+# Masked because nvidia-texture-tools is not (tested) for PowerPC
+nvtt
+
+# fdk-aac is already keyworded here
+-fdk
+
+# Samuli Suominen <ssuominen@gentoo.org> (18 Jan 2013)
+# libdlm and cman are not keyworded
+cman
+clvm
+
+# for gnome 3.6 keywording
+-zeitgeist
+
+# Pacho Ramos <pacho@gentoo.org> (08 Jan 2014)
+# Unmask systemd since it is keyworded here.
+-systemd
diff --git a/profiles/arch/powerpc/use.stable.mask b/profiles/arch/powerpc/use.stable.mask
new file mode 100644
index 00000000000..987ea635977
--- /dev/null
+++ b/profiles/arch/powerpc/use.stable.mask
@@ -0,0 +1,23 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+# This file requires eapi 5 or later. New entries go on top.
+# Please use the same syntax as in use.mask
+
+# Pacho Ramos <pacho@gentoo.org> (17 Apr 2014)
+# Dropped stable keywords after the discussion caused by
+# Gnome 3.8/3.10 stabilization on this arch
+colord
+devhelp
+dia
+eds
+epiphany
+evo
+gdm
+gnome-online-accounts
+gnome-shell
+gnumeric
+gusb
+upnp
+upnp-av
diff --git a/profiles/arch/s390/eapi b/profiles/arch/s390/eapi
new file mode 100644
index 00000000000..7ed6ff82de6
--- /dev/null
+++ b/profiles/arch/s390/eapi
@@ -0,0 +1 @@
+5
diff --git a/profiles/arch/s390/make.defaults b/profiles/arch/s390/make.defaults
new file mode 100644
index 00000000000..b70582c1d7f
--- /dev/null
+++ b/profiles/arch/s390/make.defaults
@@ -0,0 +1,31 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+ARCH="s390"
+ACCEPT_KEYWORDS="s390 ~s390"
+
+MULTILIB_ABIS="s390"
+DEFAULT_ABI="s390"
+ABI=${DEFAULT_ABI}
+
+CHOST="s390-ibm-linux-gnu"
+CFLAGS="-O2 -pipe"
+CXXFLAGS="${CFLAGS}"
+FFLAGS="${CFLAGS}"
+FCFLAGS="${CFLAGS}"
+
+INPUT_DEVICES="void"
+VIDEO_CARDS="dummy"
+
+# Michał Górny <mgorny@gentoo.org> (01 Jul 2014)
+# Make the native ABI implicit so that MULTILIB_USEDEP can be satisfied
+# by non-multilib ebuilds when non-native ABIs are disabled.
+IUSE_IMPLICIT="abi_s390_32"
+
+# Enable abi_s390_32 for packages that don't have it forced.
+ABI_S390="32"
+
+# While multilib is available, we don't default it to on.
+BOOTSTRAP_USE="${BOOTSTRAP_USE} -multilib"
+USE="-multilib"
diff --git a/profiles/arch/s390/package.mask b/profiles/arch/s390/package.mask
new file mode 100644
index 00000000000..aefd4e32063
--- /dev/null
+++ b/profiles/arch/s390/package.mask
@@ -0,0 +1,55 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+# Alexis Ballier <aballier@gentoo.org> (27 Jun 2013)
+# TeX Live 2013 mask.
+# kpathsea has to be there because it has config files without /usr/share/texmf
+# and thus will break anything before TeX Live 2013.
+>=dev-libs/kpathsea-6.1.1_p20130530
+>=app-text/texlive-core-2013
+>=dev-tex/luatex-0.74
+>=app-text/texlive-2013
+>=dev-tex/bibtexu-3.71_p20130530
+>=dev-texlive/texlive-fontsextra-2013
+>=dev-texlive/texlive-langother-2013
+>=dev-texlive/texlive-latexrecommended-2013
+>=dev-texlive/texlive-formatsextra-2013
+>=dev-texlive/texlive-games-2013
+>=dev-texlive/texlive-langcyrillic-2013
+>=dev-texlive/texlive-pstricks-2013
+>=dev-texlive/texlive-langportuguese-2013
+>=dev-texlive/texlive-omega-2013
+>=dev-texlive/texlive-langspanish-2013
+>=dev-texlive/texlive-langczechslovak-2013
+>=dev-texlive/texlive-basic-2013
+>=dev-texlive/texlive-langindic-2013
+>=dev-texlive/texlive-langpolish-2013
+>=dev-texlive/texlive-luatex-2013
+>=dev-texlive/texlive-plainextra-2013
+>=dev-texlive/texlive-langafrican-2013
+>=dev-texlive/texlive-fontutils-2013
+>=dev-texlive/texlive-genericextra-2013
+>=dev-texlive/texlive-latexextra-2013
+>=dev-texlive/texlive-latex-2013
+>=dev-texlive/texlive-mathextra-2013
+>=dev-texlive/texlive-langgreek-2013
+>=dev-texlive/texlive-langenglish-2013
+>=dev-texlive/texlive-fontsrecommended-2013
+>=dev-texlive/texlive-science-2013
+>=dev-texlive/texlive-langarabic-2013
+>=dev-texlive/texlive-metapost-2013
+>=dev-texlive/texlive-xetex-2013
+>=dev-texlive/texlive-langgerman-2013
+>=dev-texlive/texlive-music-2013
+>=dev-texlive/texlive-langitalian-2013
+>=dev-texlive/texlive-langcjk-2013
+>=dev-texlive/texlive-langeuropean-2013
+>=dev-texlive/texlive-langfrench-2013
+>=dev-texlive/texlive-bibtexextra-2013
+>=dev-texlive/texlive-humanities-2013
+>=dev-texlive/texlive-context-2013
+>=dev-texlive/texlive-pictures-2013
+>=dev-texlive/texlive-genericrecommended-2013
+>=dev-texlive/texlive-publishers-2013
+
diff --git a/profiles/arch/s390/package.use.force b/profiles/arch/s390/package.use.force
new file mode 100644
index 00000000000..5db5bc85195
--- /dev/null
+++ b/profiles/arch/s390/package.use.force
@@ -0,0 +1,7 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+# Mike Frysinger <vapier@gentoo.org> (16 Mar 2015)
+# Needs dev-lang/luajit tested #499974
+dev-libs/efl oldlua
diff --git a/profiles/arch/s390/package.use.mask b/profiles/arch/s390/package.use.mask
new file mode 100644
index 00000000000..b08bb09b461
--- /dev/null
+++ b/profiles/arch/s390/package.use.mask
@@ -0,0 +1,55 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+# Mike Frysinger <vapier@gentoo.org> (16 Mar 2015)
+# Needs sci-physics/bullet tested #499974
+dev-libs/efl physics
+
+# Sergey Popov <pinkbyte@gentoo.org> (18 Feb 2015)
+# Not tested
+app-portage/layman g-sorcery
+
+# Chí-Thanh Christopher Nguyễn <chithanh@gentoo.org> (16 Sep 2014)
+# Needs libepoxy keywording, bug #510940
+x11-base/xorg-server glamor wayland
+
+# Mikle Kolyada <zlogene@gentoo.org> (11 Jan 2014)
+# too much unkeyworded dependencies (bug #497068)
+dev-vcs/git mediawiki
+
+# Agostino Sarubbo <ago@gentoo.org< (10 Apr 2013)
+# It requires too much unstable dep.
+x11-libs/gtk+ colord
+
+# Justin Lecher <jlec@gentoo.org> (09 Jan 2013)
+# x11-base/xorg-server[xvfb] is not keyworded
+dev-lang/tk test
+
+# Raúl Porcel <armin76@gentoo.org> (05 Nov 2011)
+# jit not supported on s390
+dev-libs/libpcre jit
+
+# Sebastian Pipping <sping@gentoo.org> (22 Feb 2011)
+# No media-sound/lilypond here, yet (bug #356069)
+app-text/asciidoc test
+
+# Mike Frysinger <vapier@gentoo.org> (10 Feb 2011)
+# Waiting for keywording #354309
+net-firewall/iptables netlink
+
+# Raúl Porcel <armin76@gentoo.org> (27 Mar 2008)
+# Needs gtk USE-flag
+net-dns/avahi python
+
+# Masking this so repoman shuts up about paludis
+sys-apps/paludis ruby-bindings
+
+# missing keyword for sys-cluster/openmpi sys-cluster/mpich2
+dev-libs/boost mpi
+
+# Robin H Johnson <robbat2@gentoo.org> (01 Nov 2012)
+# MySQL 5.5 wants systemtap, tcmalloc & jemalloc
+>=dev-db/mysql-5.5 tcmalloc
+>=dev-db/mariadb-5.5 tcmalloc
+>=dev-db/percona-server-5.5 tcmalloc
diff --git a/profiles/arch/s390/packages b/profiles/arch/s390/packages
new file mode 100644
index 00000000000..6c16a3cea14
--- /dev/null
+++ b/profiles/arch/s390/packages
@@ -0,0 +1,3 @@
+*sys-apps/s390-tools
+
+-*sys-apps/hdparm
diff --git a/profiles/arch/s390/parent b/profiles/arch/s390/parent
new file mode 100644
index 00000000000..7663f5297bb
--- /dev/null
+++ b/profiles/arch/s390/parent
@@ -0,0 +1,2 @@
+../../features/multilib
+../base
diff --git a/profiles/arch/s390/s390x/eapi b/profiles/arch/s390/s390x/eapi
new file mode 100644
index 00000000000..7ed6ff82de6
--- /dev/null
+++ b/profiles/arch/s390/s390x/eapi
@@ -0,0 +1 @@
+5
diff --git a/profiles/arch/s390/s390x/make.defaults b/profiles/arch/s390/s390x/make.defaults
new file mode 100644
index 00000000000..60200da7cc6
--- /dev/null
+++ b/profiles/arch/s390/s390x/make.defaults
@@ -0,0 +1,17 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+MULTILIB_ABIS="s390x"
+DEFAULT_ABI="s390x"
+ABI=${DEFAULT_ABI}
+
+CHOST="s390x-ibm-linux-gnu"
+
+# Michał Górny <mgorny@gentoo.org> (01 Jul 2014)
+# Make the native ABI implicit so that MULTILIB_USEDEP can be satisfied
+# by non-multilib ebuilds when non-native ABIs are disabled.
+IUSE_IMPLICIT="abi_s390_64 -abi_s390_32"
+
+# Enable abi_s390_64 for packages that don't have it forced.
+ABI_S390="64"
diff --git a/profiles/arch/s390/s390x/use.force b/profiles/arch/s390/s390x/use.force
new file mode 100644
index 00000000000..99e2f8b66cd
--- /dev/null
+++ b/profiles/arch/s390/s390x/use.force
@@ -0,0 +1,7 @@
+# Copyright 1999-2014 Gentoo Foundation.
+# Distributed under the terms of the GNU General Public License, v2
+# $Id$
+
+# Force the flag corresponding to the only ABI.
+-abi_s390_32
+abi_s390_64
diff --git a/profiles/arch/s390/s390x/use.mask b/profiles/arch/s390/s390x/use.mask
new file mode 100644
index 00000000000..a8533460516
--- /dev/null
+++ b/profiles/arch/s390/s390x/use.mask
@@ -0,0 +1,3 @@
+# Switch ABI flags for this arch.
+abi_s390_32
+-abi_s390_64
diff --git a/profiles/arch/s390/use.force b/profiles/arch/s390/use.force
new file mode 100644
index 00000000000..ed7a0b41381
--- /dev/null
+++ b/profiles/arch/s390/use.force
@@ -0,0 +1,12 @@
+# Copyright 1999-2014 Gentoo Foundation.
+# Distributed under the terms of the GNU General Public License, v2
+# $Id$
+
+# Force the flag which corresponds to ARCH.
+s390
+
+# Force the flag corresponding to the only ABI.
+abi_s390_32
+
+# We do not have multilib by default.
+-multilib
diff --git a/profiles/arch/s390/use.mask b/profiles/arch/s390/use.mask
new file mode 100644
index 00000000000..3687d153fe9
--- /dev/null
+++ b/profiles/arch/s390/use.mask
@@ -0,0 +1,164 @@
+# Unmask the flag which corresponds to ARCH.
+-s390
+
+# Unmask ABI flags for this arch.
+-abi_s390_32
+
+# Stuff we don't want/not tested
+pbins
+chicken
+R
+octave
+xindy
+lyx
+lasi
+kde
+mpi
+fuse
+prolog
+libnl
+autotrace
+lqr
+libproxy
+libvirt
+tokyocabinet
+lpsol
+openexr
+enchant
+fftw
+systemd
+devil
+gts
+clang
+rtmp
+metalink
+lucene
+
+# This file contains a list of useflags that cannot be used on s390.
+bluetooth
+dell
+pcmcia
+cdr
+qt4
+gpm
+3dfx
+acpi
+afs
+alsa
+apm
+directfb
+lirc
+trusted
+voodoo3
+wavelan
+java
+java-internal
+java-external
+hardened
+
+# Needs java
+pdfannotextractor
+
+# not working for now
+mzscheme
+
+# no gnome love yet
+fits
+gconf
+gimp
+gtk
+gtk2
+gtk3
+gnome
+gnome-keyring
+
+# mask wayland since dev-libs/wayland isn't keyworded
+wayland
+
+diet
+m17n-lib
+xemacs
+Xaw3d
+neXt
+motif
+glitz
+mono
+pike
+ocaml
+sdl
+lm_sensors
+wxwindows
+wxwidgets
+
+# Samuli Suominen <ssuominen@gentoo.org> (18 Jan 2013)
+# libdlm and cman are not keyworded
+cman
+clvm
+
+# Many X drivers make no sense on this platform.
+input_devices_acecad
+input_devices_aiptek
+input_devices_elographics
+input_devices_evdev
+input_devices_fpit
+input_devices_hyperpen
+input_devices_joystick
+input_devices_keyboard
+input_devices_mouse
+input_devices_mutouch
+input_devices_penmount
+input_devices_vmmouse
+input_devices_synaptics
+input_devices_tslib
+input_devices_wacom
+video_cards_apm
+video_cards_ark
+video_cards_ast
+video_cards_chips
+video_cards_cirrus
+video_cards_fbdev
+video_cards_geode
+video_cards_glint
+video_cards_i128
+video_cards_i740
+video_cards_i915
+video_cards_i965
+video_cards_ilo
+video_cards_intel
+video_cards_mach64
+video_cards_mga
+video_cards_modesetting
+video_cards_neomagic
+video_cards_newport
+video_cards_nouveau
+video_cards_nv
+video_cards_r100
+video_cards_r128
+video_cards_r200
+video_cards_r300
+video_cards_r600
+video_cards_radeon
+video_cards_radeonsi
+video_cards_rendition
+video_cards_s3
+video_cards_s3virge
+video_cards_savage
+video_cards_siliconmotion
+video_cards_sis
+video_cards_sisusb
+video_cards_tdfx
+video_cards_tga
+video_cards_trident
+video_cards_tseng
+video_cards_v4l
+video_cards_vesa
+
+# Chí-Thanh Christopher Nguyễn <chithanh@gentoo.org> (22 Aug 2013)
+# virtual/opencl is not keyworded
+opencl
+
+# Unmask once sys-libs/libunwind gets ported & keyworded.
+unwind
+
+# sys-libs/libseccomp has not been ported to this arch yet #524148
+seccomp
diff --git a/profiles/arch/sh/eapi b/profiles/arch/sh/eapi
new file mode 100644
index 00000000000..7ed6ff82de6
--- /dev/null
+++ b/profiles/arch/sh/eapi
@@ -0,0 +1 @@
+5
diff --git a/profiles/arch/sh/make.defaults b/profiles/arch/sh/make.defaults
new file mode 100644
index 00000000000..d024264d2e3
--- /dev/null
+++ b/profiles/arch/sh/make.defaults
@@ -0,0 +1,30 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+# Main SuperH profile
+
+ARCH="sh"
+ACCEPT_KEYWORDS="sh ~sh"
+
+CHOST="sh-unknown-linux-gnu"
+CFLAGS="-O2"
+CXXFLAGS="${CFLAGS}"
+FFLAGS="${CFLAGS}"
+FCFLAGS="${CFLAGS}"
+
+# Michał Górny <mgorny@gentoo.org> (01 Jul 2014)
+# Set ABI & DEFAULT_ABI consistently with ${ARCH}, to make ebuild
+# checks simpler.
+ABI="sh"
+DEFAULT_ABI="sh"
+MULTILIB_ABIS="sh"
+CHOST_sh="${CHOST}"
+LIBDIR_sh="lib"
+
+# Jorge Manuel B. S. Vicetto <jmbsvicetto@gentoo.org> (16 Nov 2011)
+# Rename STAGE1_USE to BOOTSTRAP_USE and stack it to the parent value
+# We need to disable ssp.
+BOOTSTRAP_USE="${BOOTSTRAP_USE} nossp"
+
+USE="nossp"
diff --git a/profiles/arch/sh/package.mask b/profiles/arch/sh/package.mask
new file mode 100644
index 00000000000..dc9769efed8
--- /dev/null
+++ b/profiles/arch/sh/package.mask
@@ -0,0 +1,8 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+# Zac Medico <zmedico@gentoo.org> (09 Aug 2011)
+# Bug #377907 - Use package.mask for compatibility with PMS section 5.2.7, and
+# future versions of sys-apps/portage.
+<sys-devel/gcc-3.2
diff --git a/profiles/arch/sh/package.use.force b/profiles/arch/sh/package.use.force
new file mode 100644
index 00000000000..5db5bc85195
--- /dev/null
+++ b/profiles/arch/sh/package.use.force
@@ -0,0 +1,7 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+# Mike Frysinger <vapier@gentoo.org> (16 Mar 2015)
+# Needs dev-lang/luajit tested #499974
+dev-libs/efl oldlua
diff --git a/profiles/arch/sh/package.use.mask b/profiles/arch/sh/package.use.mask
new file mode 100644
index 00000000000..4820a1fc735
--- /dev/null
+++ b/profiles/arch/sh/package.use.mask
@@ -0,0 +1,54 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+# Mike Frysinger <vapier@gentoo.org> (16 Mar 2015)
+# Needs sci-physics/bullet tested #499974
+dev-libs/efl physics
+
+# Brian Evans <grknight@gentoo.org> (03 Jun 2014)
+# unkeworded dependencies (bug #429708)
+>=dev-db/mysql-5.5 jemalloc
+>=dev-db/mariadb-5.5 jemalloc
+
+# Mikle Kolyada <zlogene@gentoo.org> (11 Jan 2014)
+# too much unkeyworded dependencies (bug #497068)
+dev-vcs/git mediawiki
+
+# Raúl Porcel <armin76@gentoo.org> (28 May 2012)
+# Needs x11-misc/lightdm(which also requires some other deps)
+x11-misc/xscreensaver new-login
+
+# Raúl Porcel <armin76@gentoo.org> (05 Nov 2011)
+# jit not supported on sh
+dev-libs/libpcre jit
+
+# Sebastian Pipping <sping@gentoo.org> (22 Feb 2011)
+# No media-sound/lilypond here, yet (bug #356069)
+app-text/asciidoc test
+
+# Raúl Porcel <armin76@gentoo.org> (13 Feb 2011)
+# Fails to build, pending to send a report upstream
+media-libs/mesa gallium
+
+# Alon Bar-Lev <alonbl@gentoo.org> (24 Jan 2007)
+# pkcs11-helper is not keyworded
+net-misc/openvpn pkcs11
+
+# Gilles Dartiguelongue <eva@gentoo.org> (19 Oct 2007)
+# gdm depends on zenity which is not keyworded
+>=gnome-base/gdm-2.20 remote
+
+# Christoph Mende <angelos@gentoo.org> (14 May 2008)
+# media-sound/wavpack is not keyworded
+media-sound/mpd wavpack
+
+# Peter Alfredsen <loki_val@gentoo.org> (20 Jun 2008)
+# cppunit is not keyworded, needed by test. Bug 228559.
+media-libs/taglib test
+
+# missing keyword for sys-cluster/openmpi sys-cluster/mpich2
+dev-libs/boost mpi
+
+# Needs testing and keywording
+media-plugins/gst-plugins-meta aac dv lame pulseaudio taglib vcd vpx wavpack
diff --git a/profiles/arch/sh/parent b/profiles/arch/sh/parent
new file mode 100644
index 00000000000..eb001c6e8ab
--- /dev/null
+++ b/profiles/arch/sh/parent
@@ -0,0 +1 @@
+../base
diff --git a/profiles/arch/sh/use.force b/profiles/arch/sh/use.force
new file mode 100644
index 00000000000..f59d57ad619
--- /dev/null
+++ b/profiles/arch/sh/use.force
@@ -0,0 +1,2 @@
+# Force the flag which corresponds to ARCH.
+sh
diff --git a/profiles/arch/sh/use.mask b/profiles/arch/sh/use.mask
new file mode 100644
index 00000000000..6e2cba847c3
--- /dev/null
+++ b/profiles/arch/sh/use.mask
@@ -0,0 +1,185 @@
+# Unmask the flag which corresponds to ARCH.
+-sh
+
+# Kacper Kowalik <xarthisius@gentoo.org> (9 Aug 2010)
+# cblas-external as virtual/cblas is also masked
+cblas-external
+
+hardened
+
+# Paul de Vrieze <pauldv@gentoo.org>
+# There is no java in this profile (if there is it must be available). Without
+# this repoman will fail on apps like sys-libs/db
+java
+java-internal
+java-external
+pdfannotextractor
+
+# broken upstream, see libavcodec/sh4/idct_sh4.c:#error
+ffmpeg
+
+# No hardware to test
+bluetooth
+dvd
+ios
+
+# Stuff we don't want
+chicken
+fuse
+R
+octave
+tracker
+xindy
+lyx
+mpi
+lasi
+fusion
+lensfun
+fits
+networkmanager
+lpsol
+openexr
+libev
+clang
+
+# Stuff that doesn't make sense on this arch
+3dfx
+dell
+dmi
+laptop
+
+# havent tested yet
+scanner
+gphoto2
+mythtv
+dvb
+qt4
+kde
+diet
+lirc
+afs
+mono
+lm_sensors
+qdbm
+fftw
+netjack
+mzscheme
+beagle
+eds
+pike
+nvtv
+xine
+ocaml
+gimp
+xemacs
+gnomecd
+lapack
+cblas
+webkit
+prolog
+timidity
+fluidsynth
+mms
+sid
+autotrace
+lqr
+musepack
+authdaemond
+v4l
+tokyocabinet
+wildmidi
+webp
+systemd
+soundcloud
+gts
+devil
+rtmp
+metalink
+lucene
+
+# 2006/02/05 - Donnie Berkholz <dberkholz@gentoo.org>
+# Modular X: mask for architectures on which they aren't available
+video_cards_apm
+video_cards_ark
+video_cards_ast
+video_cards_ati
+video_cards_cirrus
+video_cards_chips
+video_cards_cyrix
+video_cards_glint
+video_cards_i128
+video_cards_i740
+video_cards_intel
+video_cards_mach64
+video_cards_mga
+video_cards_neomagic
+video_cards_newport
+video_cards_nouveau
+video_cards_nsc
+video_cards_nv
+video_cards_r128
+video_cards_radeon
+video_cards_rendition
+video_cards_s3
+video_cards_s3virge
+video_cards_savage
+video_cards_siliconmotion
+video_cards_sis
+video_cards_tdfx
+video_cards_tga
+video_cards_trident
+video_cards_tseng
+video_cards_vesa
+video_cards_via
+video_cards_voodoo
+
+# Matt Turner <mattst88@gentoo.org>
+# Mask more VIDEO_CARDs added with mesa-8.0
+video_cards_r100
+video_cards_r200
+video_cards_r300
+video_cards_r600
+video_cards_radeonsi
+video_cards_i915
+video_cards_i965
+video_cards_ilo
+# vmware wasn't added with mesa-8.0, but it should still be masked
+video_cards_vmware
+
+# 2006/03/07 - Donnie Berkholz <dberkholz@gentoo.org>
+# Modular X: mask for architectures lacking direct rendering
+dri
+
+# nspr isnt ported to SuperH which means no seamonkey/firefox/etc...
+nsplugin
+firefox
+nss
+seamonkey
+
+# USE=audit masked prior to testing on alpha, arm, hppa, ppc64, s390, sh.
+# Bug #184563, 18 Sep 2007
+# Robin H. Johnson <robbat2@gentoo.org>
+audit
+
+# Matt Turner <mattst88@gentoo.org) (10 Feb 2012)
+# mask d3d since we don't have wine
+d3d
+
+# Matt Turner <mattst88@gentoo.org) (10 Feb 2012)
+# mask wayland since dev-libs/wayland isn't keyworded
+wayland
+
+# Samuli Suominen <ssuominen@gentoo.org> (18 Jan 2013)
+# libdlm and cman are not keyworded
+cman
+clvm
+
+# Chí-Thanh Christopher Nguyễn <chithanh@gentoo.org> (22 Aug 2013)
+# virtual/opencl is not keyworded
+opencl
+
+# Unmask once sys-libs/libunwind gets keyworded.
+unwind
+
+# sys-libs/libseccomp has not been ported to this arch yet #524148
+seccomp
diff --git a/profiles/arch/sparc-fbsd/eapi b/profiles/arch/sparc-fbsd/eapi
new file mode 100644
index 00000000000..7ed6ff82de6
--- /dev/null
+++ b/profiles/arch/sparc-fbsd/eapi
@@ -0,0 +1 @@
+5
diff --git a/profiles/arch/sparc-fbsd/make.defaults b/profiles/arch/sparc-fbsd/make.defaults
new file mode 100644
index 00000000000..f20d2e374be
--- /dev/null
+++ b/profiles/arch/sparc-fbsd/make.defaults
@@ -0,0 +1,12 @@
+# Copyright 1999-2012 Gentoo Foundation.
+# Distributed under the terms of the GNU General Public License, v2
+# $Id$
+# System-wide defaults for the G/FBSD Portage system
+
+ARCH="sparc-fbsd"
+CFLAGS="-O2 -pipe"
+CXXFLAGS="${CFLAGS}"
+FFLAGS="${CFLAGS}"
+FCFLAGS="${CFLAGS}"
+
+ACCEPT_KEYWORDS="~sparc-fbsd sparc-fbsd"
diff --git a/profiles/arch/sparc-fbsd/package.use.mask b/profiles/arch/sparc-fbsd/package.use.mask
new file mode 100644
index 00000000000..e55c1690e4a
--- /dev/null
+++ b/profiles/arch/sparc-fbsd/package.use.mask
@@ -0,0 +1,5 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+dev-lang/swig ocaml pike
diff --git a/profiles/arch/sparc-fbsd/parent b/profiles/arch/sparc-fbsd/parent
new file mode 100644
index 00000000000..eb001c6e8ab
--- /dev/null
+++ b/profiles/arch/sparc-fbsd/parent
@@ -0,0 +1 @@
+../base
diff --git a/profiles/arch/sparc-fbsd/use.force b/profiles/arch/sparc-fbsd/use.force
new file mode 100644
index 00000000000..0520964ebe4
--- /dev/null
+++ b/profiles/arch/sparc-fbsd/use.force
@@ -0,0 +1,2 @@
+# Force the flag which corresponds to ARCH.
+sparc-fbsd
diff --git a/profiles/arch/sparc-fbsd/use.mask b/profiles/arch/sparc-fbsd/use.mask
new file mode 100644
index 00000000000..a9a6ec1dfad
--- /dev/null
+++ b/profiles/arch/sparc-fbsd/use.mask
@@ -0,0 +1,34 @@
+# Copyright 1999-2013 Gentoo Foundation.
+# Distributed under the terms of the GNU General Public License, v2
+# $Id$
+
+# Unmask the flag which corresponds to ARCH.
+-sparc-fbsd
+
+acpi
+
+# guile fails to build on sparc
+# Even with the patch from FreeBSD Ports it core dumps :/
+guile
+
+# valgrind hasn't been ported to sparc-fbsd yet
+valgrind
+
+# These should work one day
+avahi
+cairo
+dbus
+gnome
+gnome-keyring
+gtk
+mono
+opengl
+php
+qt4
+tk
+xpm
+X
+
+# Ryan Hill <dirtyepic@gentoo.org>
+# Needs sci-mathematics/glpk
+lpsol
diff --git a/profiles/arch/sparc/eapi b/profiles/arch/sparc/eapi
new file mode 100644
index 00000000000..7ed6ff82de6
--- /dev/null
+++ b/profiles/arch/sparc/eapi
@@ -0,0 +1 @@
+5
diff --git a/profiles/arch/sparc/make.defaults b/profiles/arch/sparc/make.defaults
new file mode 100644
index 00000000000..0dcda48a9d4
--- /dev/null
+++ b/profiles/arch/sparc/make.defaults
@@ -0,0 +1,42 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+ARCH="sparc"
+ACCEPT_KEYWORDS="${ARCH}"
+
+# 64bit kernel, 32bit userland
+CHOST="sparc-unknown-linux-gnu"
+PROFILE_ARCH="sparc64"
+
+# We need sparc64 binutils for linux-headers
+CTARGETS_BINUTILS="sparc-unknown-linux-gnu sparc64-unknown-linux-gnu"
+
+# The funky stuffs for handling different kernel compiler than userland compiler
+KERNEL_ABI="sparc64"
+CHOST_sparc64="sparc64-unknown-linux-gnu"
+LDFLAGS_sparc64="-m elf64_sparc"
+
+# Multilib stuff
+MULTILIB_ABIS="sparc32"
+DEFAULT_ABI="sparc32"
+ABI="${DEFAULT_ABI}"
+CFLAGS_sparc32="" # 32 bit is the default, so no need to set it.
+LDFLAGS_sparc32="" # setting it would make gcc use -m32 and -m64 at the same time
+CHOST_sparc32="sparc-unknown-linux-gnu"
+CTARGET_sparc32="sparc-unknown-linux-gnu"
+# do NOT set CFLAGS_sparc64 here it'd break linux-headers for non-multilib
+# profiles
+
+# Compiler flags
+CFLAGS="-O2 -mcpu=ultrasparc -pipe"
+CXXFLAGS=${CFLAGS}
+
+# These are here to override features/32bit-userland's settings. DO NOT REMOVE!
+FEATURES="-multilib-strict"
+MULTILIB_STRICT_DIRS="/lib32 /usr/lib32 /usr/kde/*/lib32 /usr/qt/*/lib32 /usr/X11R6/lib32"
+
+# 2006/10/05 - Gustavo Zacarias <gustavoz@gentoo.org>
+# Defaults for video drivers
+VIDEO_CARDS="fbdev glint mach64 mga r128 radeon sunbw2 suncg14 suncg3 \
+ suncg6 sunffb sunleo tdfx voodoo"
diff --git a/profiles/arch/sparc/package.mask b/profiles/arch/sparc/package.mask
new file mode 100644
index 00000000000..653453080b2
--- /dev/null
+++ b/profiles/arch/sparc/package.mask
@@ -0,0 +1,139 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+# Ben de Groot <yngwin@gentoo.org> (01 Feb 2015)
+# Qt5 mask, pending keywording. Remember unmasking qt5 in use.mask as well.
+>=dev-qt/assistant-5.4.0
+>=dev-qt/designer-5.4.0
+>=dev-qt/linguist-5.4.0
+>=dev-qt/linguist-tools-5.4.0
+>=dev-qt/pixeltool-5.4.0
+>=dev-qt/qdbus-5.4.0
+>=dev-qt/qdbusviewer-5.4.0
+>=dev-qt/qdoc-5.4.0
+>=dev-qt/qtconcurrent-5.4.0
+>=dev-qt/qtcore-5.4.0
+>=dev-qt/qtdbus-5.4.0
+>=dev-qt/qtdeclarative-5.4.0
+>=dev-qt/qtdiag-5.4.0
+>=dev-qt/qtgraphicaleffects-5.4.0
+>=dev-qt/qtgui-5.4.0
+>=dev-qt/qthelp-5.4.0
+>=dev-qt/qtimageformats-5.4.0
+>=dev-qt/qtmultimedia-5.4.0
+>=dev-qt/qtnetwork-5.4.0
+>=dev-qt/qtopengl-5.4.0
+>=dev-qt/qtpaths-5.4.0
+>=dev-qt/qtpositioning-5.4.0
+>=dev-qt/qtprintsupport-5.4.0
+>=dev-qt/qtquick1-5.4.0
+>=dev-qt/qtquickcontrols-5.4.0
+>=dev-qt/qtscript-5.4.0
+>=dev-qt/qtsensors-5.4.0
+>=dev-qt/qtserialport-5.4.0
+>=dev-qt/qtsql-5.4.0
+>=dev-qt/qtsvg-5.4.0
+>=dev-qt/qttest-5.4.0
+>=dev-qt/qttranslations-5.4.0
+>=dev-qt/qtwayland-5.4.0
+>=dev-qt/qtwebkit-5.4.0
+>=dev-qt/qtwebsockets-5.4.0
+>=dev-qt/qtwidgets-5.4.0
+>=dev-qt/qtx11extras-5.4.0
+>=dev-qt/qtxml-5.4.0
+>=dev-qt/qtxmlpatterns-5.4.0
+>=dev-qt/qt-creator-3.3.0
+=app-text/calibre-2*
+>=x11-misc/sddm-0.10.0
+
+# Davide Pesavento <pesa@gentoo.org> (20 Nov 2014)
+# Qt4 multilib ebuilds, masked until dev-qt/qtchooser
+# gets keyworded. See bug 529196.
+>=dev-qt/assistant-4.8.6:4
+>=dev-qt/designer-4.8.6:4
+>=dev-qt/linguist-4.8.6:4
+>=dev-qt/pixeltool-4.8.6:4
+>=dev-qt/qdbusviewer-4.8.6:4
+>=dev-qt/qt3support-4.8.6:4
+>=dev-qt/qtbearer-4.8.6:4
+>=dev-qt/qtcore-4.8.6:4
+>=dev-qt/qtdbus-4.8.6:4
+>=dev-qt/qtdeclarative-4.8.6:4
+>=dev-qt/qtdemo-4.8.6:4
+>=dev-qt/qtgui-4.8.6:4
+>=dev-qt/qthelp-4.8.6:4
+>=dev-qt/qtmultimedia-4.8.6:4
+>=dev-qt/qtopengl-4.8.6:4
+>=dev-qt/qtopenvg-4.8.6:4
+>=dev-qt/qtphonon-4.8.6:4
+>=dev-qt/qtscript-4.8.6:4
+>=dev-qt/qtsql-4.8.6:4
+>=dev-qt/qtsvg-4.8.6:4
+>=dev-qt/qttest-4.8.6:4
+>=dev-qt/qttranslations-4.8.6:4
+>=dev-qt/qtwebkit-4.8.6:4
+>=dev-qt/qtxmlpatterns-4.8.6:4
+
+# Raúl Porcel <armin76@gentoo.org> (17 Nov 2014)
+# Mask sys-devel/kgcc64 since >=gcc-4.4 can build 64bit kernels
+sys-devel/kgcc64
+
+# Julian Ospald <hasufell@gentoo.org> (01 Sep 2014)
+# Needs either hardmasked >=media-video/libav-10 or
+# >=media-video/ffmpeg-2.1.4 which is not keyworded for
+# sparc. Also see bug #521808
+=media-video/mpv-0.4*
+=media-video/mpv-0.5*
+
+# Alexis Ballier <aballier@gentoo.org> (27 Jun 2013)
+# TeX Live 2013 mask.
+# kpathsea has to be there because it has config files without /usr/share/texmf
+# and thus will break anything before TeX Live 2013.
+>=dev-libs/kpathsea-6.1.1_p20130530
+>=app-text/texlive-core-2013
+>=dev-tex/luatex-0.74
+>=app-text/texlive-2013
+>=dev-tex/bibtexu-3.71_p20130530
+>=dev-texlive/texlive-fontsextra-2013
+>=dev-texlive/texlive-langother-2013
+>=dev-texlive/texlive-latexrecommended-2013
+>=dev-texlive/texlive-formatsextra-2013
+>=dev-texlive/texlive-games-2013
+>=dev-texlive/texlive-langcyrillic-2013
+>=dev-texlive/texlive-pstricks-2013
+>=dev-texlive/texlive-langportuguese-2013
+>=dev-texlive/texlive-omega-2013
+>=dev-texlive/texlive-langspanish-2013
+>=dev-texlive/texlive-langczechslovak-2013
+>=dev-texlive/texlive-basic-2013
+>=dev-texlive/texlive-langindic-2013
+>=dev-texlive/texlive-langpolish-2013
+>=dev-texlive/texlive-luatex-2013
+>=dev-texlive/texlive-plainextra-2013
+>=dev-texlive/texlive-langafrican-2013
+>=dev-texlive/texlive-fontutils-2013
+>=dev-texlive/texlive-genericextra-2013
+>=dev-texlive/texlive-latexextra-2013
+>=dev-texlive/texlive-latex-2013
+>=dev-texlive/texlive-mathextra-2013
+>=dev-texlive/texlive-langgreek-2013
+>=dev-texlive/texlive-langenglish-2013
+>=dev-texlive/texlive-fontsrecommended-2013
+>=dev-texlive/texlive-science-2013
+>=dev-texlive/texlive-langarabic-2013
+>=dev-texlive/texlive-metapost-2013
+>=dev-texlive/texlive-xetex-2013
+>=dev-texlive/texlive-langgerman-2013
+>=dev-texlive/texlive-music-2013
+>=dev-texlive/texlive-langitalian-2013
+>=dev-texlive/texlive-langcjk-2013
+>=dev-texlive/texlive-langeuropean-2013
+>=dev-texlive/texlive-langfrench-2013
+>=dev-texlive/texlive-bibtexextra-2013
+>=dev-texlive/texlive-humanities-2013
+>=dev-texlive/texlive-context-2013
+>=dev-texlive/texlive-pictures-2013
+>=dev-texlive/texlive-genericrecommended-2013
+>=dev-texlive/texlive-publishers-2013
+
diff --git a/profiles/arch/sparc/package.use b/profiles/arch/sparc/package.use
new file mode 100644
index 00000000000..bd6f0f67ff8
--- /dev/null
+++ b/profiles/arch/sparc/package.use
@@ -0,0 +1,7 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+# Pacho Ramos <pacho@gentoo.org> (15 Feb 2014)
+# libev isn't supported on this arch, use another default (#499498)
+dev-libs/libverto libevent
diff --git a/profiles/arch/sparc/package.use.force b/profiles/arch/sparc/package.use.force
new file mode 100644
index 00000000000..5db5bc85195
--- /dev/null
+++ b/profiles/arch/sparc/package.use.force
@@ -0,0 +1,7 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+# Mike Frysinger <vapier@gentoo.org> (16 Mar 2015)
+# Needs dev-lang/luajit tested #499974
+dev-libs/efl oldlua
diff --git a/profiles/arch/sparc/package.use.mask b/profiles/arch/sparc/package.use.mask
new file mode 100644
index 00000000000..2c81a64d755
--- /dev/null
+++ b/profiles/arch/sparc/package.use.mask
@@ -0,0 +1,323 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+# Bernard Cafarelli <voyageur@gentoo.org> (06 Aug 2015)
+# Dependencies missing keywords, bug #543604
+sys-devel/llvm ocaml
+
+# Pacho Ramos <pacho@gentoo.org> (13 Jun 2015)
+# Missing keywords, bug #513108
+net-misc/spice-gtk smartcard webdav
+
+# Gilles Dartiguelongue <eva@gentoo.org> (09 Jun 2015)
+# net-fs/libnfs lacks sparc keyword, bug #551576
+gnome-base/gvfs nfs
+
+# Gilles Dartiguelongue <eva@gentoo.org> (09 Jun 2015)
+# dev-lang/luajit and dev-lua/lgi and lack sparc keyword, bug #551540
+dev-libs/libpeas lua jit
+
+# Ben de Groot <yngwin@gentoo.org> (03 May 2015)
+# media-libs/rubberband lacks sparc keyword, bug #548446
+media-video/mpv rubberband
+
+# Mike Frysinger <vapier@gentoo.org> (16 Mar 2015)
+# Needs sci-physics/bullet & media-libs/libsdl2 tested #499974
+dev-libs/efl physics sdl
+media-libs/elementary sdl
+
+# Michał Górny <mgorny@gentoo.org> (08 Mar 2015)
+# Dependency not keyworded on this arch, bug #542570.
+xfce-base/xfce4-settings libinput
+
+# Alexis Ballier <aballier@gentoo.org> (11 Feb 2015)
+# Missing ffmpeg deps, bug #510340
+media-video/ffmpeg x265
+
+# Patrick Lauer <patrick@gentoo.org> (10 Feb 2015)
+# Missing keywords for media-libs/x265
+media-video/libav x265
+
+# Pacho Ramos <pacho@gentoo.org> (10 Jan 2014)
+# Missing keywords
+net-misc/networkmanager teamd
+
+# Gilles Dartiguelongue <eva@gentoo.org> (23 Dec 2014)
+# New dependencies for wayland support in Gnome 3.14
+# See bug #533420.
+media-libs/clutter egl
+x11-wm/mutter kms
+
+# Mark Wright <gienah@gentoo.org> (14-23 Dec 2014, 1 Apr 2015)
+# test dependencies need keywording
+dev-haskell/binary test
+dev-haskell/dlist test
+dev-haskell/haskell-src-exts test
+dev-haskell/text test
+dev-haskell/vector test
+
+# Michał Górny <mgorny@gentoo.org> (30 Oct 2014)
+# Requires non-keyworded >=x11-libs/libxkbcommon-0.4.
+sys-apps/systemd terminal
+sys-apps/systemd xkb
+
+# Pacho Ramos <pacho@gentoo.org> (03 Oct 2014)
+# Missing keywords, bug #524352
+>=app-accessibility/orca-3.12.3 braille
+
+# Chí-Thanh Christopher Nguyễn <chithanh@gentoo.org> (16 Sep 2014)
+# Needs libepoxy keywording, bug #510940
+x11-base/xorg-server glamor wayland
+
+# Maciej Mrozowski <reavertm@gentoo.org> (13 Aug 2014)
+# Missing keywords on dev-libs/protobuf-c (bug 519772)
+>=net-libs/libgadu-1.12.0 gg11
+
+# Christoph Junghans <ottxor@gentoo.org> (21 Jul 2014)
+# Missing keywords on sci-libs/libcerf (bug 517726)
+sci-visualization/gnuplot libcerf
+
+# Maxim Koltsov <maksbotan@gentoo.org> (9 Jul 2014)
+# Missing keywords on dev-python/rst2pdf, bug #515222
+media-video/mpv doc-pdf
+
+# Julian Ospald <hasufell@gentoo.org> (20 Apr 2014)
+# Missing keywords, bug #508226
+media-video/mpv sdl
+
+# Pacho Ramos <pacho@gentoo.org> (12 Apr 2014)
+# Missing keywords, bug #507490
+net-misc/modemmanager mbim
+
+# Pacho Ramos <pacho@gentoo.org> (15 Mar 2014)
+# Missing keywords, bug #504672
+>=net-misc/vinagre-3.10 rdp
+
+# Pacho Ramos <pacho@gentoo.org> (22 Feb 2014)
+# Missing keywords, bug #495250
+>=gnome-base/gnome-extra-apps-3.10 tracker
+
+# Pacho Ramos <pacho@gentoo.org> (10 Feb 2014)
+# Missing keywords, bug #495254
+>=dev-libs/totem-pl-parser-3.10 quvi
+>=media-video/totem-3.10 flash
+
+# Raúl Porcel <armin76@gentoo.org> (1 Feb 2014)
+# Sigbuses
+net-misc/openssh hpn
+
+# Pacho Ramos <pacho@gentoo.org> (19 Jan 2014)
+# Missing keywords, bug #478254
+gnome-base/gnome classic extras
+
+# Pacho Ramos <pacho@gentoo.org> (19 Jan 2014)
+sys-kernel/dracut -dracut_modules_systemd
+
+# Pacho Ramos <pacho@gentoo.org> (02 Dec 2013)
+# Missing keywords, bug #493156
+media-libs/libgphoto2 serial
+
+# Pacho Ramos <pacho@gentoo.org> (28 Nov 2013)
+# Missing keywords, bug #492820
+net-im/telepathy-connection-managers sipe
+
+# Mark Wright <gienah@gentoo.org> (26 Oct 2013)
+# template-haskell not yet available
+dev-haskell/dataenc test
+
+# Tom Wijsman <TomWij@gentoo.org> (16 Oct 2013)
+# Mask luajit on ~media-video/mpv-0.2.0 because it only has amd64 x86 keywords. See bug #488318.
+>=media-video/mpv-0.2.0 luajit
+
+# Chí-Thanh Christopher Nguyễn <chithanh@gentoo.org> (22 Aug 2013)
+# dev-libs/jemalloc is not keyworded
+www-plugins/gnash jemalloc
+
+# Pacho Ramos <pacho@gentoo.org> (20 Jul 2013)
+# Keywords pending, bug #476710
+>=gnome-base/gnome-extra-apps-3.8 games
+
+# Patrick Lauer <patrick@gentoo.org> (17 June 2013)
+# Fix per-arch mask of phonon[zeitgeist] #460140
+media-libs/phonon zeitgeist
+
+# Patrick Lauer <patrick@gentoo.org> (27 May 2013)
+# stable keywords missing on tagpy/coherence
+media-video/totem upnp-av
+media-sound/rhythmbox upnp-av
+
+# Julian Ospald <hasufell@gentoo.org> (31 Mar 2013)
+# depends on mono
+>=net-irc/hexchat-2.9.4-r1 theme-manager
+
+# Alexandre Rostovtsev <tetromino@gentoo.org> (31 Jan 2013)
+# remove mask when net-libs/libqmi is keyworded here
+net-misc/modemmanager qmi qmi-newest
+
+# Alexandre Rostovtsev <tetromino@gentoo.org> (22 Jan 2013)
+# remove mask if/when media-gfx/argyllcms is keywored here.
+x11-misc/colord argyllcms extra-print-profiles
+
+# Alexandre Rostovtsev <tetromino@gentoo.org> (31 Dec 2012)
+# requires firefox, which is not keyworded on sparc
+app-misc/tracker firefox-bookmarks
+
+# Alexandre Rostovtsev <tetromino@gentoo.org> (31 Dec 2012)
+# requires app-office/unoconv, which requires virtual/ooo, which is not
+# keyworded here. Remove mask if this situation changes.
+gnome-extra/sushi office
+
+# Raúl Porcel <armin76@gentoo.org> (30 Dec 2012)
+# Needs testing
+media-libs/phonon gstreamer vlc
+
+# Alexandre Rostovtsev <tetromino@gentoo.org> (27 Dec 2012)
+# remove mask when dev-java/fop is keyworded here
+gnome-extra/libgda reports
+
+# Robin H Johnson <robbat2@gentoo.org> (01 Nov 2012)
+# MySQL 5.5 wants systemtap, tcmalloc & jemalloc
+>=dev-db/mysql-5.5 systemtap tcmalloc jemalloc
+>=dev-db/mariadb-5.5 systemtap tcmalloc jemalloc
+>=dev-db/percona-server-5.5 systemtap tcmalloc jemalloc
+
+# Diego Elio Pettenò <flameeyes@gentoo.org> (24 Jun 2012)
+# Requires libpcre with jit
+www-apache/mod_security jit
+
+# Ben de Groot <yngwin@gentoo.org> (14 Jun 2012)
+# Since dev-qt/qt* will no longer be available for sparc, we need
+# to mask the reverse dependencies
+dev-cpp/eigen examples
+dev-tex/latex-beamer lyx
+media-sound/pulseaudio equalizer
+media-video/vlc skins
+
+# Raúl Porcel <armin76@gentoo.org> (28 May 2012)
+# Needs x11-misc/lightdm(which also requires some other deps)
+x11-misc/xscreensaver new-login
+
+# Alexandre Rostovtsev <tetromino@gentoo.org> (25 May 2012)
+# Remove mask entry when app-misc/geoclue and app-accessibility/at-spi2-core
+# are keyworded here, bug #411761
+net-libs/webkit-gtk webkit2
+
+# Pacho Ramos <pacho@gentoo.org> (07 May 2012)
+# libhid is not keyworded
+app-misc/lcdproc hid
+
+# Alexandre Rostovtsev <tetromino@gentoo.org> (12 Apr 2012)
+# Temporary mask-in-base, unmask-in-arch for dev-python/mako keywording for
+# gobject-introspection[doctool], bug #411761
+dev-libs/gobject-introspection -doctool
+
+# Alexandre Rostovtsev <tetromino@gentoo.org> (12 Apr 2012)
+# Requires gnutls[pkcs11], which is use.masked on sparc
+net-libs/glib-networking smartcard
+
+# Alexey Shvetsov <alexxy@gentoo.org> (17 Dec 2011)
+# Mask use numa for openmpi
+sys-cluster/openmpi openmpi_fabrics_psm openmpi_fabrics_knem openmpi_fabrics_open-mx openmpi_fabrics_ofed openmpi_fabrics_dapl openmpi_rm_slurm openmpi_ofed_features_rdmacm
+
+# Alexandre Rostovtsev <tetromino@gentoo.org> (03 Nov 2011)
+# Missing keywords in gst-plugins-faac, bug #389433
+gnome-extra/gnome-media aac
+
+# Raúl Porcel <armin76@gentoo.org> (08 Oct 2011)
+# Needs media-sound/lilypond
+app-text/asciidoc test
+
+# Patrick McLean <chutzpah@gentoo.org> (07 Sep 2011)
+# missing keywords on dependencies
+media-video/x264-encoder ffmpegsource
+
+# Robin H. Johnson <robbat2@gentoo.org> (03 Sep 2011)
+# Remove this for your arch after you keyword dev-utils/google-perftools (bug #381737
+dev-libs/libmemcached tcmalloc
+
+# Alexey Shvetsov <alexxy@gentoo.org> (31 Aug 2011)
+# Mask numa use flag per bug #381313
+sys-apps/hwloc numa
+sys-cluster/openmpi numa
+
+# Sergei Trofimovich <slyfox@gentoo.org> (03 Aug 2011)
+# sys-devel/llvm has no sparc keywords yet (bug #320221)
+dev-lang/ghc llvm
+
+# Patrick Lauer <patrick@gentoo.org> (03 Aug 2011)
+# Missing jre on sparc
+net-analyzer/metasploit gui
+
+# Pacho Ramos <pacho@gentoo.org> (19 Jul 2011)
+# Missing keywords on dependencies
+app-cdr/brasero vcd
+
+# Pacho Ramos <pacho@gentoo.org> (27 Jan 2011)
+# missing keywords on needed plugins
+media-plugins/gst-plugins-meta dts dv libvisual modplug vcd wavpack
+
+# Michael Weber <xmw@gentoo.org> (03 Jan 2011)
+# dev-libs/libev is not keyworded
+www-servers/lighttpd libev
+
+# Raúl Porcel <armin76@gentoo.org> (5 Dec 2010)
+# Mask doc-pdf because of Java dependencies (bug #347259)
+net-analyzer/wireshark doc-pdf
+
+# Justin Lecher <jlec@gentoo.org> (13 Aug 2010)
+# MKL not available on this arch
+media-gfx/povray mkl
+
+# uses games-board/ggz-gtk-client
+games-strategy/freeciv ggz
+
+# Alexey Shvetsov <alexxy@gentoo.org> (09 Feb 2010)
+# need dev-db/virtuoso-* keyworded
+dev-libs/soprano virtuoso
+
+# Alexey Shvetsov <alexxy@gentoo.org> (09 Feb 2010)
+# need sys-auth/polkit keyworded
+app-admin/system-config-printer-common policykit
+
+# Ben de Groot <yngwin@gentoo.org> (16 Jan 2010)
+# qtmultimedia is not keyworded, bug 293671
+dev-python/PyQt4 multimedia
+
+# Ben de Groot <yngwin@gentoo.org> (11 Nov 2009)
+# Requires qthelp, which requires qtwebkit, bug 292838
+dev-libs/uriparser doc
+media-libs/libxspf doc
+
+# Romain Perier <mrpouet@gentoo.org> (18 Oct. 2009)
+# >=networkmanager-0.7.0 is not keyworded.
+gnome-base/gnome-applets networkmanager
+
+# Raúl Porcel <armin76@gentoo.org>
+# Depends on dev-java/fop which requires java...
+sci-geosciences/gpsbabel doc
+
+# depends on mpich2 which isn't keyworded (bug #217854)
+sci-libs/hdf5 mpi
+
+# wavgain fails to build
+media-sound/rubyripper wav
+
+# Needs libmodplug
+media-libs/sdl-sound mikmod
+
+# Needs clisp which won't build
+app-text/texlive xindy
+
+# Needs krb4 USE flag for mit-krb5 (Bug #255579), and we believe it to be unstable.
+net-im/pidgin zephyr
+
+# Mask zemberek for enchant because it requires java.
+app-text/enchant zemberek
+
+# Mask srtp for ortp because libsrtp is marked -sparc
+net-libs/ortp srtp
+
+# Ultrabug <ultrabug@gentoo.org) (05 Sept 2011)
+# missing keyword for net-libs/zeromq
+app-admin/rsyslog zeromq
diff --git a/profiles/arch/sparc/package.use.stable.mask b/profiles/arch/sparc/package.use.stable.mask
new file mode 100644
index 00000000000..7ff64bd63f1
--- /dev/null
+++ b/profiles/arch/sparc/package.use.stable.mask
@@ -0,0 +1,34 @@
+# 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. Please be extremely
+# careful not to commit atoms that are not valid, as it can cause large-scale
+# breakage, especially if it ends up in the daily snapshot.
+#
+## Example:
+##
+## # Dev E. Loper <developer@gentoo.org> (28 Jun 2012)
+## # Masking foo USE flag until we can get the
+## # foo stuff to work properly again (bug 12345)
+## =media-video/mplayer-0.90_pre5 foo
+## =media-video/mplayer-0.90_pre5-r1 foo
+#
+
+#--- END OF EXAMPLES ---
+
+# Pacho Ramos <pacho@gentoo.org> (02 Ago 2015)
+# Missing keywords
+dev-libs/protobuf python
+dev-python/pyquery test
+sys-fs/dmraid klibc
+
+# Pacho Ramos <pacho@gentoo.org> (02 Jul 2014)
+# Mask due Gnome3 not going to be stabilized on this arch
+dev-util/geany-plugins devhelp markdown webkit
+>=gnome-base/gnome-desktop-2.32.1-r2 license-docs
+>=net-libs/webkit-gtk-2.4 geoloc
+>=x11-libs/gtk+-3.12.2 cloudprint
+x11-libs/gksu gnome
+x11-wm/icewm gnome
diff --git a/profiles/arch/sparc/packages b/profiles/arch/sparc/packages
new file mode 100644
index 00000000000..f0baca69567
--- /dev/null
+++ b/profiles/arch/sparc/packages
@@ -0,0 +1,8 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+# Top-level sparc profile
+
+# SPARC specific stuff (32 and 64 bit)
+*sys-apps/sparc-utils
diff --git a/profiles/arch/sparc/parent b/profiles/arch/sparc/parent
new file mode 100644
index 00000000000..eb001c6e8ab
--- /dev/null
+++ b/profiles/arch/sparc/parent
@@ -0,0 +1 @@
+../base
diff --git a/profiles/arch/sparc/use.force b/profiles/arch/sparc/use.force
new file mode 100644
index 00000000000..f95aef4e176
--- /dev/null
+++ b/profiles/arch/sparc/use.force
@@ -0,0 +1,2 @@
+# Force the flag which corresponds to ARCH.
+sparc
diff --git a/profiles/arch/sparc/use.mask b/profiles/arch/sparc/use.mask
new file mode 100644
index 00000000000..0c5bf8d6303
--- /dev/null
+++ b/profiles/arch/sparc/use.mask
@@ -0,0 +1,359 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License, v2
+# $Id$
+
+# Unmask the flag which corresponds to ARCH.
+-sparc
+
+# This file contains a list of useflags that cannot be used on sparc.
+
+# Andrey Grozin <grozin@gentoo.org> (25 Jun 2014)
+# keyworded on sparc
+-ecls
+-sbcl
+
+# Alexandre Rostovtsev <tetromino@gentoo.org> (31 Dec 2012)
+# net-misc/connman is not keyworded, bug 348308
+connman
+
+# Alexandre Rostovtsev <tetromino@gentoo.org> (31 Dec 2012)
+# Not keyworded on sparc
+xine
+
+# Diego Elio Pettenò <flameeyes@gentoo.org> (17 Aug 2012)
+# qstat is not available on sparc, as it is
+nagios-game
+
+# Samuli Suominen <ssuominen@gentoo.org> (07 May 2012)
+# Missing keywording in www-client/firefox wrt #360427,
+# as used by, for example, x11-themes/gtk-engines-qtcurve
+firefox
+mozilla
+thunderbird
+
+# Alexandre Rostovtsev <tetromino@gmail.com> (28 Oct 2011)
+# x11-misc/colord and app-admin/packagekit-base not tested. Bug #387959.
+colord
+packagekit
+
+# Raúl Porcel <armin76@gentoo.org>
+# Stuff that sigbuses
+libburn
+# bug #266193
+srtp
+# bug #290154
+tokyocabinet
+# bug 235685
+webkit
+# bug 359963
+webp
+
+# Gustavo Zacarias <gustavoz@gentoo.org> 14 Feb 2007
+# Mono needs gcc4 and it's not yet stable
+beagle
+galago
+mono
+
+# Gustavo Zacarias <gustavoz@gentoo.org>
+# It doesn't even build
+d
+# Mask krb4, it's generally broken and really not secure see #116471
+krb4
+# LCDproc masks see bug #148072
+lcd_devices_g15
+lcd_devices_graphlcd
+lcd_devices_ula200
+# mzscheme seems somewhat b0rked and we want vim7
+mzscheme
+# Masking hardened, it isn't really supported, see bugs #144126 #78951
+hardened
+# AIO is b0rked for now....
+aio
+romio
+# They're borked
+dar32
+dar64
+
+# 2006/09/05 - Tupone Alfredo <tupone@gentoo.org>
+# doomsday ebuild is not available on this architecture
+doomsday
+
+# Needs java
+pdfannotextractor
+
+# Stuff that won't ever work on sparc
+3dfx
+acpi
+afs
+amd
+apm
+battery
+cpufreq
+dell
+dmi
+ibm
+hyperwave-api
+jfs
+libedit
+nforce2
+pm-utils
+reiser4
+reiserfs
+voodoo3
+xfs
+
+# Need testing
+musepack
+pyste
+topal
+lqr
+epos
+wicd
+indi
+chm
+ebook
+celt
+capi
+lensfun
+jingle
+mod_wsgi
+vaapi
+rtmp
+vpx
+kde
+wildmidi
+barcode
+xmms2
+gme
+aacplus
+soundcloud
+devil
+gts
+clang
+metalink
+tremor
+fdk
+tcmalloc
+jemalloc
+zmq
+
+# No hardware to test
+ifp
+chipcard
+hbci
+ivtv
+laptop
+lm_sensors
+njb
+pkcs11
+openct
+bluetooth
+dmraid
+ipod
+ios
+mtp
+pda
+apcupsd
+bluray
+ups
+gps
+
+# Stuff we don't want
+schroedinger
+ots
+frei0r
+libvirt
+prelude
+redis
+
+# Asterisk use flag masking
+bri
+florz
+resperl
+zaptel
+ukcid
+
+
+# USE-flags from differents origins
+brltty
+cle266
+commercial
+cpufreq
+directfb
+djbfft
+dvb
+freetts
+glitz
+i8x0
+java
+java-internal
+java-external
+lirc
+mpm-peruser
+mythtv
+netbeans
+networkmanager
+nvtv
+pbs
+pcmcia
+rar
+trusted
+uml
+valgrind
+wavelan
+wifi
+wlan
+xvmc
+zoran
+
+# Other masks
+hdf
+hdf5
+pike
+
+# requires a JDK
+mpe-sdk
+
+# This should probably never be touched
+
+# Unmask sparc-only video cards
+-video_cards_sunbw2
+-video_cards_suncg14
+-video_cards_suncg3
+-video_cards_suncg6
+-video_cards_sunffb
+-video_cards_sunleo
+-video_cards_suntcx
+
+# 2006/02/05 - Donnie Berkholz <dberkholz@gentoo.org>
+# Modular X: mask for architectures on which they aren't available
+video_cards_cyrix
+video_cards_nsc
+video_cards_s3
+video_cards_sis
+video_cards_tseng
+video_cards_s3virge
+video_cards_i128
+video_cards_trident
+video_cards_neomagic
+video_cards_cirrus
+video_cards_tga
+video_cards_i740
+video_cards_siliconmotion
+video_cards_ark
+video_cards_rendition
+video_cards_newport
+video_cards_chips
+video_cards_apm
+video_cards_intel
+video_cards_nv
+video_cards_vesa
+video_cards_ast
+video_cards_nouveau
+
+# Matt Turner <mattst88@gentoo.org>
+# Mask more VIDEO_CARDs added with mesa-8.0
+video_cards_i915
+video_cards_i965
+video_cards_ilo
+# vmware wasn't added with mesa-8.0, but it should still be masked
+video_cards_vmware
+# llvm is not keyworded
+video_cards_radeonsi
+
+# Diego Pettenò <flameeyes@gentoo.org> (6 Dec 2006)
+# Unmask the Sun-specific drivers
+-alsa_cards_sun-cs4231
+# Mask ALSA drivers for ISA cards
+alsa_cards_cs4232
+alsa_cards_msnd-pinnacle
+alsa_cards_cs4231-lib
+alsa_cards_adlib
+alsa_cards_ad1816a
+alsa_cards_ad1848
+alsa_cards_als100
+alsa_cards_azt2320
+alsa_cards_cmi8330
+alsa_cards_cs4231
+alsa_cards_cs4236
+alsa_cards_dt019x
+alsa_cards_es968
+alsa_cards_es1688
+alsa_cards_es18xx
+alsa_cards_gusclassic
+alsa_cards_gusextreme
+alsa_cards_gusmax
+alsa_cards_hdsp
+alsa_cards_hdspm
+alsa_cards_interwave
+alsa_cards_interwave-stb
+alsa_cards_opl3sa2
+alsa_cards_opti92x-ad1848
+alsa_cards_opti92x-cs4231
+alsa_cards_opti93x
+alsa_cards_miro
+alsa_cards_sb8
+alsa_cards_sb16
+alsa_cards_sbawe
+alsa_cards_sb16_csp
+alsa_cards_sgalaxy
+alsa_cards_sscape
+alsa_cards_wavefront
+
+# Enable H264 with x264
+-x264
+
+# Copied over from default-linux/sparc/sparc64
+-gcc64
+-vis
+
+# Unmask ultra1
+-ultra1
+
+# The default on SPARC is non-multilib
+# if a sub-profile want's it, it can -use.mask it
+multilib
+
+# Ben de Groot <yngwin@gentoo.org> (11 Feb 2009)
+# Both dev-qt/qtphonon and media-sound/phonon are unkeyworded
+phonon
+
+# Matt Turner <mattst88@gentoo.org) (10 Feb 2012)
+# mask d3d since we don't have wine
+d3d
+
+# Matt Turner <mattst88@gentoo.org) (10 Feb 2012)
+# mask wayland since dev-libs/wayland isn't keyworded
+wayland
+
+# Samuli Suominen <ssuominen@gentoo.org> (18 Jan 2013)
+# libdlm and cman are not keyworded
+cman
+clvm
+
+-zeitgeist
+
+# nvidia toolkit for binary drivers
+cg
+
+# Chí-Thanh Christopher Nguyễn <chithanh@gentoo.org> (22 Aug 2013)
+# virtual/opencl is not keyworded
+opencl
+
+# Unmask once sys-libs/libunwind gets ported & keyworded.
+unwind
+
+# Chí-Thanh Christopher Nguyễn <chithanh@gentoo.org> (10 Nov 2013)
+# sys-devel/llvm is not keyworded, bug #320221
+llvm
+
+# Pacho Ramos <pacho@gentoo.org> (19 Jan 2014)
+# Unmask systemd since it is keyworded here.
+-systemd
+
+# sys-libs/libseccomp has not been ported to this arch yet #524148
+seccomp
+
+# Ben de Groot <yngwin@gentoo.org> (01 Feb 2015)
+# please remove when keyworded
+qt5
diff --git a/profiles/arch/sparc/use.stable.mask b/profiles/arch/sparc/use.stable.mask
new file mode 100644
index 00000000000..70ce97dc0a8
--- /dev/null
+++ b/profiles/arch/sparc/use.stable.mask
@@ -0,0 +1,25 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+# This file requires eapi 5 or later. New entries go on top.
+# Please use the same syntax as in use.mask
+
+# Andrey Grozin <grozin@gentoo.org> (25 Jun 2014)
+# no stable version on sparc
+ecls
+sbcl
+
+# Pacho Ramos <pacho@gentoo.org> (17 Apr 2014)
+# Dropped stable keywords after the discussion caused by
+# Gnome 3.8/3.10 stabilization on this arch
+devhelp
+dia
+eds
+gnumeric
+upnp
+upnp-av
+
+# Pacho Ramos <pacho@gentoo.org> (13 Apr 2014)
+# Not going to be stabilized on this arch
+gnome-online-accounts
diff --git a/profiles/arch/x86-fbsd/eapi b/profiles/arch/x86-fbsd/eapi
new file mode 100644
index 00000000000..7ed6ff82de6
--- /dev/null
+++ b/profiles/arch/x86-fbsd/eapi
@@ -0,0 +1 @@
+5
diff --git a/profiles/arch/x86-fbsd/make.defaults b/profiles/arch/x86-fbsd/make.defaults
new file mode 100644
index 00000000000..af424b4e37c
--- /dev/null
+++ b/profiles/arch/x86-fbsd/make.defaults
@@ -0,0 +1,37 @@
+# Copyright 1999-2015 Gentoo Foundation.
+# Distributed under the terms of the GNU General Public License, v2
+# $Id$
+# System-wide defaults for the G/FBSD Portage system
+
+ARCH="x86-fbsd"
+CFLAGS="-march=i486 -O2 -pipe"
+CXXFLAGS="${CFLAGS}"
+FFLAGS="${CFLAGS}"
+FCFLAGS="${CFLAGS}"
+
+ACCEPT_KEYWORDS="x86-fbsd ~x86-fbsd"
+
+# Michał Górny <mgorny@gentoo.org> (20 Jun 2014)
+# Provide values for ABI-related variables that are compatible with
+# multilib amd64, to make consistent ebuild writing easier.
+MULTILIB_ABIS="x86_fbsd"
+DEFAULT_ABI="x86_fbsd"
+ABI="x86_fbsd"
+CHOST_x86_fbsd="${CHOST}"
+LIBDIR_x86_fbsd="lib"
+
+VIDEO_CARDS="apm ark chips cirrus cyrix dummy i128 intel mach64 mga \
+ nv r128 radeon rendition s3 s3virge savage siliconmotion sis \
+ sisusb tga trident tseng via vmware"
+
+# Unhide the CPU_FLAGS_X86 USE_EXPANDs.
+USE_EXPAND_HIDDEN="-CPU_FLAGS_X86"
+
+# Michał Górny <mgorny@gentoo.org> (01 Jul 2014)
+# Default to abi_x86_32 for packages that don't have it forced.
+ABI_X86="32"
+
+# Michał Górny <mgorny@gentoo.org> (01 Jul 2014)
+# Make the native ABI implicit so that MULTILIB_USEDEP can be satisfied
+# by non-multilib ebuilds when non-native ABIs are disabled.
+IUSE_IMPLICIT="abi_x86_32"
diff --git a/profiles/arch/x86-fbsd/package.mask b/profiles/arch/x86-fbsd/package.mask
new file mode 100644
index 00000000000..5264156fff7
--- /dev/null
+++ b/profiles/arch/x86-fbsd/package.mask
@@ -0,0 +1,31 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+# Davide Pesavento <pesa@gentoo.org> (20 Nov 2014)
+# Qt4 multilib ebuilds, masked until dev-qt/qtchooser
+# gets keyworded. See bug 529196.
+>=dev-qt/assistant-4.8.6:4
+>=dev-qt/designer-4.8.6:4
+>=dev-qt/linguist-4.8.6:4
+>=dev-qt/pixeltool-4.8.6:4
+>=dev-qt/qdbusviewer-4.8.6:4
+>=dev-qt/qt3support-4.8.6:4
+>=dev-qt/qtbearer-4.8.6:4
+>=dev-qt/qtcore-4.8.6:4
+>=dev-qt/qtdbus-4.8.6:4
+>=dev-qt/qtdeclarative-4.8.6:4
+>=dev-qt/qtdemo-4.8.6:4
+>=dev-qt/qtgui-4.8.6:4
+>=dev-qt/qthelp-4.8.6:4
+>=dev-qt/qtmultimedia-4.8.6:4
+>=dev-qt/qtopengl-4.8.6:4
+>=dev-qt/qtopenvg-4.8.6:4
+>=dev-qt/qtphonon-4.8.6:4
+>=dev-qt/qtscript-4.8.6:4
+>=dev-qt/qtsql-4.8.6:4
+>=dev-qt/qtsvg-4.8.6:4
+>=dev-qt/qttest-4.8.6:4
+>=dev-qt/qttranslations-4.8.6:4
+>=dev-qt/qtwebkit-4.8.6:4
+>=dev-qt/qtxmlpatterns-4.8.6:4
diff --git a/profiles/arch/x86-fbsd/package.use.mask b/profiles/arch/x86-fbsd/package.use.mask
new file mode 100644
index 00000000000..79f20d5f976
--- /dev/null
+++ b/profiles/arch/x86-fbsd/package.use.mask
@@ -0,0 +1,57 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+# Johannes Huber <johu@gentoo.org> (28 Jan 2015)
+# Missing keyword on dev-libs/botan
+app-crypt/qca botan
+
+# Justin Lecher <jlec@gentoo.org> (18 Mar 2010)
+# Unkeyworded deps
+net-im/gajim kde
+
+# 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
+www-client/epiphany -jit
+
+# Pacho Ramos <pacho@gentoo> (18 Mar 2011)
+# Missing keywords on deps (GNOME related packages)
+dev-libs/totem-pl-parser quvi
+media-plugins/gst-plugins-meta dv dvd musepack vcd vpx wavpack
+
+# Justin Lecher <jlec@gentoo.org> (19 Sep 2010)
+# kde-base/konqueror not keyworded
+app-arch/p7zip kde
+
+# Justin Lecher <jlec@gentoo.org> (12 Sep 2010)
+# net-libs/farsight2 not keyworded
+net-im/gajim jingle
+
+# Justin Lecher <jlec@gentoo.org> (13 Aug 2010)
+# MKL not available on this arch
+media-gfx/povray mkl
+
+# Romain Perier <mrpouet@gentoo.org> (18 Oct. 2009)
+# >=networkmanager-0.7.0 is not keyworded.
+gnome-base/gnome-applets networkmanager
+
+# Java currently uses generation 1
+dev-libs/cyrus-sasl java
+
+# nvidia-driver uses acpid
+x11-drivers/nvidia-drivers acpi
+
+# Gilles Dartiguelongue <eva@gentoo.org> (19 Oct 2007)
+# afs not keyworded
+>=gnome-base/gdm-2.20 afs
+
+# gavl and opencv do not build
+media-plugins/frei0r-plugins scale0tilt facedetect
+
+# needs to rework xanim's ebuild to make it bsd-friendly
+media-video/mplayer xanim
+
+# Dependencies not keyworded, bug #424571
+net-nds/openldap smbkrb5passwd
diff --git a/profiles/arch/x86-fbsd/parent b/profiles/arch/x86-fbsd/parent
new file mode 100644
index 00000000000..eb001c6e8ab
--- /dev/null
+++ b/profiles/arch/x86-fbsd/parent
@@ -0,0 +1 @@
+../base
diff --git a/profiles/arch/x86-fbsd/use.force b/profiles/arch/x86-fbsd/use.force
new file mode 100644
index 00000000000..98c1a17086c
--- /dev/null
+++ b/profiles/arch/x86-fbsd/use.force
@@ -0,0 +1,3 @@
+# Force the flag which corresponds to ARCH.
+x86-fbsd
+abi_x86_32
diff --git a/profiles/arch/x86-fbsd/use.mask b/profiles/arch/x86-fbsd/use.mask
new file mode 100644
index 00000000000..02d5ff8fe7a
--- /dev/null
+++ b/profiles/arch/x86-fbsd/use.mask
@@ -0,0 +1,69 @@
+# Copyright 1999-2015 Gentoo Foundation.
+# Distributed under the terms of the GNU General Public License, v2
+# $Id$
+
+# Unmask the flag which corresponds to ARCH.
+-x86-fbsd
+-abi_x86_32
+
+# Diego Elio Pettenò <flameeyes@gentoo.org> (21 Aug 2012)
+# IPMI is only implemented for x86, amd64 and ia64
+-ipmi
+
+-3dnow
+-3dnowext
+-mmx
+-mmxext
+-sse
+-sse2
+-sse3
+-sse4
+-sse4a
+-ssse3
+-cpu_flags_x86_3dnow
+-cpu_flags_x86_3dnowext
+-cpu_flags_x86_aes
+-cpu_flags_x86_avx
+-cpu_flags_x86_avx2
+-cpu_flags_x86_fma3
+-cpu_flags_x86_fma4
+-cpu_flags_x86_mmx
+-cpu_flags_x86_mmxext
+-cpu_flags_x86_padlock
+-cpu_flags_x86_popcnt
+-cpu_flags_x86_sse
+-cpu_flags_x86_sse2
+-cpu_flags_x86_sse3
+-cpu_flags_x86_sse4_1
+-cpu_flags_x86_sse4_2
+-cpu_flags_x86_sse4a
+-cpu_flags_x86_ssse3
+-cpu_flags_x86_xop
+
+# nvidia drivers works on x86
+-xvmc
+-nvidia
+-video_cards_nvidia
+
+# Unmask vmware drivers
+-video_cards_vmware
+-input_devices_vmmouse
+
+# James Le Cuirot <chewi@gentoo.org> (19 May 2015)
+# icedtea needs testing and gcj isn't supported
+java
+
+# No pulseaudio version is keyworded; unmask when it works
+pulseaudio
+# No portaudio version is keyworded; unmask when it works
+portaudio
+
+# valgrind hasn't been ported to fbsd yet
+valgrind
+
+# libva doesnt build on fbsd for now
+vaapi
+
+# Chí-Thanh Christopher Nguyễn <chithanh@gentoo.org> (22 Aug 2013)
+# virtual/opencl is not keyworded
+opencl
diff --git a/profiles/arch/x86/eapi b/profiles/arch/x86/eapi
new file mode 100644
index 00000000000..7ed6ff82de6
--- /dev/null
+++ b/profiles/arch/x86/eapi
@@ -0,0 +1 @@
+5
diff --git a/profiles/arch/x86/make.defaults b/profiles/arch/x86/make.defaults
new file mode 100644
index 00000000000..02ba7382dda
--- /dev/null
+++ b/profiles/arch/x86/make.defaults
@@ -0,0 +1,45 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+# All extra USE/etc should be specified in sub-profiles.
+# DO NOT POLLUTE USE ON THIS PROFILE.
+
+ARCH="x86"
+ACCEPT_KEYWORDS="x86"
+
+CHOST="i686-pc-linux-gnu"
+CFLAGS="-O2 -march=i686 -pipe"
+CXXFLAGS="${CFLAGS}"
+FFLAGS="${CFLAGS}"
+FCFLAGS="${CFLAGS}"
+
+# Michał Górny <mgorny@gentoo.org> (30 Jan 2015)
+# Unhide the CPU_FLAGS_X86 USE_EXPANDs.
+USE_EXPAND_HIDDEN="-CPU_FLAGS_X86"
+
+# Michał Górny <mgorny@gentoo.org> (20 Jun 2014)
+# Provide values for ABI-related variables that are compatible with
+# multilib amd64, to make consistent ebuild writing easier.
+MULTILIB_ABIS="x86"
+DEFAULT_ABI="x86"
+ABI="x86"
+CHOST_x86="${CHOST}"
+LIBDIR_x86="lib"
+
+# 2006/08/18 - Donnie Berkholz <dberkholz@gentoo.org>
+# Defaults for video drivers
+VIDEO_CARDS="fbdev glint intel mach64 mga nouveau nv r128 radeon savage sis tdfx trident vesa via vmware voodoo"
+
+# 2006/12/21 - Andrej Kacian <ticho@gentoo.org>
+# Defaults for audio drivers
+ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci"
+
+# Michał Górny <mgorny@gentoo.org> (25 Jun 2014)
+# Make the native ABI implicit so that MULTILIB_USEDEP can be satisfied
+# by non-multilib ebuilds when non-native ABIs are disabled.
+IUSE_IMPLICIT="abi_x86_32"
+
+# Michał Górny <mgorny@gentoo.org> (01 Jul 2014)
+# Default to abi_x86_32 for packages that don't have it forced.
+ABI_X86="32"
diff --git a/profiles/arch/x86/package.mask b/profiles/arch/x86/package.mask
new file mode 100644
index 00000000000..ce68ad80890
--- /dev/null
+++ b/profiles/arch/x86/package.mask
@@ -0,0 +1,4 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
diff --git a/profiles/arch/x86/package.use b/profiles/arch/x86/package.use
new file mode 100644
index 00000000000..69418911a1f
--- /dev/null
+++ b/profiles/arch/x86/package.use
@@ -0,0 +1,11 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+# Ben de Groot <yngwin@gentoo.org> (03 May 2015)
+# Enable luajit (for OSC) by default
+media-video/mpv lua luajit
+
+# Doug Goldstein <cardoe@gentoo.org> (29 Oct 2012)
+# Enable the native arch as the default qemu target
+app-emulation/qemu qemu_softmmu_targets_i386
diff --git a/profiles/arch/x86/package.use.force b/profiles/arch/x86/package.use.force
new file mode 100644
index 00000000000..6c658c25ea8
--- /dev/null
+++ b/profiles/arch/x86/package.use.force
@@ -0,0 +1,8 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+# Pawel Hajdan jr <phajdan.jr@gentoo.org> (12 Jun 2014)
+# On x86 Chromium can be built in non-PIC mode, and this
+# flag can affect performance, see http://crbug.com/332109 .
+www-client/chromium -pic
diff --git a/profiles/arch/x86/package.use.mask b/profiles/arch/x86/package.use.mask
new file mode 100644
index 00000000000..e05e800089e
--- /dev/null
+++ b/profiles/arch/x86/package.use.mask
@@ -0,0 +1,255 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+# This file requires >=portage-2.1.1
+
+# James Le Cuirot <chewi@gentoo.org> (28 Jul 2015)
+# JavaFX and the browser plugin are included on x86 Linux.
+dev-java/oracle-jdk-bin -javafx -nsplugin
+dev-java/oracle-jre-bin -javafx -nsplugin
+
+# Gilles Dartiguelongue <eva@gentoo.org> (10 Jun 2015)
+# net-libs/dleyna-connector-dbus lack x86 keyword, bug #551634
+>=media-plugins/grilo-plugins-0.2.14 upnp-av
+
+# Ben de Groot <yngwin@gentoo.org> (15 Mar 2015)
+# media-libs/libbdplus is keyworded on x86, so unmask the useflag
+media-libs/libbluray -bdplus
+
+# Michał Górny <mgorny@gentoo.org> (01 Mar 2015)
+# pidgin-opensteamworks is only available for amd64, ppc32 and x86
+net-im/telepathy-connection-managers -steam
+
+# Andrey Grozin <grozin@gentoo.org> (23 Feb 2015)
+# Does not compile with this flag
+=dev-lisp/ecls-15.2.21 cpu_flags_x86_sse
+
+# Jeroen Roovers <jer@gentoo.org> (31 Jan 2015)
+# >x11-drivers/nvidia-drivers-346 on x86 has no UVM support (bug #534156)
+>x11-drivers/nvidia-drivers-346 uvm
+
+# Pacho Ramos <pacho@gentoo.org> (18 Jan 2015)
+# Missing keywords
+media-plugins/gst-plugins-meta vaapi
+
+# Tim Harder <radhermit@gentoo.org> (11 Oct 2014)
+# Unmask skype support for unstable keywords
+net-im/bitlbee -skype
+
+# Mike Frysinger <vapier@gentoo.org> (04 Aug 2014)
+# Unmask flashrom drivers that only work on x86 due to in/out asm insns #454024
+sys-apps/flashrom -atahpt -nic3com -nicnatsemi -nicrealtek -rayer_spi -satamv
+
+# Yixun Lan <dlan@gentoo.org> (21 May 2014)
+# sys-fs/zfs not keyworded on x86
+sys-cluster/ceph zfs
+
+# Lars Wendler <polynomial-c@gentoo.org (23 Apr 2014)
+# Works on 32bit x86
+media-sound/lmms -vst
+
+# Matt Turner <mattst88@gentoo.org> (07 Mar 2014)
+# media-libs/libomxil-bellagio keyworded on amd64/x86
+media-libs/mesa -openmax
+
+# Samuli Suominen <ssuominen@gentoo.org> (16 Feb 2014)
+# Still considered experimental by upstream:
+# http://sourceforge.net/p/mikmod/bugs/16/#17ea
+media-libs/libmikmod sse2
+media-libs/libmikmod cpu_flags_x86_sse2
+
+# Sergey Popov <pinkbyte@gentoo.org> (27 Dec 2013)
+# Boost.Context can be built on x86
+dev-libs/boost -context
+
+# Christoph Junghans <ottxor@gentoo.org> (08 Sep 2013)
+# restrict USE=quad for x86 as there are too less registers
+sci-libs/fftw quad
+
+# Jeff Horelick <jdhore@gentoo.org> (1 Sep 2013)
+# Dependency (media-libs/libsidplayfp) only keyworded
+# on x86 and amd64. (masked in base)
+>=media-plugins/audacious-plugins-3.4 -sid
+
+# Tim Harder <radhermit@gentoo.org> (13 Aug 2013)
+# dev-lang/luajit keyworded for x86 (masked in base)
+# dev-scheme/racket keyworded for amd64 (masked in base)
+app-editors/vim -luajit -racket
+app-editors/gvim -luajit -racket
+
+# Kacper Kowalik <xarthisius@gentoo.org> (09 Aug 2013)
+# Works on x86
+sys-apps/hwloc -cuda -gl -opencl
+
+# Pacho Ramos <pacho@gentoo.org> (20 Jul 2013)
+# Keywords missing, bug #478104
+>=app-editors/gedit-plugins-3.8.3 git
+
+# Justin Lecher <jlec@gentoo.org> (21 Feb 2013)
+# cuda only works on x86 and amd64
+sci-libs/cholmod -cuda
+sci-libs/flann -cuda
+
+# Alexandre Rostovtsev <tetromino@gentoo.org> (30 Dec 2012)
+# sys-apps/biosdevname, systemd work on this arch (masked in base)
+sys-kernel/dracut -dracut_modules_biosdevname -dracut_modules_systemd
+
+# Alexandre Rostovtsev <tetromino@gentoo.org> (30 Dec 2012)
+# chromium, mono work on this arch (masked in base)
+gnome-extra/zeitgeist-datasources -chromium -tomboy
+
+# Christoph Jungans <ottxor@gentoo.org> (26 Dec 2012)
+# cuda/openmm/mkl works on x86/amd64 (masked in base)
+sci-chemistry/gromacs -cuda -mkl -openmm
+
+# Diego Elio Pettenò <flameeyes@gentoo.org> (3 Nov 2012)
+# Unmask here, as it's masked in base.
+net-libs/gnutls -dane
+
+# Johannes Huber <johu@gentoo.org> (15 Sep 2012)
+# Masked for stabilization as the use flag pulls a dep tree of hell.
+media-libs/phonon zeitgeist
+
+# Ben de Groot <yngwin@gentoo.org> (30 Jul 2012)
+# dependency keyworded here, masked in base
+media-libs/freetype -infinality
+
+# James Le Cuirot <chewi@gentoo.org> (20 May 2015)
+# Masked in base like the above.
+dev-java/icedtea -infinality
+
+# Rick Farina <zerochaos@gentoo.org> (05 July 2012)
+# masked in base, unmask x86/amd64 only
+app-crypt/johntheripper -cuda
+
+# Alexandre Rostovtsev <tetromino@gentoo.org> (12 Apr 2012)
+# Temporary mask-in-base, unmask-in-arch for dev-python/mako keywording for
+# gobject-introspection[doctool], bug #411761
+dev-libs/gobject-introspection -doctool
+
+# Michał Górny <mgorny@gentoo.org> (11 Apr 2012)
+# JIT compilation in libzpaq generates code for x86/amd64.
+app-arch/libzpaq -jit
+
+# Arun Raghavan <ford_prefect@gentoo.org> (29 Mar 2012)
+# webrtc-audio-processing is only supported on x86/amd64. Possibly arm can be
+# added.
+# Arun Raghavan <ford_prefect@gentoo.org> (24 May 2012)
+# Mask xen USE flag by default, unmask on x86/amd64 where it is supported.
+media-sound/pulseaudio -webrtc-aec -xen
+
+# Bernard Cafarelli <voyageur@gentoo.org> (27 Feb 2012)
+# Masked in base profile, supported on this arch
+gnustep-base/gnustep-make -libobjc2
+
+# Doug Goldstein <cardoe@gentoo.org> (17 Jan 2012)
+# The SPICE server is only supported on 64-bit platforms and not on 32-bit
+app-emulation/qemu spice
+
+# Alexandre Rostovtsev <tetromino@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
+www-client/epiphany -jit
+www-client/midori -jit
+
+# Samuli Suominen <ssuominen@gentoo.org> (06 Dec 2011)
+# NuppelVideo support is x86 only
+media-video/transcode -nuv -pic
+
+# Davide Pesavento <pesa@gentoo.org> (30 Nov 2011)
+# JavaScriptCore JIT is supported only on amd64/arm/x86,
+# so it's masked in base profile and unmasked here.
+dev-qt/qtscript -jit
+dev-qt/qtwebkit -jit
+
+# Samuli Suominen <ssuominen@gentoo.org> (25 Nov 2011)
+# Expose USE="suid" for USE="svga" only for x86 users,
+# see base/package.use.mask
+www-client/links -suid
+
+# Samuli Suominen <ssuominen@gentoo.org> (16 Oct 2011)
+# Masked in base, unmask per arch
+gnome-base/gvfs -bluray
+
+# Nirbheek Chauhan <nirbheek@gentoo.org> (17 Sep 2011)
+# Systemtap is masked in base/package.use.mask
+# Temporarily unmask in amd64/x86, bug 384647
+dev-libs/glib -systemtap
+
+# Robin H. Johnson <robbat2@gentoo.org> (10 Jul 2011)
+# PPS should work on all arches, but only keyworded on amd64/x86
+>=net-misc/ntp-4.2.6_p3-r1 -parse-clocks
+
+# Alexey Shvetsov <alexxy@gentoo.org> (1 Jul 2011)
+# Use mask infiniband for stable corosync and glusterfs
+=sys-cluster/glusterfs-3.1.2 infiniband
+=sys-cluster/corosync-1.3.0 infiniband
+
+# Luca Barbato <lu_zero@gentoo.org> (28 Feb 2011)
+# # Masked in base, unmask for amd64/x86
+media-video/mplayer2 -bluray
+
+# Tim Harder <radhermit@gentoo.org> (13 Feb 2011)
+# Masked in base, unmask for amd64/x86
+>=media-video/mplayer-1.0_rc4_p20101219 -bluray
+
+# Thomas Kahle <tomka@gentoo.org> (15 Jan 2011)
+# we dropped stable prelude but don't want to drop stable nufw
+=net-firewall/nufw-2.2.21 prelude
+
+# Chí-Thanh Christopher Nguyễn <chithanh@gentoo.org> (28 Nov 2010)
+# sys-devel/llvm is keyworded on x86
+media-libs/mesa -llvm
+
+# Nirbheek Chauhna <nirbheek@gentoo.org> (26 Jun 2010)
+# Inter-process communication doesn't work on anything except x86/amd64/arm
+# due to lack of atomic ops, bug 325185
+www-client/firefox -ipc
+
+# Tomáš Chvátal <scarabeus@gentoo.org> (4 Apr 2010)
+# x86 platforms works
+sys-power/pm-utils -video_cards_intel -video_cards_radeon
+
+# Vlastimil Babka <caster@gentoo.org> (31 Mar 2010)
+>=dev-java/ibm-jdk-bin-1.5 -nsplugin
+>=dev-java/ibm-jre-bin-1.5 -nsplugin
+
+# Jim Ramsay <lack@gentoo.org> (24 March 2011)
+# '64bit' '32bit' 'nspluginwrapper' are for amd64 only
+www-plugins/adobe-flash 32bit 64bit
+
+# Mounir Lamouri <volkmar@gentoo.org> (07 Nov 2009)
+# Masked in base, unmak for amd64/x86. Bug 267264
+media-gfx/k3d -cuda
+
+# Jean-Noël Rivasseau <elvanor@gentoo.org> (23 Sep 2009)
+# X use flag only for amd64/x86, bug 285951.
+media-gfx/iscan -X
+
+# Tomáš Chvátal <scarabeus@gentoo.org> (10 Sep 2009)
+# quakeforge has video_cards_voodoo enabled only for x86
+games-fps/quakeforge -video_cards_tdfx
+
+# Tomas Chvatal <scarabeus@gentoo.org> (24 Nov 2008)
+# masked in base, unmask for x86/amd64
+sci-misc/boinc -cuda
+
+# Robert Buchholz <rbu@gentoo.org> (16 Aug 2008)
+# masked in base, unmask for x86/amd64
+dev-python/kaa-base -tls
+
+# Serkan Kaba <serkan@gentoo.org> (20 Jul 2008)
+app-text/enchant -zemberek
+
+x11-terms/eterm sse2
+x11-terms/eterm cpu_flags_x86_sse2
+
+# Christian Faulhammer <opfer@gentoo.org> (14 Jan 2008)
+# only works on x86
+dev-java/ibm-jdk-bin -alsa
+dev-java/ibm-jre-bin -alsa
+
+# Steve Dibb <beandog@gentoo.org> (29 Sept 2008)
+media-video/mplayer -cpudetection -custom-cpuopts -bindist
diff --git a/profiles/arch/x86/package.use.stable.mask b/profiles/arch/x86/package.use.stable.mask
new file mode 100644
index 00000000000..b7273996db4
--- /dev/null
+++ b/profiles/arch/x86/package.use.stable.mask
@@ -0,0 +1,54 @@
+# 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. Please be extremely
+# careful not to commit atoms that are not valid, as it can cause large-scale
+# breakage, especially if it ends up in the daily snapshot.
+#
+## Example:
+##
+## # Dev E. Loper <developer@gentoo.org> (28 Jun 2012)
+## # Masking foo USE flag until we can get the
+## # foo stuff to work properly again (bug 12345)
+## =media-video/mplayer-0.90_pre5 foo
+## =media-video/mplayer-0.90_pre5-r1 foo
+#
+
+#--- END OF EXAMPLES ---
+
+# Pacho Ramos <pacho@gentoo.org> (08 Mar 2015)
+# mayavi is broken, bug #500104
+dev-python/apptools test
+
+# Michał Górny <mgorny@gentoo.org> (21 Feb 2015)
+# The external QCA plugins are not stable on this arch. Since
+# this is only a temporary measure and nothing depends on them,
+# just masking them until the new version goes stable.
+<app-crypt/qca-2.1 pkcs11
+
+# Tim Harder <radhermit@gentoo.org> (11 Oct 2014)
+# Masked since skype isn't stable
+net-im/bitlbee skype
+
+# Andreas K. Huettel <dilfridge@gentoo.org> (29 Jun 2014)
+# Not yet stabilized dependencies blocking sec bug 514886
+# we need to repeat this here likely because of the use.mask entry
+app-office/libreoffice firebird
+
+# Michał Górny <mgorny@gentoo.org> (30 Mar 2014)
+# Don't apply stable masks to python-exec since we're forcing every
+# impl there anyway. Please keep this in sync with use.stable.mask.
+dev-lang/python-exec -python_targets_pypy
+dev-lang/python-exec -python_single_target_pypy
+dev-lang/python-exec -python_targets_pypy3
+dev-lang/python-exec -python_single_target_pypy3
+
+# Tom Wijsman <TomWij@gentoo.org> (06 Feb 2014)
+# [QA] Masked jit USE flag on www-apps/cgit as dev-lang/luajit is not stable.
+www-apps/cgit jit
+
+# Ben de Groot <yngwin@gentoo.org (19 Apr 2015)
+# >=opus-1.0.3 is still not stable (bug 500868)
+media-video/vlc opus
diff --git a/profiles/arch/x86/parent b/profiles/arch/x86/parent
new file mode 100644
index 00000000000..eb001c6e8ab
--- /dev/null
+++ b/profiles/arch/x86/parent
@@ -0,0 +1 @@
+../base
diff --git a/profiles/arch/x86/profile.bashrc b/profiles/arch/x86/profile.bashrc
new file mode 100644
index 00000000000..cf66d2d68f6
--- /dev/null
+++ b/profiles/arch/x86/profile.bashrc
@@ -0,0 +1,12 @@
+if [[ ${EBUILD_PHASE} == "setup" ]] ; then
+
+ # on x86, -pg requires the frame pointer, so turning it off makes no sense
+ if has profile ${IUSE} && use profile && \
+ has -fomit-frame-pointer ${CFLAGS} ${CXXFLAGS}
+ then
+ eerror "\nUSE=profile and -fomit-frame-pointer make no sense"
+ eerror "Fix your build settings to avoid build failures\n"
+ [[ -z ${EPAUSE_IGNORE} ]] && sleep 5
+ fi
+
+fi
diff --git a/profiles/arch/x86/use.force b/profiles/arch/x86/use.force
new file mode 100644
index 00000000000..1f18bb0cec1
--- /dev/null
+++ b/profiles/arch/x86/use.force
@@ -0,0 +1,7 @@
+# Force the flag which corresponds to ARCH.
+x86
+
+# Michał Górny <mgorny@gentoo.org> (26 Jan 2013)
+# Force the flag corresponding to the only ABI. This allows x86 binary
+# packages to have uniform dependencies for amd64-multilib & x86.
+abi_x86_32
diff --git a/profiles/arch/x86/use.mask b/profiles/arch/x86/use.mask
new file mode 100644
index 00000000000..2f04e8bf3ea
--- /dev/null
+++ b/profiles/arch/x86/use.mask
@@ -0,0 +1,227 @@
+# Copyright 1999-2015 Gentoo Foundation.
+# Distributed under the terms of the GNU General Public License, v2
+# $Id$
+
+# Unmask the flag which corresponds to ARCH.
+-x86
+
+# cilk has been ported to this arch.
+-cilk
+
+# Mike Gilbert <floppym@gentoo.org (19 Oct 2014)
+# sys-libs/libapparmor
+-apparmor
+
+# Alexey Shvetsov <alexxy@gentoo.org> (08 Apr 2014)
+# Cuda works here
+-cuda
+
+# Michał Górny <mgorny@gentoo.org> (30 Mar 2014)
+# PyPy is keyworded on this arch.
+-python_targets_pypy
+-python_single_target_pypy
+-python_targets_pypy3
+-python_single_target_pypy3
+
+# Michał Górny <mgorny@gentoo.org> (4 May 2013)
+# Unmask systemd since it is keyworded here.
+-systemd
+
+# Andrey Grozin <grozin@gentoo.org> (25 Jun 2014)
+# keyworded on x86
+-clisp
+-clozurecl
+-cmucl
+-ecls
+-gcl
+-sbcl
+
+# Michał Górny <mgorny@gentoo.org> (26 Jan 2013)
+# Unmask the flag corresponding to the only ABI. This allows x86 binary
+# packages to have uniform dependencies for amd64-multilib & x86.
+-abi_x86_32
+
+# Alexandre Rostovtsev <tetromino@gentoo.org> (09 Dec 2012)
+# Orc optimisations work fine on amd64 and x86
+-orc
+
+# Diego Elio Pettenò <flameeyes@gentoo.org> (21 Aug 2012)
+# IPMI is only implemented for x86, amd64 and ia64
+-ipmi
+
+# Ralph Sennhauser <sera@gentoo.org> (31 Jul 2012)
+# Keyworded on x86
+-python_targets_jython2_5
+-python_single_target_jython2_5
+-python_targets_jython2_7
+-python_single_target_jython2_7
+
+# Joerg Bornkessel <hd_brummy@gentoo.org> (05. Mar 2012)
+# Unmask, works with v4l2, #350211
+-dxr3
+
+# Samuli Suominen <ssuominen@gentoo.org> (28 Feb 2012)
+# Unmasking vidix for x86 which is masked in base/use.mask for others
+-vidix
+
+# Justin Lecher <jlec@gentoo.org> (04 Feb 2012)
+# Unmask because deps are keyworded
+-zeitgeist
+
+# 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).
+
+# 2011/12/22 - Alexis Ballier <aballier@gentoo.org>
+# Unmask vdpau as its supported here
+-vdpau
+
+# 2011/07/01 - Alexey Shvetsov <alexxy@gentoo.org>
+# Infiniband stuff works on x86
+-infiniband
+
+# 2010/07/27 - Matti Bickel <mabi@gentoo.org>
+# app-text/fdf is only supported on x86
+-fdftk
+
+# 2010/02/14 - Samuli Suominen <ssuominen@gentoo.org>
+# Unmask amd64/x86 only SANE_BACKENDS
+-sane_backends_canon_pp
+-sane_backends_hpsj5s
+-sane_backends_mustek_pp
+-sane_backends_qcam
+
+# 2010/05/03 - Alex Legler <a3li@gentoo.org>
+# Add support for Ruby Enterprise Edition targets where rubyee is available
+# -ruby_targets_ree18
+
+# 2010/01/08 - Diego E. Pettenò <flameeyes@gentoo.org>
+# Add support for JRuby targets where jruby is available
+#-ruby_targets_jruby
+
+# pbbuttonsd and macbook for KDE and pbuttonsd it
+#-pbbuttonsd
+-macbook
+
+# Unmask x86 instruction sets
+-3dnow
+-3dnowext
+-lilo
+-mmx
+-mmxext
+-sse
+-sse2
+-sse3
+-sse4
+-sse4_1
+-sse4_2
+-sse4a
+-ssse3
+-avx
+-avx128fma
+-avx2
+-avx256
+-fma3
+-fma4
+-xop
+-svga
+-kqemu
+-nvram
+-cpu_flags_x86_3dnow
+-cpu_flags_x86_3dnowext
+-cpu_flags_x86_aes
+-cpu_flags_x86_avx
+-cpu_flags_x86_avx2
+-cpu_flags_x86_fma3
+-cpu_flags_x86_fma4
+-cpu_flags_x86_mmx
+-cpu_flags_x86_mmxext
+-cpu_flags_x86_padlock
+-cpu_flags_x86_popcnt
+-cpu_flags_x86_sse
+-cpu_flags_x86_sse2
+-cpu_flags_x86_sse3
+-cpu_flags_x86_sse4_1
+-cpu_flags_x86_sse4_2
+-cpu_flags_x86_sse4a
+-cpu_flags_x86_ssse3
+-cpu_flags_x86_xop
+
+# Unmask nvidia XvMC support
+-nvidia
+
+# Unmask dev-db/oracle-instantclient-basic support
+-oci8-instant-client
+-oracle
+
+# Unmask osp, used by asterisk; bug 115798
+-osp
+
+# Unmask yellownet, used by aqbanking (bug 149970)
+-yellownet
+
+# Modular X: unmask for architectures on which they are available
+-input_devices_synaptics
+-input_devices_virtualbox
+-input_devices_vmmouse
+-input_devices_wacom
+-video_cards_nvidia
+-video_cards_fglrx
+-video_cards_vmware
+-video_cards_geode
+-video_cards_via
+-video_cards_virtualbox
+-video_cards_xgi
+-video_cards_qxl
+
+# Modular X: mask for architectures on which they aren't available
+video_cards_newport
+
+#codec support
+-x264
+
+# lvm2 cluster
+-gulm
+
+# psyco works on x86
+-psyco
+
+# Diego Pettenò <flameeyes@gentoo.org> (4 Jan 2007)
+# Unmask the flags for PHP that are available only on x86
+-fdftk
+-sybase-ct
+-ingres
+-birdstep
+-adabas
+-filepro
+-pfpro
+-informix
+-empress
+-empress-bcs
+-sybase
+-frontbase
+-dbmaker
+-esoob
+-solid
+# Shared with amd64
+-oci8
+-oracle7
+-db2
+
+# Robert Buchholz <rbu@gentoo.org> (03 Jun 2007)
+# Unmask as it works on x86
+-lcd_devices_svga
+-lcd_devices_luise
+
+# George Shapovalov <george@gentoo.org> (8 Apr 2007)
+# supported on x86
+-ada
+
+# tcc is x86 only
+-tcc
+
+# 64bit Windows doesn't work on 32bit systems
+win64
+
+# fdk-aac is already keyworded here
+-fdk
diff --git a/profiles/arch/x86/use.stable.mask b/profiles/arch/x86/use.stable.mask
new file mode 100644
index 00000000000..1d90d5712bd
--- /dev/null
+++ b/profiles/arch/x86/use.stable.mask
@@ -0,0 +1,22 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+# This file requires eapi 5 or later. New entries go on top.
+# Please use the same syntax as in use.mask
+
+# Mike Gilbert <floppym@gentoo.org> (19 Oct 2014)
+# sys-libs/libapparmor
+apparmor
+
+# Andrey Grozin <grozin@gentoo.org> (25 Jun 2014)
+# no stable versions on x86
+clozurecl
+gcl
+
+# Michał Górny <mgorny@gentoo.org> (30 Mar 2014)
+# PyPy is unstable on this arch.
+python_targets_pypy
+python_single_target_pypy
+python_targets_pypy3
+python_single_target_pypy3
diff --git a/profiles/arch/x86/xbox/eapi b/profiles/arch/x86/xbox/eapi
new file mode 100644
index 00000000000..7ed6ff82de6
--- /dev/null
+++ b/profiles/arch/x86/xbox/eapi
@@ -0,0 +1 @@
+5
diff --git a/profiles/arch/x86/xbox/make.defaults b/profiles/arch/x86/xbox/make.defaults
new file mode 100644
index 00000000000..79d000a05f9
--- /dev/null
+++ b/profiles/arch/x86/xbox/make.defaults
@@ -0,0 +1,12 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+PROFILE_ARCH="xbox"
+USE="mmx sse"
+CPU_FLAGS_X86="mmx sse"
+
+CFLAGS="-O2 -march=pentium3 -pipe"
+CXXFLAGS="${CFLAGS}"
+FFLAGS="${CFLAGS}"
+FCFLAGS="${CFLAGS}"
diff --git a/profiles/arch/x86/xbox/package.mask b/profiles/arch/x86/xbox/package.mask
new file mode 100644
index 00000000000..fb619961e6d
--- /dev/null
+++ b/profiles/arch/x86/xbox/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/arch/x86/xbox/parent b/profiles/arch/x86/xbox/parent
new file mode 100644
index 00000000000..f3229c5b987
--- /dev/null
+++ b/profiles/arch/x86/xbox/parent
@@ -0,0 +1 @@
+..