diff options
author | Alon Bar-Lev <alonbl@gentoo.org> | 2018-10-29 10:46:36 +0200 |
---|---|---|
committer | Alon Bar-Lev <alonbl@gentoo.org> | 2018-10-29 10:50:23 +0200 |
commit | 61d83c45e370c29ea99f779d82c5133923ef2b14 (patch) | |
tree | 309a0f3b07b0c311a695fde7c5b7984abf1c8a56 | |
parent | dev-libs/libgpg-error: support cross-compile + multilib (diff) | |
download | gentoo-61d83c45e370c29ea99f779d82c5133923ef2b14.tar.gz gentoo-61d83c45e370c29ea99f779d82c5133923ef2b14.tar.bz2 gentoo-61d83c45e370c29ea99f779d82c5133923ef2b14.zip |
dev-libs/libgcrypt: support cross-compile + multilib
Signed-off-by: Alon Bar-Lev <alonbl@gentoo.org>
Package-Manager: Portage-2.3.49, Repoman-2.3.11
-rw-r--r-- | dev-libs/libgcrypt/libgcrypt-1.8.3-r1.ebuild | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/dev-libs/libgcrypt/libgcrypt-1.8.3-r1.ebuild b/dev-libs/libgcrypt/libgcrypt-1.8.3-r1.ebuild index 02488a6c3c14..ffd3b99f24b0 100644 --- a/dev-libs/libgcrypt/libgcrypt-1.8.3-r1.ebuild +++ b/dev-libs/libgcrypt/libgcrypt-1.8.3-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 @@ -57,7 +57,7 @@ multilib_src_configure() { GPG_ERROR_CONFIG="${EROOT}/usr/bin/${CHOST}-gpg-error-config" ) ECONF_SOURCE="${S}" econf "${myeconfargs[@]}" \ - $("${S}/configure" --help | grep -- --with-.*-prefix | sed -e 's/prefix.*/prefix/' -e "s#\$#=${EROOT}/usr#") + $("${S}/configure" --help | grep -- '--without-.*-prefix' | sed -e 's/^ *\([^ ]*\) .*/\1/g') } multilib_src_compile() { |