commit:     c29d76ec44c5a81a96d99b32fe46cc1d889453f9
Author:     Fergus Dall <sidereal <AT> google <DOT> com>
AuthorDate: Wed Nov 20 04:32:34 2019 +0000
Commit:     Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Mon Jun  1 12:46:34 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c29d76ec

sys-fs/lxcfs: Add "--with-distro=gentoo" to econf

This is required for cross-compiling to work

Closes: https://bugs.gentoo.org/700746
Signed-off-by: Fergus Dall <sidereal <AT> google.com>
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>

 sys-fs/lxcfs/lxcfs-4.0.3.ebuild | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/sys-fs/lxcfs/lxcfs-4.0.3.ebuild b/sys-fs/lxcfs/lxcfs-4.0.3.ebuild
index 2c44e836a2c..8d4d3457c61 100644
--- a/sys-fs/lxcfs/lxcfs-4.0.3.ebuild
+++ b/sys-fs/lxcfs/lxcfs-4.0.3.ebuild
@@ -32,7 +32,8 @@ src_prepare() {
 
 src_configure() {
        # Without the localstatedir the filesystem isn't mounted correctly
-       econf --localstatedir=/var
+       # Without with-distro ./configure will fail when cross-compiling
+       econf --localstatedir=/var --with-distro=gentoo
 }
 
 src_test() {

Reply via email to