commit: 88feacf830a4693cb98b9995fa55d38ca69b9b0a
Author: Alon Bar-Lev <alonbl <AT> gentoo <DOT> org>
AuthorDate: Fri Oct 5 23:45:48 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=88feacf8
dev-libs/libksba: support cross-compile
Signed-off-by: Alon Bar-Lev <alonbl <AT> gentoo.org>
Package-Manager: Portage-2.3.49, Repoman-2.3.10
dev-libs/libksba/libksba-1.3.5-r2.ebuild | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/dev-libs/libksba/libksba-1.3.5-r2.ebuild
b/dev-libs/libksba/libksba-1.3.5-r2.ebuild
index b8c1d0eee73..ef29c486e9a 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() {