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: app-crypt/pinentry/
Date: Mon, 29 Oct 2018 08:50:42
Message-Id: 1540803024.27cc0ba0c1af58524de63c34870f46922cc1afd0.alonbl@gentoo
1 commit: 27cc0ba0c1af58524de63c34870f46922cc1afd0
2 Author: Alon Bar-Lev <alonbl <AT> gentoo <DOT> org>
3 AuthorDate: Mon Oct 29 08:48:17 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=27cc0ba0
7
8 app-crypt/pinentry: 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 app-crypt/pinentry/pinentry-1.1.0-r3.ebuild | 4 +++-
14 1 file changed, 3 insertions(+), 1 deletion(-)
15
16 diff --git a/app-crypt/pinentry/pinentry-1.1.0-r3.ebuild b/app-crypt/pinentry/pinentry-1.1.0-r3.ebuild
17 index 82e3443aa1b..ea2b5bdf4d6 100644
18 --- a/app-crypt/pinentry/pinentry-1.1.0-r3.ebuild
19 +++ b/app-crypt/pinentry/pinentry-1.1.0-r3.ebuild
20 @@ -75,7 +75,9 @@ src_configure() {
21 --enable-pinentry-tty \
22 FLTK_CONFIG="${EROOT}/usr/bin/fltk-config" \
23 MOC="$(qt5_get_bindir)"/moc \
24 - $(./configure --help | grep -- --with-.*-prefix | sed -e 's/prefix.*/prefix/' -e "s#\$#=${EROOT}/usr#")
25 + GPG_ERROR_CONFIG="${EROOT}/usr/bin/${CHOST}-gpg-error-config" \
26 + LIBASSUAN_CONFIG="${EROOT}/usr/bin/libassuan-config" \
27 + $("${S}/configure" --help | grep -- '--without-.*-prefix' | sed -e 's/^ *\([^ ]*\) .*/\1/g')
28 }
29
30 src_install() {