From 50d4ef16bac69c3ae016a9e8626ed0a6c7c44748 Mon Sep 17 00:00:00 2001 From: Alon Bar-Lev Date: Sat, 6 Oct 2018 02:46:25 +0300 Subject: [PATCH] dev-libs/libassuan: support cross-compile Signed-off-by: Alon Bar-Lev Package-Manager: Portage-2.3.49, Repoman-2.3.10 --- dev-libs/libassuan/libassuan-2.5.1-r1.ebuild | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/dev-libs/libassuan/libassuan-2.5.1-r1.ebuild b/dev-libs/libassuan/libassuan-2.5.1-r1.ebuild index 89882fdf05bf..f834f0c7a39c 100644 --- a/dev-libs/libassuan/libassuan-2.5.1-r1.ebuild +++ b/dev-libs/libassuan/libassuan-2.5.1-r1.ebuild @@ -34,7 +34,8 @@ src_prepare() { 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