commit: df2b752e05c2480551b4771ecae96cfedc9703f9
Author: Fabian Groffen <grobian <AT> gentoo <DOT> org>
AuthorDate: Thu Dec 13 07:16:09 2018 +0000
Commit: Fabian Groffen <grobian <AT> gentoo <DOT> org>
CommitDate: Thu Dec 13 07:16:09 2018 +0000
URL: https://gitweb.gentoo.org/repo/proj/prefix.git/commit/?id=df2b752e
scripts/bootstrap-prefix: fix bootstrap on Solaris
This allows to complete the bootstrap on x86-solaris
Signed-off-by: Fabian Groffen <grobian <AT> gentoo.org>
scripts/bootstrap-prefix.sh | 3 +++
1 file changed, 3 insertions(+)
diff --git a/scripts/bootstrap-prefix.sh b/scripts/bootstrap-prefix.sh
index 8845fa889a..9335fb6661 100755
--- a/scripts/bootstrap-prefix.sh
+++ b/scripts/bootstrap-prefix.sh
@@ -1567,6 +1567,9 @@ bootstrap_stage2() {
echo "sys-apps/help2man -nls"
# avoid hefty set of deps from glib
echo "dev-util/pkgconfig internal-glib"
+ # libffi-3.0_rc0 has broken Solaris ld support, which we still
+ # use at this stage (host compiler)
+ [[ ${CHOST} == *-solaris* ]] && echo "=dev-libs/libffi-3.3_rc0"
} >> "${ROOT}"/tmp/etc/portage/package.use
for pkg in ${compiler_stage1} ; do