profiles/prefix/darwin/macos: require various system headers
authorFabian Groffen <grobian@gentoo.org>
Mon, 11 Nov 2019 14:12:31 +0000 (15:12 +0100)
committerFabian Groffen <grobian@gentoo.org>
Mon, 11 Nov 2019 14:14:16 +0000 (15:14 +0100)
Pull in system headers as part of @system, because Apple really doesn't
want to install them a nicely reachable space for us, breaking our
compilers and environments.  Provide OS-specific versions installed in
the Prefix itself.

Signed-off-by: Fabian Groffen <grobian@gentoo.org>
13 files changed:
profiles/prefix/darwin/macos/10.10/packages [new file with mode: 0644]
profiles/prefix/darwin/macos/10.11/packages [new file with mode: 0644]
profiles/prefix/darwin/macos/10.12/package.unmask
profiles/prefix/darwin/macos/10.13/package.unmask
profiles/prefix/darwin/macos/10.14/package.unmask
profiles/prefix/darwin/macos/10.4/packages [new file with mode: 0644]
profiles/prefix/darwin/macos/10.5/packages [new file with mode: 0644]
profiles/prefix/darwin/macos/10.6/packages [new file with mode: 0644]
profiles/prefix/darwin/macos/10.7/packages [new file with mode: 0644]
profiles/prefix/darwin/macos/10.8/packages [new file with mode: 0644]
profiles/prefix/darwin/macos/10.9/packages [new file with mode: 0644]
profiles/prefix/darwin/macos/package.mask
profiles/prefix/darwin/macos/packages

diff --git a/profiles/prefix/darwin/macos/10.10/packages b/profiles/prefix/darwin/macos/10.10/packages
new file mode 100644 (file)
index 0000000..9c15af4
--- /dev/null
@@ -0,0 +1,6 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+# File a bug if you need these provided for your OS version
+-*sys-kernel/xnu-headers
+-*sys-libs/darwin-libc-headers
diff --git a/profiles/prefix/darwin/macos/10.11/packages b/profiles/prefix/darwin/macos/10.11/packages
new file mode 100644 (file)
index 0000000..9c15af4
--- /dev/null
@@ -0,0 +1,6 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+# File a bug if you need these provided for your OS version
+-*sys-kernel/xnu-headers
+-*sys-libs/darwin-libc-headers
index 92c8b2b4bee0dc55610b29760289b2a636f6e480..976d5958e04489d82c770664068cd431b2647c7b 100644 (file)
@@ -1,6 +1,11 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
+# Fabian Groffen <grobian@gentoo.org> (2019-11-11)
+# Unmask versions matching the OS profile
+sys-kernel/xnu-headers:10.12
+sys-libs/darwin-libc-headers:10.12
+
 # James Le Cuirot <chewi@gentoo.org> (2015-07-29)
 # Recent releases are supported in >10.10.
 dev-java/oracle-jdk-bin
index 998ec0bd8b9e8faeb3c894f3e7d8facf3781c3c1..8d5dc6869f26b68746204b7ffc54d8df1846cca8 100644 (file)
@@ -1,6 +1,11 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
+# Fabian Groffen <grobian@gentoo.org> (2019-11-11)
+# Unmask versions matching the OS profile
+sys-kernel/xnu-headers:10.13
+sys-libs/darwin-libc-headers:10.13
+
 # James Le Cuirot <chewi@gentoo.org> (2015-07-29)
 # Recent releases are supported in >10.10.
 dev-java/oracle-jdk-bin
index 63a107ba904996a92df818645fe38f492d078e8b..d6a37a4480bf9f6263c94e9de62bc4ff1800c2da 100644 (file)
@@ -1,6 +1,11 @@
-# Copyright 1999-2018 Gentoo Authors
+# Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
+# Fabian Groffen <grobian@gentoo.org> (2019-11-11)
+# Unmask versions matching the OS profile
+sys-kernel/xnu-headers:10.14
+sys-libs/darwin-libc-headers:10.14
+
 # James Le Cuirot <chewi@gentoo.org> (2015-07-29)
 # Recent releases are supported in >10.10.
 dev-java/oracle-jdk-bin
diff --git a/profiles/prefix/darwin/macos/10.4/packages b/profiles/prefix/darwin/macos/10.4/packages
new file mode 100644 (file)
index 0000000..9c15af4
--- /dev/null
@@ -0,0 +1,6 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+# File a bug if you need these provided for your OS version
+-*sys-kernel/xnu-headers
+-*sys-libs/darwin-libc-headers
diff --git a/profiles/prefix/darwin/macos/10.5/packages b/profiles/prefix/darwin/macos/10.5/packages
new file mode 100644 (file)
index 0000000..9c15af4
--- /dev/null
@@ -0,0 +1,6 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+# File a bug if you need these provided for your OS version
+-*sys-kernel/xnu-headers
+-*sys-libs/darwin-libc-headers
diff --git a/profiles/prefix/darwin/macos/10.6/packages b/profiles/prefix/darwin/macos/10.6/packages
new file mode 100644 (file)
index 0000000..9c15af4
--- /dev/null
@@ -0,0 +1,6 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+# File a bug if you need these provided for your OS version
+-*sys-kernel/xnu-headers
+-*sys-libs/darwin-libc-headers
diff --git a/profiles/prefix/darwin/macos/10.7/packages b/profiles/prefix/darwin/macos/10.7/packages
new file mode 100644 (file)
index 0000000..9c15af4
--- /dev/null
@@ -0,0 +1,6 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+# File a bug if you need these provided for your OS version
+-*sys-kernel/xnu-headers
+-*sys-libs/darwin-libc-headers
diff --git a/profiles/prefix/darwin/macos/10.8/packages b/profiles/prefix/darwin/macos/10.8/packages
new file mode 100644 (file)
index 0000000..9c15af4
--- /dev/null
@@ -0,0 +1,6 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+# File a bug if you need these provided for your OS version
+-*sys-kernel/xnu-headers
+-*sys-libs/darwin-libc-headers
diff --git a/profiles/prefix/darwin/macos/10.9/packages b/profiles/prefix/darwin/macos/10.9/packages
new file mode 100644 (file)
index 0000000..9c15af4
--- /dev/null
@@ -0,0 +1,6 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+# File a bug if you need these provided for your OS version
+-*sys-kernel/xnu-headers
+-*sys-libs/darwin-libc-headers
index b83c55c0ced5acd8c3491f20debb36289d487f70..56e44d1bdef956470881b361d11028d048c0c39e 100644 (file)
@@ -1,6 +1,12 @@
 # Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
+# Fabian Groffen <grobian@gentoo.org> (2019-11-11)
+# We mask all system headers, and only unmask the slot matching the OS
+# install in the version profiles
+sys-kernel/xnu-headers
+sys-libs/darwin-libc-headers
+
 # Fabian Groffen <grobian@gentoo.org> (2019-04-30)
 # Fails to install, bug #684030
 =dev-lang/perl-5.28.2*
index a16706c6fe7409e492aef99c88d0b734c57f70b4..f37a922f3004a3c8cbf545e731c1d78500d70ee5 100644 (file)
@@ -1,7 +1,11 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-# Mac OS X is built with LLVM/Clang
+# macOS has LLVM/Clang as system compiler
 -*sys-devel/gcc
 -*sys-devel/gcc-config
 *sys-devel/clang
+
+# system headers to be able to compile stuff
+*sys-kernel/xnu-headers
+*sys-libs/darwin-libc-headers