summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlon Bar-Lev <alonbl@gentoo.org>2018-10-29 10:48:17 +0200
committerAlon Bar-Lev <alonbl@gentoo.org>2018-10-29 10:50:24 +0200
commit27cc0ba0c1af58524de63c34870f46922cc1afd0 (patch)
tree5aa839570fd71454750be3051feef053e37090b4 /app-crypt/pinentry
parentdev-libs/libassuan: support cross-compile + multilib (diff)
downloadgentoo-27cc0ba0c1af58524de63c34870f46922cc1afd0.tar.gz
gentoo-27cc0ba0c1af58524de63c34870f46922cc1afd0.tar.bz2
gentoo-27cc0ba0c1af58524de63c34870f46922cc1afd0.zip
app-crypt/pinentry: support cross-compile + multilib
Signed-off-by: Alon Bar-Lev <alonbl@gentoo.org> Package-Manager: Portage-2.3.49, Repoman-2.3.11
Diffstat (limited to 'app-crypt/pinentry')
-rw-r--r--app-crypt/pinentry/pinentry-1.1.0-r3.ebuild4
1 files changed, 3 insertions, 1 deletions
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() {