diff options
author | Alon Bar-Lev <alonbl@gentoo.org> | 2018-10-06 02:30:01 +0300 |
---|---|---|
committer | Alon Bar-Lev <alonbl@gentoo.org> | 2018-10-06 03:32:19 +0300 |
commit | ec4dafe51ce23971d397b97091d69fe09ff86362 (patch) | |
tree | 52196745333a8372d345804f2355b70e1fe3e0a6 /dev-libs/libgcrypt | |
parent | dev-libs/libgpg-error: support cross-compile (diff) | |
download | gentoo-ec4dafe51ce23971d397b97091d69fe09ff86362.tar.gz gentoo-ec4dafe51ce23971d397b97091d69fe09ff86362.tar.bz2 gentoo-ec4dafe51ce23971d397b97091d69fe09ff86362.zip |
dev-libs/libgcrypt: support cross-compile
Signed-off-by: Alon Bar-Lev <alonbl@gentoo.org>
Package-Manager: Portage-2.3.49, Repoman-2.3.10
Diffstat (limited to 'dev-libs/libgcrypt')
-rw-r--r-- | dev-libs/libgcrypt/libgcrypt-1.8.3-r1.ebuild | 3 |
1 files changed, 2 insertions, 1 deletions
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() { |