commit: 472b8f58661c072823b086a0ce29431b9b724ad1
Author: Fabian Groffen <grobian <AT> gentoo <DOT> org>
AuthorDate: Mon Feb 5 19:30:21 2024 +0000
Commit: Fabian Groffen <grobian <AT> gentoo <DOT> org>
CommitDate: Mon Feb 5 19:30:21 2024 +0000
URL: https://gitweb.gentoo.org/repo/proj/prefix.git/commit/?id=472b8f58
scripts/bootstrap-prefix: bring back Darwin 9 x86 support
Use ppc-macos as base for this, as it's just an aid.
Signed-off-by: Fabian Groffen <grobian <AT> gentoo.org>
scripts/bootstrap-prefix.sh | 14 ++++++++++++++
1 file changed, 14 insertions(+)
diff --git a/scripts/bootstrap-prefix.sh b/scripts/bootstrap-prefix.sh
index 5f6d8b7db4..c59ff0cd9c 100755
--- a/scripts/bootstrap-prefix.sh
+++ b/scripts/bootstrap-prefix.sh
@@ -299,6 +299,16 @@ bootstrap_setup() {
echo "USE=\"\${USE}
${MAKE_CONF_ADDITIONAL_USE}\""
[[ ${OFFLINE_MODE} ]] && \
echo 'FETCHCOMMAND="bash -c \"echo I need
\${FILE} from \${URI} in \${DISTDIR}; read\""'
+
+ if [[ ${CHOST} == i*86-apple-darwin9 ]] ; then
+ # There's no legitimate reason to use 10.5 with
x86 (10.6 and
+ # 10.7 run on every device that ever ran 10.5
x86) but it's
+ # vastly easier to access and faster than ppc.
Don't want to
+ # burden the tree with this aid-arch, so just
use the ppc
+ # keyword.
+ echo
+ echo 'ACCEPT_KEYWORDS="~ppc-macos"'
+ fi
} > "${MAKE_CONF_DIR}/0100_bootstrap_prefix_make.conf"
fi
@@ -357,6 +367,10 @@ bootstrap_profile() {
rev=${CHOST##*darwin}
profile="prefix/darwin/macos/10.$((rev - 4))/ppc"
;;
+ i*86-apple-darwin9)
+ rev=${CHOST##*darwin}
+ profile="prefix/darwin/macos/10.$((rev - 4))/x32"
+ ;;
i*86-apple-darwin1[578])
eerror "REMOVED ARCH: this 32-bit MacOS architecture
was removed,"
eerror "bootstrapping is impossible"