commit: eaf9a9adf47f7cbfee387c9055373dc7a6c76b92 Author: Fabian Groffen <grobian <AT> gentoo <DOT> org> AuthorDate: Mon Nov 23 21:06:20 2020 +0000 Commit: Fabian Groffen <grobian <AT> gentoo <DOT> org> CommitDate: Mon Nov 23 21:06:20 2020 +0000 URL: https://gitweb.gentoo.org/repo/proj/prefix.git/commit/?id=eaf9a9ad
scripts/bootstrap-prefix: use profiles for later macOS releases Signed-off-by: Fabian Groffen <grobian <AT> gentoo.org> scripts/bootstrap-prefix.sh | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/scripts/bootstrap-prefix.sh b/scripts/bootstrap-prefix.sh index 9ad307e1cd..e37683b0f7 100755 --- a/scripts/bootstrap-prefix.sh +++ b/scripts/bootstrap-prefix.sh @@ -420,15 +420,13 @@ bootstrap_setup() { rev=${CHOST##*darwin} profile="prefix/darwin/macos/10.$((rev - 4))/x86" ;; - x86_64-apple-darwin9|x86_64-apple-darwin1[012345678]) + x86_64-apple-darwin9|x86_64-apple-darwin1[0123456789]) rev=${CHOST##*darwin} profile="prefix/darwin/macos/10.$((rev - 4))/x64" ;; - x86_64-apple-darwin19|x86_64-apple-darwin2[0123456789]) - # TODO: add profiles for these - # handle newer releases on the last profile we have headers - # and stuff for (https://opensource.apple.com/) - profile="prefix/darwin/macos/10.14/x64" + x86_64-apple-darwin2[0123456789]) + # Big Sur is 11.0 + profile="prefix/darwin/macos/11.$((rev - 20))/x64" ;; i*86-pc-linux-gnu) profile=${profile_linux/ARCH/x86}