Gentoo Archives: gentoo-commits

From: Alon Bar-Lev <alonbl@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/libassuan/
Date: Mon, 29 Oct 2018 08:50:41
Message-Id: 1540803024.c2d53513054ac07f7e6895ea27a2d0f6a6310c07.alonbl@gentoo
1 commit: c2d53513054ac07f7e6895ea27a2d0f6a6310c07
2 Author: Alon Bar-Lev <alonbl <AT> gentoo <DOT> org>
3 AuthorDate: Mon Oct 29 08:47:38 2018 +0000
4 Commit: Alon Bar-Lev <alonbl <AT> gentoo <DOT> org>
5 CommitDate: Mon Oct 29 08:50:24 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c2d53513
7
8 dev-libs/libassuan: support cross-compile + multilib
9
10 Signed-off-by: Alon Bar-Lev <alonbl <AT> gentoo.org>
11 Package-Manager: Portage-2.3.49, Repoman-2.3.11
12
13 dev-libs/libassuan/libassuan-2.5.1-r1.ebuild | 5 +++--
14 1 file changed, 3 insertions(+), 2 deletions(-)
15
16 diff --git a/dev-libs/libassuan/libassuan-2.5.1-r1.ebuild b/dev-libs/libassuan/libassuan-2.5.1-r1.ebuild
17 index f834f0c7a39..8474c9c7dc6 100644
18 --- a/dev-libs/libassuan/libassuan-2.5.1-r1.ebuild
19 +++ b/dev-libs/libassuan/libassuan-2.5.1-r1.ebuild
20 @@ -1,4 +1,4 @@
21 -# Copyright 1999-2018 Gentoo Foundation
22 +# Copyright 1999-2018 Gentoo Authors
23 # Distributed under the terms of the GNU General Public License v2
24
25 EAPI=7
26 @@ -35,7 +35,8 @@ src_prepare() {
27 src_configure() {
28 econf \
29 $(use_enable static-libs static) \
30 - $(./configure --help | grep -- --with-.*-prefix | sed -e 's/prefix.*/prefix/' -e "s#\$#=${EROOT}/usr#")
31 + GPG_ERROR_CONFIG="${EROOT}/usr/bin/${CHOST}-gpg-error-config" \
32 + $("${S}/configure" --help | grep -- '--without-.*-prefix' | sed -e 's/^ *\([^ ]*\) .*/\1/g')
33 }
34
35 src_install() {