commit: 50d4ef16bac69c3ae016a9e8626ed0a6c7c44748
Author: Alon Bar-Lev <alonbl <AT> gentoo <DOT> org>
AuthorDate: Fri Oct 5 23:46:25 2018 +0000
Commit: Alon Bar-Lev <alonbl <AT> gentoo <DOT> org>
CommitDate: Sat Oct 6 00:32:19 2018 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=50d4ef16
dev-libs/libassuan: support cross-compile
Signed-off-by: Alon Bar-Lev <alonbl <AT> gentoo.org>
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 89882fdf05b..f834f0c7a39 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() {