Gentoo Archives: gentoo-commits

From: Alon Bar-Lev <alonbl@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/libgpg-error/
Date: Sat, 06 Oct 2018 00:32:37
Message-Id: 1538785938.0033b2f1349d625cc3db693d75206f3a80c09f8b.alonbl@gentoo
1 commit: 0033b2f1349d625cc3db693d75206f3a80c09f8b
2 Author: Alon Bar-Lev <alonbl <AT> gentoo <DOT> org>
3 AuthorDate: Fri Oct 5 23:29:02 2018 +0000
4 Commit: Alon Bar-Lev <alonbl <AT> gentoo <DOT> org>
5 CommitDate: Sat Oct 6 00:32:18 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0033b2f1
7
8 dev-libs/libgpg-error: support cross-compile
9
10 Signed-off-by: Alon Bar-Lev <alonbl <AT> gentoo.org>
11 Package-Manager: Portage-2.3.49, Repoman-2.3.10
12
13 dev-libs/libgpg-error/libgpg-error-1.32-r1.ebuild | 3 ++-
14 1 file changed, 2 insertions(+), 1 deletion(-)
15
16 diff --git a/dev-libs/libgpg-error/libgpg-error-1.32-r1.ebuild b/dev-libs/libgpg-error/libgpg-error-1.32-r1.ebuild
17 index 054a4649584..92257a968e2 100644
18 --- a/dev-libs/libgpg-error/libgpg-error-1.32-r1.ebuild
19 +++ b/dev-libs/libgpg-error/libgpg-error-1.32-r1.ebuild
20 @@ -38,7 +38,8 @@ multilib_src_configure() {
21 $(use_enable nls) \
22 $(use_enable static-libs static) \
23 --enable-threads \
24 - CC_FOR_BUILD="$(tc-getBUILD_CC)"
25 + CC_FOR_BUILD="$(tc-getBUILD_CC)" \
26 + $("${S}/configure" --help | grep -- --with-.*-prefix | sed -e 's/prefix.*/prefix/' -e "s#\$#=${EROOT}/usr#")
27 }
28
29 multilib_src_install_all() {