commit:     518ac309d3724bfa2ea201451a260731b82f042e
Author:     Fabian Groffen <grobian <AT> gentoo <DOT> org>
AuthorDate: Mon Jan  4 10:56:17 2021 +0000
Commit:     Fabian Groffen <grobian <AT> gentoo <DOT> org>
CommitDate: Mon Jan  4 10:56:17 2021 +0000
URL:        https://gitweb.gentoo.org/repo/proj/prefix.git/commit/?id=518ac309

scripts/bootstrap-prefix: bootstrap cmake on ppc-macos too

Since darwin-xtools is being pulled in now, we need cmake for that too,
so install one (older version) and pray that it is sufficient.

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

 scripts/bootstrap-prefix.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/scripts/bootstrap-prefix.sh b/scripts/bootstrap-prefix.sh
index 21c420ba80..7927faf1bb 100755
--- a/scripts/bootstrap-prefix.sh
+++ b/scripts/bootstrap-prefix.sh
@@ -1516,7 +1516,7 @@ bootstrap_stage1() {
        then
                # TODO: make DARWIN_USE_GCC path also activated on ppc-macos,
                # since it effectively is so
-               if [[ ${DARWIN_USE_GCC} != 1 && ${CHOST} != powerpc* ]] ; then
+               if [[ ${DARWIN_USE_GCC} != 1 || ${CHOST} == powerpc* ]] ; then
                        (bootstrap_cmake) || return 1
                fi
        fi

Reply via email to