1 |
commit: 50d4ef16bac69c3ae016a9e8626ed0a6c7c44748 |
2 |
Author: Alon Bar-Lev <alonbl <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Oct 5 23:46:25 2018 +0000 |
4 |
Commit: Alon Bar-Lev <alonbl <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Oct 6 00:32:19 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=50d4ef16 |
7 |
|
8 |
dev-libs/libassuan: support cross-compile |
9 |
|
10 |
Signed-off-by: Alon Bar-Lev <alonbl <AT> gentoo.org> |
11 |
Package-Manager: Portage-2.3.49, Repoman-2.3.10 |
12 |
|
13 |
dev-libs/libassuan/libassuan-2.5.1-r1.ebuild | 3 ++- |
14 |
1 file changed, 2 insertions(+), 1 deletion(-) |
15 |
|
16 |
diff --git a/dev-libs/libassuan/libassuan-2.5.1-r1.ebuild b/dev-libs/libassuan/libassuan-2.5.1-r1.ebuild |
17 |
index 89882fdf05b..f834f0c7a39 100644 |
18 |
--- a/dev-libs/libassuan/libassuan-2.5.1-r1.ebuild |
19 |
+++ b/dev-libs/libassuan/libassuan-2.5.1-r1.ebuild |
20 |
@@ -34,7 +34,8 @@ src_prepare() { |
21 |
|
22 |
src_configure() { |
23 |
econf \ |
24 |
- $(use_enable static-libs static) |
25 |
+ $(use_enable static-libs static) \ |
26 |
+ $(./configure --help | grep -- --with-.*-prefix | sed -e 's/prefix.*/prefix/' -e "s#\$#=${EROOT}/usr#") |
27 |
} |
28 |
|
29 |
src_install() { |