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: app-crypt/pinentry/
Date: Sat, 06 Oct 2018 00:32:38
Message-Id: 1538785939.050d244885e0598bc9a835ed7786d39fe3439649.alonbl@gentoo
1 commit: 050d244885e0598bc9a835ed7786d39fe3439649
2 Author: Alon Bar-Lev <alonbl <AT> gentoo <DOT> org>
3 AuthorDate: Fri Oct 5 23:46:59 2018 +0000
4 Commit: Alon Bar-Lev <alonbl <AT> gentoo <DOT> org>
5 CommitDate: Sat Oct 6 00:32:19 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=050d2448
7
8 app-crypt/pinentry: 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 app-crypt/pinentry/pinentry-1.1.0-r3.ebuild | 3 ++-
14 1 file changed, 2 insertions(+), 1 deletion(-)
15
16 diff --git a/app-crypt/pinentry/pinentry-1.1.0-r3.ebuild b/app-crypt/pinentry/pinentry-1.1.0-r3.ebuild
17 index 4a322c8d5b4..0628c073c11 100644
18 --- a/app-crypt/pinentry/pinentry-1.1.0-r3.ebuild
19 +++ b/app-crypt/pinentry/pinentry-1.1.0-r3.ebuild
20 @@ -73,7 +73,8 @@ src_configure() {
21 $(use_enable qt5 pinentry-qt) \
22 $(use_with caps libcap) \
23 --enable-pinentry-tty \
24 - MOC="$(qt5_get_bindir)"/moc
25 + MOC="$(qt5_get_bindir)"/moc \
26 + $(./configure --help | grep -- --with-.*-prefix | sed -e 's/prefix.*/prefix/' -e "s#\$#=${EROOT}/usr#")
27 }
28
29 src_install() {