diff options
author | Alon Bar-Lev <alonbl@gentoo.org> | 2018-10-29 10:47:38 +0200 |
---|---|---|
committer | Alon Bar-Lev <alonbl@gentoo.org> | 2018-10-29 10:50:24 +0200 |
commit | c2d53513054ac07f7e6895ea27a2d0f6a6310c07 (patch) | |
tree | 3fedf2b38cd360d689e34f1878d87cd0be74b569 /dev-libs/libassuan | |
parent | dev-libs/libksba: support cross-compile + multilib (diff) | |
download | gentoo-c2d53513054ac07f7e6895ea27a2d0f6a6310c07.tar.gz gentoo-c2d53513054ac07f7e6895ea27a2d0f6a6310c07.tar.bz2 gentoo-c2d53513054ac07f7e6895ea27a2d0f6a6310c07.zip |
dev-libs/libassuan: 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/libassuan')
-rw-r--r-- | dev-libs/libassuan/libassuan-2.5.1-r1.ebuild | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/dev-libs/libassuan/libassuan-2.5.1-r1.ebuild b/dev-libs/libassuan/libassuan-2.5.1-r1.ebuild index f834f0c7a39c..8474c9c7dc66 100644 --- a/dev-libs/libassuan/libassuan-2.5.1-r1.ebuild +++ b/dev-libs/libassuan/libassuan-2.5.1-r1.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 @@ -35,7 +35,8 @@ src_prepare() { 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" \ + $("${S}/configure" --help | grep -- '--without-.*-prefix' | sed -e 's/^ *\([^ ]*\) .*/\1/g') } src_install() { |