commit: 050d244885e0598bc9a835ed7786d39fe3439649 Author: Alon Bar-Lev <alonbl <AT> gentoo <DOT> org> AuthorDate: Fri Oct 5 23:46:59 2018 +0000 Commit: Alon Bar-Lev <alonbl <AT> gentoo <DOT> org> CommitDate: Sat Oct 6 00:32:19 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=050d2448
app-crypt/pinentry: support cross-compile Signed-off-by: Alon Bar-Lev <alonbl <AT> gentoo.org> Package-Manager: Portage-2.3.49, Repoman-2.3.10 app-crypt/pinentry/pinentry-1.1.0-r3.ebuild | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app-crypt/pinentry/pinentry-1.1.0-r3.ebuild b/app-crypt/pinentry/pinentry-1.1.0-r3.ebuild index 4a322c8d5b4..0628c073c11 100644 --- a/app-crypt/pinentry/pinentry-1.1.0-r3.ebuild +++ b/app-crypt/pinentry/pinentry-1.1.0-r3.ebuild @@ -73,7 +73,8 @@ src_configure() { $(use_enable qt5 pinentry-qt) \ $(use_with caps libcap) \ --enable-pinentry-tty \ - MOC="$(qt5_get_bindir)"/moc + MOC="$(qt5_get_bindir)"/moc \ + $(./configure --help | grep -- --with-.*-prefix | sed -e 's/prefix.*/prefix/' -e "s#\$#=${EROOT}/usr#") } src_install() {