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/libgcrypt/
Date: Mon, 29 Oct 2018 08:50:39
Message-Id: 1540803023.61d83c45e370c29ea99f779d82c5133923ef2b14.alonbl@gentoo
1 commit: 61d83c45e370c29ea99f779d82c5133923ef2b14
2 Author: Alon Bar-Lev <alonbl <AT> gentoo <DOT> org>
3 AuthorDate: Mon Oct 29 08:46:36 2018 +0000
4 Commit: Alon Bar-Lev <alonbl <AT> gentoo <DOT> org>
5 CommitDate: Mon Oct 29 08:50:23 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=61d83c45
7
8 dev-libs/libgcrypt: 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/libgcrypt/libgcrypt-1.8.3-r1.ebuild | 4 ++--
14 1 file changed, 2 insertions(+), 2 deletions(-)
15
16 diff --git a/dev-libs/libgcrypt/libgcrypt-1.8.3-r1.ebuild b/dev-libs/libgcrypt/libgcrypt-1.8.3-r1.ebuild
17 index 02488a6c3c1..ffd3b99f24b 100644
18 --- a/dev-libs/libgcrypt/libgcrypt-1.8.3-r1.ebuild
19 +++ b/dev-libs/libgcrypt/libgcrypt-1.8.3-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 @@ -57,7 +57,7 @@ multilib_src_configure() {
27 GPG_ERROR_CONFIG="${EROOT}/usr/bin/${CHOST}-gpg-error-config"
28 )
29 ECONF_SOURCE="${S}" econf "${myeconfargs[@]}" \
30 - $("${S}/configure" --help | grep -- --with-.*-prefix | sed -e 's/prefix.*/prefix/' -e "s#\$#=${EROOT}/usr#")
31 + $("${S}/configure" --help | grep -- '--without-.*-prefix' | sed -e 's/^ *\([^ ]*\) .*/\1/g')
32 }
33
34 multilib_src_compile() {