summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlon Bar-Lev <alonbl@gentoo.org>2018-10-06 02:46:59 +0300
committerAlon Bar-Lev <alonbl@gentoo.org>2018-10-06 03:32:19 +0300
commit050d244885e0598bc9a835ed7786d39fe3439649 (patch)
treea3e8b5f83e889f8db6a0a8a762481e189180233d /app-crypt
parentdev-libs/libassuan: support cross-compile (diff)
downloadgentoo-050d244885e0598bc9a835ed7786d39fe3439649.tar.gz
gentoo-050d244885e0598bc9a835ed7786d39fe3439649.tar.bz2
gentoo-050d244885e0598bc9a835ed7786d39fe3439649.zip
app-crypt/pinentry: support cross-compile
Signed-off-by: Alon Bar-Lev <alonbl@gentoo.org> Package-Manager: Portage-2.3.49, Repoman-2.3.10
Diffstat (limited to 'app-crypt')
-rw-r--r--app-crypt/pinentry/pinentry-1.1.0-r3.ebuild3
1 files changed, 2 insertions, 1 deletions
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() {