From ec4dafe51ce23971d397b97091d69fe09ff86362 Mon Sep 17 00:00:00 2001 From: Alon Bar-Lev Date: Sat, 6 Oct 2018 02:30:01 +0300 Subject: [PATCH] dev-libs/libgcrypt: support cross-compile Signed-off-by: Alon Bar-Lev Package-Manager: Portage-2.3.49, Repoman-2.3.10 --- dev-libs/libgcrypt/libgcrypt-1.8.3-r1.ebuild | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/dev-libs/libgcrypt/libgcrypt-1.8.3-r1.ebuild b/dev-libs/libgcrypt/libgcrypt-1.8.3-r1.ebuild index 4f3b5d971968..02488a6c3c14 100644 --- a/dev-libs/libgcrypt/libgcrypt-1.8.3-r1.ebuild +++ b/dev-libs/libgcrypt/libgcrypt-1.8.3-r1.ebuild @@ -56,7 +56,8 @@ multilib_src_configure() { GPG_ERROR_CONFIG="${EROOT}/usr/bin/${CHOST}-gpg-error-config" ) - ECONF_SOURCE="${S}" econf "${myeconfargs[@]}" + ECONF_SOURCE="${S}" econf "${myeconfargs[@]}" \ + $("${S}/configure" --help | grep -- --with-.*-prefix | sed -e 's/prefix.*/prefix/' -e "s#\$#=${EROOT}/usr#") } multilib_src_compile() { -- 2.26.2