From: Alon Bar-Lev Date: Fri, 5 Oct 2018 23:46:59 +0000 (+0300) Subject: app-crypt/pinentry: support cross-compile X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=050d244885e0598bc9a835ed7786d39fe3439649;p=gentoo.git app-crypt/pinentry: support cross-compile Signed-off-by: Alon Bar-Lev Package-Manager: Portage-2.3.49, Repoman-2.3.10 --- 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() {