commit:     3966b9157c18c3696d82ab2e8f81b0f7d50b1d6a
Author:     Fabian Groffen <grobian <AT> gentoo <DOT> org>
AuthorDate: Tue Nov 12 10:40:43 2019 +0000
Commit:     Fabian Groffen <grobian <AT> gentoo <DOT> org>
CommitDate: Tue Nov 12 10:41:55 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3966b915

profiles/prefix/darwin/macos: work with funny masking/unmasking behaviour

can't mask a generic thing and unmask a specific thing apparently, so
take the long and explicit road of masking everything specifically and
unmasking just the one specific thing per profile

Signed-off-by: Fabian Groffen <grobian <AT> gentoo.org>

 profiles/prefix/darwin/macos/10.12/package.mask   | 5 +++++
 profiles/prefix/darwin/macos/10.12/package.unmask | 5 -----
 profiles/prefix/darwin/macos/10.13/package.mask   | 5 +++++
 profiles/prefix/darwin/macos/10.13/package.unmask | 5 -----
 profiles/prefix/darwin/macos/10.14/package.mask   | 5 +++++
 profiles/prefix/darwin/macos/10.14/package.unmask | 5 -----
 profiles/prefix/darwin/macos/package.mask         | 8 ++++++--
 7 files changed, 21 insertions(+), 17 deletions(-)

diff --git a/profiles/prefix/darwin/macos/10.12/package.mask 
b/profiles/prefix/darwin/macos/10.12/package.mask
index c103679ebe5..2ae88c5d921 100644
--- a/profiles/prefix/darwin/macos/10.12/package.mask
+++ b/profiles/prefix/darwin/macos/10.12/package.mask
@@ -1,2 +1,7 @@
 # Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
+
+# Fabian Groffen <[email protected]> (2019-11-11)
+# Unmask versions matching the OS profile
+-sys-kernel/xnu-headers:10.12
+-sys-libs/darwin-libc-headers:10.12

diff --git a/profiles/prefix/darwin/macos/10.12/package.unmask 
b/profiles/prefix/darwin/macos/10.12/package.unmask
index 976d5958e04..6f1df312f19 100644
--- a/profiles/prefix/darwin/macos/10.12/package.unmask
+++ b/profiles/prefix/darwin/macos/10.12/package.unmask
@@ -1,11 +1,6 @@
 # Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-# Fabian Groffen <[email protected]> (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 <[email protected]> (2015-07-29)
 # Recent releases are supported in >10.10.
 dev-java/oracle-jdk-bin

diff --git a/profiles/prefix/darwin/macos/10.13/package.mask 
b/profiles/prefix/darwin/macos/10.13/package.mask
index c103679ebe5..1bb624aa74a 100644
--- a/profiles/prefix/darwin/macos/10.13/package.mask
+++ b/profiles/prefix/darwin/macos/10.13/package.mask
@@ -1,2 +1,7 @@
 # Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
+
+# Fabian Groffen <[email protected]> (2019-11-11)
+# Unmask versions matching the OS profile
+-sys-kernel/xnu-headers:10.13
+-sys-libs/darwin-libc-headers:10.13

diff --git a/profiles/prefix/darwin/macos/10.13/package.unmask 
b/profiles/prefix/darwin/macos/10.13/package.unmask
index 8d5dc6869f2..6f1df312f19 100644
--- a/profiles/prefix/darwin/macos/10.13/package.unmask
+++ b/profiles/prefix/darwin/macos/10.13/package.unmask
@@ -1,11 +1,6 @@
 # Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-# Fabian Groffen <[email protected]> (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 <[email protected]> (2015-07-29)
 # Recent releases are supported in >10.10.
 dev-java/oracle-jdk-bin

diff --git a/profiles/prefix/darwin/macos/10.14/package.mask 
b/profiles/prefix/darwin/macos/10.14/package.mask
index c103679ebe5..e3f098738d1 100644
--- a/profiles/prefix/darwin/macos/10.14/package.mask
+++ b/profiles/prefix/darwin/macos/10.14/package.mask
@@ -1,2 +1,7 @@
 # Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
+
+# Fabian Groffen <[email protected]> (2019-11-11)
+# Unmask versions matching the OS profile
+-sys-kernel/xnu-headers:10.14
+-sys-libs/darwin-libc-headers:10.14

diff --git a/profiles/prefix/darwin/macos/10.14/package.unmask 
b/profiles/prefix/darwin/macos/10.14/package.unmask
index d6a37a4480b..6f1df312f19 100644
--- a/profiles/prefix/darwin/macos/10.14/package.unmask
+++ b/profiles/prefix/darwin/macos/10.14/package.unmask
@@ -1,11 +1,6 @@
 # Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-# Fabian Groffen <[email protected]> (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 <[email protected]> (2015-07-29)
 # Recent releases are supported in >10.10.
 dev-java/oracle-jdk-bin

diff --git a/profiles/prefix/darwin/macos/package.mask 
b/profiles/prefix/darwin/macos/package.mask
index 56e44d1bdef..017bcf4c121 100644
--- a/profiles/prefix/darwin/macos/package.mask
+++ b/profiles/prefix/darwin/macos/package.mask
@@ -4,8 +4,12 @@
 # Fabian Groffen <[email protected]> (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
+sys-kernel/xnu-headers:10.12
+sys-libs/darwin-libc-headers:10.12
+sys-kernel/xnu-headers:10.13
+sys-libs/darwin-libc-headers:10.13
+sys-kernel/xnu-headers:10.14
+sys-libs/darwin-libc-headers:10.14
 
 # Fabian Groffen <[email protected]> (2019-04-30)
 # Fails to install, bug #684030

Reply via email to