commit: 8833389084f0eb3b79f4dde59fe9f5b9866c4eba
Author: Fabian Groffen <grobian <AT> gentoo <DOT> org>
AuthorDate: Tue May 30 17:25:28 2023 +0000
Commit: Fabian Groffen <grobian <AT> gentoo <DOT> org>
CommitDate: Wed May 31 10:27:16 2023 +0000
URL: https://gitweb.gentoo.org/repo/proj/prefix.git/commit/?id=88333890
scripts/bootstrap-prefix: fix Python bootstrap on Solaris
Signed-off-by: Fabian Groffen <grobian <AT> gentoo.org>
scripts/bootstrap-prefix.sh | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/scripts/bootstrap-prefix.sh b/scripts/bootstrap-prefix.sh
index f7cb6208fa..45cf2f4e2c 100755
--- a/scripts/bootstrap-prefix.sh
+++ b/scripts/bootstrap-prefix.sh
@@ -1005,7 +1005,10 @@ bootstrap_python() {
# OpenIndiana/Solaris 11 defines inet_aton no longer in
# libresolv, so use hstrerror to check if we need -lresolv
sed -i -e '/AC_CHECK_LIB/s/inet_aton/hstrerror/' \
- configure || die
+ configure.ac || die
+ # we don't regenerate configure at this point, so just force the
+ # fix result
+ export LIBS="${LIBS} -lresolv"
;;
(*-darwin9)
# Darwin 9's kqueue seems to act up (at least at this stage), so