commit: deb1c3a3bbcc78c03b874243f982d585f14ca5aa
Author: Fabian Groffen <grobian <AT> gentoo <DOT> org>
AuthorDate: Sun Mar 27 12:20:54 2022 +0000
Commit: Fabian Groffen <grobian <AT> gentoo <DOT> org>
CommitDate: Sun Mar 27 12:21:01 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=deb1c3a3
net-dns/bind-tools-9.16.27: fix build on Solaris
Signed-off-by: Fabian Groffen <grobian <AT> gentoo.org>
net-dns/bind-tools/bind-tools-9.16.27.ebuild | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/net-dns/bind-tools/bind-tools-9.16.27.ebuild
b/net-dns/bind-tools/bind-tools-9.16.27.ebuild
index cb9733acbe8c..a928124efddb 100644
--- a/net-dns/bind-tools/bind-tools-9.16.27.ebuild
+++ b/net-dns/bind-tools/bind-tools-9.16.27.ebuild
@@ -54,6 +54,10 @@ src_prepare() {
# Disable tests for now, bug 406399
sed -i '/^SUBDIRS/s:tests::' bin/Makefile.in lib/Makefile.in || die
+ # Do not disable thread local storage on Solaris, it works with our
+ # toolchain, and it breaks further configure checks
+ sed -i -e '/LDFLAGS=/s/-zrelax=transtls//' configure.ac configure || die
+
# bug #220361
rm aclocal.m4 || die
rm -rf libtool.m4/ || die