1 |
commit: 2df79692ab69cbf9cd02b73af7a3fd77b9171ec6 |
2 |
Author: Alon Bar-Lev <alonbl <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Oct 29 08:45:50 2018 +0000 |
4 |
Commit: Alon Bar-Lev <alonbl <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Oct 29 08:50:23 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2df79692 |
7 |
|
8 |
dev-libs/libgpg-error: support cross-compile + multilib |
9 |
|
10 |
Closes: https://bugs.gentoo.org/show_bug.cgi?id=669906 |
11 |
Signed-off-by: Alon Bar-Lev <alonbl <AT> gentoo.org> |
12 |
Package-Manager: Portage-2.3.49, Repoman-2.3.11 |
13 |
|
14 |
dev-libs/libgpg-error/libgpg-error-1.32-r1.ebuild | 4 ++-- |
15 |
1 file changed, 2 insertions(+), 2 deletions(-) |
16 |
|
17 |
diff --git a/dev-libs/libgpg-error/libgpg-error-1.32-r1.ebuild b/dev-libs/libgpg-error/libgpg-error-1.32-r1.ebuild |
18 |
index 92257a968e2..f4369202985 100644 |
19 |
--- a/dev-libs/libgpg-error/libgpg-error-1.32-r1.ebuild |
20 |
+++ b/dev-libs/libgpg-error/libgpg-error-1.32-r1.ebuild |
21 |
@@ -1,4 +1,4 @@ |
22 |
-# Copyright 1999-2018 Gentoo Foundation |
23 |
+# Copyright 1999-2018 Gentoo Authors |
24 |
# Distributed under the terms of the GNU General Public License v2 |
25 |
|
26 |
EAPI=7 |
27 |
@@ -39,7 +39,7 @@ multilib_src_configure() { |
28 |
$(use_enable static-libs static) \ |
29 |
--enable-threads \ |
30 |
CC_FOR_BUILD="$(tc-getBUILD_CC)" \ |
31 |
- $("${S}/configure" --help | grep -- --with-.*-prefix | sed -e 's/prefix.*/prefix/' -e "s#\$#=${EROOT}/usr#") |
32 |
+ $("${S}/configure" --help | grep -- '--without-.*-prefix' | sed -e 's/^ *\([^ ]*\) .*/\1/g') |
33 |
} |
34 |
|
35 |
multilib_src_install_all() { |