From deb1c3a3bbcc78c03b874243f982d585f14ca5aa Mon Sep 17 00:00:00 2001 From: Fabian Groffen Date: Sun, 27 Mar 2022 14:20:54 +0200 Subject: net-dns/bind-tools-9.16.27: fix build on Solaris Signed-off-by: Fabian Groffen --- net-dns/bind-tools/bind-tools-9.16.27.ebuild | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'net-dns/bind-tools') 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 -- cgit v1.2.3-65-gdbad