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