commit:     27cc0ba0c1af58524de63c34870f46922cc1afd0
Author:     Alon Bar-Lev <alonbl <AT> gentoo <DOT> org>
AuthorDate: Mon Oct 29 08:48:17 2018 +0000
Commit:     Alon Bar-Lev <alonbl <AT> gentoo <DOT> org>
CommitDate: Mon Oct 29 08:50:24 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=27cc0ba0

app-crypt/pinentry: support cross-compile + multilib

Signed-off-by: Alon Bar-Lev <alonbl <AT> gentoo.org>
Package-Manager: Portage-2.3.49, Repoman-2.3.11

 app-crypt/pinentry/pinentry-1.1.0-r3.ebuild | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/app-crypt/pinentry/pinentry-1.1.0-r3.ebuild 
b/app-crypt/pinentry/pinentry-1.1.0-r3.ebuild
index 82e3443aa1b..ea2b5bdf4d6 100644
--- a/app-crypt/pinentry/pinentry-1.1.0-r3.ebuild
+++ b/app-crypt/pinentry/pinentry-1.1.0-r3.ebuild
@@ -75,7 +75,9 @@ src_configure() {
                --enable-pinentry-tty \
                FLTK_CONFIG="${EROOT}/usr/bin/fltk-config" \
                MOC="$(qt5_get_bindir)"/moc \
-               $(./configure --help | grep -- --with-.*-prefix | sed -e 
's/prefix.*/prefix/' -e "s#\$#=${EROOT}/usr#")
+               GPG_ERROR_CONFIG="${EROOT}/usr/bin/${CHOST}-gpg-error-config" \
+               LIBASSUAN_CONFIG="${EROOT}/usr/bin/libassuan-config" \
+               $("${S}/configure" --help | grep -- '--without-.*-prefix' | sed 
-e 's/^ *\([^ ]*\) .*/\1/g')
 }
 
 src_install() {

Reply via email to