1 |
commit: c29d76ec44c5a81a96d99b32fe46cc1d889453f9 |
2 |
Author: Fergus Dall <sidereal <AT> google <DOT> com> |
3 |
AuthorDate: Wed Nov 20 04:32:34 2019 +0000 |
4 |
Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Jun 1 12:46:34 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c29d76ec |
7 |
|
8 |
sys-fs/lxcfs: Add "--with-distro=gentoo" to econf |
9 |
|
10 |
This is required for cross-compiling to work |
11 |
|
12 |
Closes: https://bugs.gentoo.org/700746 |
13 |
Signed-off-by: Fergus Dall <sidereal <AT> google.com> |
14 |
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org> |
15 |
|
16 |
sys-fs/lxcfs/lxcfs-4.0.3.ebuild | 3 ++- |
17 |
1 file changed, 2 insertions(+), 1 deletion(-) |
18 |
|
19 |
diff --git a/sys-fs/lxcfs/lxcfs-4.0.3.ebuild b/sys-fs/lxcfs/lxcfs-4.0.3.ebuild |
20 |
index 2c44e836a2c..8d4d3457c61 100644 |
21 |
--- a/sys-fs/lxcfs/lxcfs-4.0.3.ebuild |
22 |
+++ b/sys-fs/lxcfs/lxcfs-4.0.3.ebuild |
23 |
@@ -32,7 +32,8 @@ src_prepare() { |
24 |
|
25 |
src_configure() { |
26 |
# Without the localstatedir the filesystem isn't mounted correctly |
27 |
- econf --localstatedir=/var |
28 |
+ # Without with-distro ./configure will fail when cross-compiling |
29 |
+ econf --localstatedir=/var --with-distro=gentoo |
30 |
} |
31 |
|
32 |
src_test() { |