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