From 050d244885e0598bc9a835ed7786d39fe3439649 Mon Sep 17 00:00:00 2001 From: Alon Bar-Lev Date: Sat, 6 Oct 2018 02:46:59 +0300 Subject: [PATCH] app-crypt/pinentry: support cross-compile Signed-off-by: Alon Bar-Lev 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 4a322c8d5b45..0628c073c110 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() { -- 2.26.2