From: Alon Bar-Lev Date: Mon, 29 Oct 2018 08:48:17 +0000 (+0200) Subject: app-crypt/pinentry: support cross-compile + multilib X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=27cc0ba0c1af58524de63c34870f46922cc1afd0;p=gentoo.git app-crypt/pinentry: support cross-compile + multilib Signed-off-by: Alon Bar-Lev Package-Manager: Portage-2.3.49, Repoman-2.3.11 --- diff --git a/app-crypt/pinentry/pinentry-1.1.0-r3.ebuild b/app-crypt/pinentry/pinentry-1.1.0-r3.ebuild index 82e3443aa1b3..ea2b5bdf4d6d 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() {