From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-1338137-garchives=archives.gentoo.org@lists.gentoo.org>
Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (2048 bits))
	(No client certificate requested)
	by finch.gentoo.org (Postfix) with ESMTPS id A52D7158086
	for <garchives@archives.gentoo.org>; Wed, 10 Nov 2021 05:40:40 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 2F14F2BC042;
	Wed, 10 Nov 2021 05:40:39 +0000 (UTC)
Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256)
	(No client certificate requested)
	by pigeon.gentoo.org (Postfix) with ESMTPS id 370EC2BC047
	for <gentoo-commits@lists.gentoo.org>; Wed, 10 Nov 2021 05:40:38 +0000 (UTC)
Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256)
	(No client certificate requested)
	by smtp.gentoo.org (Postfix) with ESMTPS id 6716C342D15
	for <gentoo-commits@lists.gentoo.org>; Wed, 10 Nov 2021 05:40:36 +0000 (UTC)
Received: from localhost.localdomain (localhost [IPv6:::1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id D612379
	for <gentoo-commits@lists.gentoo.org>; Wed, 10 Nov 2021 05:40:34 +0000 (UTC)
From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Content-Transfer-Encoding: 8bit
Content-type: text/plain; charset=UTF-8
Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" <sam@gentoo.org>
Message-ID: <1636522638.209d2266879aa701b67812f45aa35ed067e0ff21.sam@gentoo>
Subject: [gentoo-commits] repo/gentoo:master commit in: net-dns/bind/
X-VCS-Repository: repo/gentoo
X-VCS-Files: net-dns/bind/bind-9.16.22.ebuild
X-VCS-Directories: net-dns/bind/
X-VCS-Committer: sam
X-VCS-Committer-Name: Sam James
X-VCS-Revision: 209d2266879aa701b67812f45aa35ed067e0ff21
X-VCS-Branch: master
Date: Wed, 10 Nov 2021 05:40:34 +0000 (UTC)
Precedence: bulk
List-Post: <mailto:gentoo-commits@lists.gentoo.org>
List-Help: <mailto:gentoo-commits+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org>
X-BeenThere: gentoo-commits@lists.gentoo.org
X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply
X-Archives-Salt: 4cf076c4-24eb-4072-a9cf-a47a846e43cb
X-Archives-Hash: cf5e2ab2e54fe110c5733146054d44ae

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)