commit: d01126a180eb92f13b503cea8915351a7b18e254
Author: Alon Bar-Lev <alonbl <AT> gentoo <DOT> org>
AuthorDate: Mon Oct 29 08:48:52 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=d01126a1
app-crypt/gnupg: 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/gnupg/gnupg-2.2.10-r2.ebuild | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/app-crypt/gnupg/gnupg-2.2.10-r2.ebuild
b/app-crypt/gnupg/gnupg-2.2.10-r2.ebuild
index 2bf51b3eec8..9e198106fa3 100644
--- a/app-crypt/gnupg/gnupg-2.2.10-r2.ebuild
+++ b/app-crypt/gnupg/gnupg-2.2.10-r2.ebuild
@@ -93,7 +93,12 @@ src_configure() {
--enable-gpgsm \
--enable-large-secmem \
CC_FOR_BUILD="$(tc-getBUILD_CC)" \
- $(./configure --help | grep -- --with-.*-prefix | sed -e
's/prefix.*/prefix/' -e "s#\$#=${EROOT}/usr#")
+ GPG_ERROR_CONFIG="${EROOT}/usr/bin/${CHOST}-gpg-error-config" \
+ KSBA_CONFIG="${EROOT}/usr/bin/ksba-config" \
+ LIBASSUAN_CONFIG="${EROOT}/usr/bin/libassuan-config" \
+ LIBGCRYPT_CONFIG="${EROOT}/usr/bin/${CHOST}-libgcrypt-config" \
+ NPTH_CONFIG="${EROOT}/usr/bin/npth-config" \
+ $("${S}/configure" --help | grep -- '--without-.*-prefix' | sed
-e 's/^ *\([^ ]*\) .*/\1/g')
}
src_compile() {