From 88feacf830a4693cb98b9995fa55d38ca69b9b0a Mon Sep 17 00:00:00 2001 From: Alon Bar-Lev Date: Sat, 6 Oct 2018 02:45:48 +0300 Subject: [PATCH] dev-libs/libksba: support cross-compile Signed-off-by: Alon Bar-Lev 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 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() { -- 2.26.2