commit: 697a2a91e6cd003e6ab3182b7814635afbaf34ae Author: Fabian Groffen <grobian <AT> gentoo <DOT> org> AuthorDate: Wed Sep 17 12:15:44 2025 +0000 Commit: Fabian Groffen <grobian <AT> gentoo <DOT> org> CommitDate: Wed Sep 17 12:15:44 2025 +0000 URL: https://gitweb.gentoo.org/repo/proj/prefix.git/commit/?id=697a2a91
scripts/bootstrap-prefix: add new guesstimator for macos Tahoe Apple changed their versioning (again) with Tahoe, adapt for it. Bug: https://bugs.gentoo.org/962964 Signed-off-by: Fabian Groffen <grobian <AT> gentoo.org> scripts/bootstrap-prefix.sh | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/scripts/bootstrap-prefix.sh b/scripts/bootstrap-prefix.sh index 02c144b676..90929f2016 100755 --- a/scripts/bootstrap-prefix.sh +++ b/scripts/bootstrap-prefix.sh @@ -393,11 +393,12 @@ bootstrap_profile() { rev=${CHOST##*darwin} profile="prefix/darwin/macos/10.$((rev - 4))/x64" ;; - *64-apple-darwin2[0123456789]) + *64-apple-darwin2[01234]) # Big Sur is 11.0 darwin20 # Monterey is 12.0 darwin21 # Ventura is 13.0 darwin22 # Sanoma is 14.0 darwin23 + # Sequoia is 15.0 darwin24 rev=${CHOST##*darwin} case ${CHOST%%-*} in x86_64) arch=x64 ;; @@ -406,6 +407,16 @@ bootstrap_profile() { esac profile="prefix/darwin/macos/$((rev - 9)).0/${arch}" ;; + *64-apple-darwin2[56789]) + # Tahoe is 26.0 darwin25 + rev=${CHOST##*darwin} + case ${CHOST%%-*} in + x86_64) arch=x64 ;; + arm64) arch=arm64 ;; + *) arch=error ;; + esac + profile="prefix/darwin/macos/$((rev + 1)).0/${arch}" + ;; i*86-pc-linux-gnu) profile=${profile_linux/ARCH/x86} ;;
