commit:     4d8bb09a33ef4eb06eaa82d73db423fd76654c83
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Wed Nov 10 05:39:34 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Wed Nov 10 05:40:06 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4d8bb09a

net-dns/bind-tools: fix cross compilation for libidn

Bug: https://bugs.gentoo.org/820284
Closes: https://bugs.gentoo.org/417131
Thanks-to: Bertrand Jacquin <bertrand <AT> jacquin.bzh>
Signed-off-by: Sam James <sam <AT> gentoo.org>

 net-dns/bind-tools/bind-tools-9.16.22.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/net-dns/bind-tools/bind-tools-9.16.22.ebuild 
b/net-dns/bind-tools/bind-tools-9.16.22.ebuild
index fdd10e501a5..9913f397d39 100644
--- a/net-dns/bind-tools/bind-tools-9.16.22.ebuild
+++ b/net-dns/bind-tools/bind-tools-9.16.22.ebuild
@@ -70,8 +70,8 @@ src_configure() {
                --without-lmdb
                --without-maxminddb
                --disable-geoip
-               --with-openssl="${EPREFIX}"/usr
-               $(use_with idn libidn2)
+               --with-openssl="${ESYSROOT}"/usr
+               $(use_with idn libidn2 "${ESYSROOT}"/usr)
                $(use_with xml libxml2)
                $(use_with gssapi)
                $(use_with readline)

Reply via email to