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.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id E262E138334 for ; Mon, 29 Oct 2018 08:50:40 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id F21EBE08FA; Mon, 29 Oct 2018 08:50:39 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id BF1B1E08FA for ; Mon, 29 Oct 2018 08:50:39 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id DDE9E335CE4 for ; Mon, 29 Oct 2018 08:50:36 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id B74B5450 for ; Mon, 29 Oct 2018 08:50:34 +0000 (UTC) From: "Alon Bar-Lev" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Alon Bar-Lev" Message-ID: <1540803023.4b2b97d9eba5edbd88ae804cf0b3b1385dc56600.alonbl@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/libksba/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-libs/libksba/libksba-1.3.5-r2.ebuild X-VCS-Directories: dev-libs/libksba/ X-VCS-Committer: alonbl X-VCS-Committer-Name: Alon Bar-Lev X-VCS-Revision: 4b2b97d9eba5edbd88ae804cf0b3b1385dc56600 X-VCS-Branch: master Date: Mon, 29 Oct 2018 08:50:34 +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-Archives-Salt: b6bb2aee-a5ce-4b51-8fee-7387d4ebe365 X-Archives-Hash: 17361902a4a50d8b3eaae1a7c346e13f commit: 4b2b97d9eba5edbd88ae804cf0b3b1385dc56600 Author: Alon Bar-Lev gentoo org> AuthorDate: Mon Oct 29 08:47:12 2018 +0000 Commit: Alon Bar-Lev gentoo org> CommitDate: Mon Oct 29 08:50:23 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4b2b97d9 dev-libs/libksba: support cross-compile + multilib Signed-off-by: Alon Bar-Lev gentoo.org> Package-Manager: Portage-2.3.49, Repoman-2.3.11 dev-libs/libksba/libksba-1.3.5-r2.ebuild | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/dev-libs/libksba/libksba-1.3.5-r2.ebuild b/dev-libs/libksba/libksba-1.3.5-r2.ebuild index ef29c486e9a..e184aa1c798 100644 --- a/dev-libs/libksba/libksba-1.3.5-r2.ebuild +++ b/dev-libs/libksba/libksba-1.3.5-r2.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2018 Gentoo Foundation +# Copyright 1999-2018 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -18,7 +18,9 @@ DEPEND="${RDEPEND}" src_configure() { econf \ $(use_enable static-libs static) \ - $(./configure --help | grep -- --with-.*-prefix | sed -e 's/prefix.*/prefix/' -e "s#\$#=${EROOT}/usr#") + GPG_ERROR_CONFIG="${EROOT}/usr/bin/${CHOST}-gpg-error-config" \ + LIBGCRYPT_CONFIG="${EROOT}/usr/bin/${CHOST}-libgcrypt-config" \ + $("${S}/configure" --help | grep -- '--without-.*-prefix' | sed -e 's/^ *\([^ ]*\) .*/\1/g') } src_install() {