commit:     209d2266879aa701b67812f45aa35ed067e0ff21
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Wed Nov 10 05:37:18 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Wed Nov 10 05:37:18 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=209d2266

net-dns/bind: fix cross-compilation for openssl and berkdb

Closes: https://bugs.gentoo.org/820284
Thanks-to: Tee KOBAYASHI <xtkoba <AT> gmail.com>
Signed-off-by: Sam James <sam <AT> gentoo.org>

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

diff --git a/net-dns/bind/bind-9.16.22.ebuild b/net-dns/bind/bind-9.16.22.ebuild
index 523a781ea9d..031f096be11 100644
--- a/net-dns/bind/bind-9.16.22.ebuild
+++ b/net-dns/bind/bind-9.16.22.ebuild
@@ -122,14 +122,14 @@ bind_configure() {
                --with-libtool
                --enable-full-report
                --without-readline
-               --with-openssl="${EPREFIX}"/usr
+               --with-openssl="${ESYSROOT}"/usr
                --without-cmocka
                $(use_enable caps linux-caps)
                $(use_enable dnsrps)
                $(use_enable dnstap)
                $(use_enable fixed-rrset)
                # $(use_enable static-libs static)
-               $(use_with berkdb dlz-bdb)
+               $(use_with berkdb dlz-bdb "${ESYSROOT}"/usr)
                $(use_with dlz dlopen)
                $(use_with dlz dlz-filesystem)
                $(use_with dlz dlz-stub)

Reply via email to