diff options
author | Alon Bar-Lev <alonbl@gentoo.org> | 2018-10-29 10:48:52 +0200 |
---|---|---|
committer | Alon Bar-Lev <alonbl@gentoo.org> | 2018-10-29 10:50:24 +0200 |
commit | d01126a180eb92f13b503cea8915351a7b18e254 (patch) | |
tree | 388865ff8e8e7ffcbed99ea3a0b2b3cb0b24ab70 /app-crypt | |
parent | app-crypt/pinentry: support cross-compile + multilib (diff) | |
download | gentoo-d01126a180eb92f13b503cea8915351a7b18e254.tar.gz gentoo-d01126a180eb92f13b503cea8915351a7b18e254.tar.bz2 gentoo-d01126a180eb92f13b503cea8915351a7b18e254.zip |
app-crypt/gnupg: 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')
-rw-r--r-- | app-crypt/gnupg/gnupg-2.2.10-r2.ebuild | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/app-crypt/gnupg/gnupg-2.2.10-r2.ebuild b/app-crypt/gnupg/gnupg-2.2.10-r2.ebuild index 2bf51b3eec85..9e198106fa36 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() { |