summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlon Bar-Lev <alonbl@gentoo.org>2018-10-06 02:45:48 +0300
committerAlon Bar-Lev <alonbl@gentoo.org>2018-10-06 03:32:19 +0300
commit88feacf830a4693cb98b9995fa55d38ca69b9b0a (patch)
treea154cef633f0e32ca94f405a0a1b5c68e5764f02 /dev-libs/libksba
parentdev-libs/libgcrypt: support cross-compile (diff)
downloadgentoo-88feacf830a4693cb98b9995fa55d38ca69b9b0a.tar.gz
gentoo-88feacf830a4693cb98b9995fa55d38ca69b9b0a.tar.bz2
gentoo-88feacf830a4693cb98b9995fa55d38ca69b9b0a.zip
dev-libs/libksba: 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 'dev-libs/libksba')
-rw-r--r--dev-libs/libksba/libksba-1.3.5-r2.ebuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/dev-libs/libksba/libksba-1.3.5-r2.ebuild b/dev-libs/libksba/libksba-1.3.5-r2.ebuild
index b8c1d0eee738..ef29c486e9a7 100644
--- a/dev-libs/libksba/libksba-1.3.5-r2.ebuild
+++ b/dev-libs/libksba/libksba-1.3.5-r2.ebuild
@@ -17,7 +17,8 @@ DEPEND="${RDEPEND}"
src_configure() {
econf \
- $(use_enable static-libs static)
+ $(use_enable static-libs static) \
+ $(./configure --help | grep -- --with-.*-prefix | sed -e 's/prefix.*/prefix/' -e "s#\$#=${EROOT}/usr#")
}
src_install() {