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 6FADD138334 for ; Mon, 29 Oct 2018 08:50:41 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 3CF3FE0905; Mon, 29 Oct 2018 08:50:40 +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 10015E0905 for ; Mon, 29 Oct 2018 08:50:39 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (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 AF664335C5A 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 CA341451 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: <1540803024.c2d53513054ac07f7e6895ea27a2d0f6a6310c07.alonbl@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/libassuan/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-libs/libassuan/libassuan-2.5.1-r1.ebuild X-VCS-Directories: dev-libs/libassuan/ X-VCS-Committer: alonbl X-VCS-Committer-Name: Alon Bar-Lev X-VCS-Revision: c2d53513054ac07f7e6895ea27a2d0f6a6310c07 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: 0519ea31-7751-4f46-996c-08c697406179 X-Archives-Hash: ece8c2a79764a0852c1ee7bba0f5786d commit: c2d53513054ac07f7e6895ea27a2d0f6a6310c07 Author: Alon Bar-Lev gentoo org> AuthorDate: Mon Oct 29 08:47:38 2018 +0000 Commit: Alon Bar-Lev gentoo org> CommitDate: Mon Oct 29 08:50:24 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c2d53513 dev-libs/libassuan: support cross-compile + multilib Signed-off-by: Alon Bar-Lev gentoo.org> Package-Manager: Portage-2.3.49, Repoman-2.3.11 dev-libs/libassuan/libassuan-2.5.1-r1.ebuild | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/dev-libs/libassuan/libassuan-2.5.1-r1.ebuild b/dev-libs/libassuan/libassuan-2.5.1-r1.ebuild index f834f0c7a39..8474c9c7dc6 100644 --- a/dev-libs/libassuan/libassuan-2.5.1-r1.ebuild +++ b/dev-libs/libassuan/libassuan-2.5.1-r1.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 @@ -35,7 +35,8 @@ src_prepare() { 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" \ + $("${S}/configure" --help | grep -- '--without-.*-prefix' | sed -e 's/^ *\([^ ]*\) .*/\1/g') } src_install() {