summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlon Bar-Lev <alonbl@gentoo.org>2018-10-29 10:45:50 +0200
committerAlon Bar-Lev <alonbl@gentoo.org>2018-10-29 10:50:23 +0200
commit2df79692ab69cbf9cd02b73af7a3fd77b9171ec6 (patch)
tree6320b6a41b32830c5fbd9ad177651262a07d54c3 /dev-libs/libgpg-error
parentmail-mta/msmtp: dohtml is banned in EAPI-7 (diff)
downloadgentoo-2df79692ab69cbf9cd02b73af7a3fd77b9171ec6.tar.gz
gentoo-2df79692ab69cbf9cd02b73af7a3fd77b9171ec6.tar.bz2
gentoo-2df79692ab69cbf9cd02b73af7a3fd77b9171ec6.zip
dev-libs/libgpg-error: support cross-compile + multilib
Closes: https://bugs.gentoo.org/show_bug.cgi?id=669906 Signed-off-by: Alon Bar-Lev <alonbl@gentoo.org> Package-Manager: Portage-2.3.49, Repoman-2.3.11
Diffstat (limited to 'dev-libs/libgpg-error')
-rw-r--r--dev-libs/libgpg-error/libgpg-error-1.32-r1.ebuild4
1 files changed, 2 insertions, 2 deletions
diff --git a/dev-libs/libgpg-error/libgpg-error-1.32-r1.ebuild b/dev-libs/libgpg-error/libgpg-error-1.32-r1.ebuild
index 92257a968e2a..f43692029854 100644
--- a/dev-libs/libgpg-error/libgpg-error-1.32-r1.ebuild
+++ b/dev-libs/libgpg-error/libgpg-error-1.32-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
@@ -39,7 +39,7 @@ multilib_src_configure() {
$(use_enable static-libs static) \
--enable-threads \
CC_FOR_BUILD="$(tc-getBUILD_CC)" \
- $("${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_install_all() {