diff options
author | Alon Bar-Lev <alonbl@gentoo.org> | 2018-10-29 10:47:12 +0200 |
---|---|---|
committer | Alon Bar-Lev <alonbl@gentoo.org> | 2018-10-29 10:50:23 +0200 |
commit | 4b2b97d9eba5edbd88ae804cf0b3b1385dc56600 (patch) | |
tree | 56236c3bfab5b3a404b70e1b63e2c8f3dbdd35b7 /dev-libs/libksba | |
parent | dev-libs/libgcrypt: support cross-compile + multilib (diff) | |
download | gentoo-4b2b97d9eba5edbd88ae804cf0b3b1385dc56600.tar.gz gentoo-4b2b97d9eba5edbd88ae804cf0b3b1385dc56600.tar.bz2 gentoo-4b2b97d9eba5edbd88ae804cf0b3b1385dc56600.zip |
dev-libs/libksba: 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 'dev-libs/libksba')
-rw-r--r-- | dev-libs/libksba/libksba-1.3.5-r2.ebuild | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/dev-libs/libksba/libksba-1.3.5-r2.ebuild b/dev-libs/libksba/libksba-1.3.5-r2.ebuild index ef29c486e9a7..e184aa1c7980 100644 --- a/dev-libs/libksba/libksba-1.3.5-r2.ebuild +++ b/dev-libs/libksba/libksba-1.3.5-r2.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2018 Gentoo Foundation +# Copyright 1999-2018 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -18,7 +18,9 @@ DEPEND="${RDEPEND}" src_configure() { econf \ $(use_enable static-libs static) \ - $(./configure --help | grep -- --with-.*-prefix | sed -e 's/prefix.*/prefix/' -e "s#\$#=${EROOT}/usr#") + GPG_ERROR_CONFIG="${EROOT}/usr/bin/${CHOST}-gpg-error-config" \ + LIBGCRYPT_CONFIG="${EROOT}/usr/bin/${CHOST}-libgcrypt-config" \ + $("${S}/configure" --help | grep -- '--without-.*-prefix' | sed -e 's/^ *\([^ ]*\) .*/\1/g') } src_install() { |