From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: 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 31E7A15808B for ; Sun, 27 Mar 2022 00:24:25 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 6AD88E0864; Sun, 27 Mar 2022 00:24:24 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 4B16EE0864 for ; Sun, 27 Mar 2022 00:24:24 +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)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 8C84E342EE6 for ; Sun, 27 Mar 2022 00:24:23 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 3D9CE2B0 for ; Sun, 27 Mar 2022 00:24:22 +0000 (UTC) From: "Sam James" 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" Message-ID: <1648340647.0c75271342c1cc3e83f0c03dbb04b9e2096c7af5.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: net-dns/unbound/ X-VCS-Repository: repo/gentoo X-VCS-Files: net-dns/unbound/unbound-1.13.2-r1.ebuild X-VCS-Directories: net-dns/unbound/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 0c75271342c1cc3e83f0c03dbb04b9e2096c7af5 X-VCS-Branch: master Date: Sun, 27 Mar 2022 00:24:22 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: e83d2f24-cb32-45db-88ea-8d6de9e96193 X-Archives-Hash: a190f345a6b9a7ab63748642af01382e commit: 0c75271342c1cc3e83f0c03dbb04b9e2096c7af5 Author: Bertrand Jacquin jacquin bzh> AuthorDate: Sat Mar 26 17:28:27 2022 +0000 Commit: Sam James gentoo org> CommitDate: Sun Mar 27 00:24:07 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0c752713 net-dns/unbound: specify dependency location from sysroot configure needs to find the location of libevent and other build time and runtime dependencies from sysroot instead of build host to allow cross compilation. This can be replicated by having dev-libs/libevent not installed on the build host and cross compiling net-dns/unbound, leading to error like: .. ./configure .. --with-libevent=/usr ..--with-ssl=/usr --with-libexpat=/usr .. checking for libevent... configure: error: Cannot find the libevent library in /usr Bug: https://bugs.gentoo.org/836214 Signed-off-by: Bertrand Jacquin jacquin.bzh> Package-Manager: Portage-3.0.30, Repoman-3.0.3 Closes: https://github.com/gentoo/gentoo/pull/24764 Signed-off-by: Sam James gentoo.org> net-dns/unbound/unbound-1.13.2-r1.ebuild | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/net-dns/unbound/unbound-1.13.2-r1.ebuild b/net-dns/unbound/unbound-1.13.2-r1.ebuild index 8b892a13ee54..52208581e7b2 100644 --- a/net-dns/unbound/unbound-1.13.2-r1.ebuild +++ b/net-dns/unbound/unbound-1.13.2-r1.ebuild @@ -111,12 +111,12 @@ multilib_src_configure() { --disable-rpath \ --enable-event-api \ --enable-ipsecmod \ - --with-libevent="${EPREFIX}"/usr \ - $(multilib_native_usex redis --with-libhiredis="${EPREFIX}/usr" --without-libhiredis) \ + --with-libevent="${ESYSROOT}"/usr \ + $(multilib_native_usex redis --with-libhiredis="${ESYSROOT}/usr" --without-libhiredis) \ --with-pidfile="${EPREFIX}"/run/unbound.pid \ --with-rootkey-file="${EPREFIX}"/etc/dnssec/root-anchors.txt \ - --with-ssl="${EPREFIX}"/usr \ - --with-libexpat="${EPREFIX}"/usr + --with-ssl="${ESYSROOT}"/usr \ + --with-libexpat="${ESYSROOT}"/usr # http://unbound.nlnetlabs.nl/pipermail/unbound-users/2011-April/001801.html # $(use_enable debug lock-checks) \