commit:     6b6835d6628c39fa13ae6183ee9a0fb69ca77a1f
Author:     Matt Whitlock <gentoo <AT> mattwhitlock <DOT> name>
AuthorDate: Sat Apr 15 20:24:41 2023 +0000
Commit:     Viorel Munteanu <ceamac <AT> gentoo <DOT> org>
CommitDate: Sun Apr 16 12:25:56 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6b6835d6

sys-fs/f2fs-tools: add "lz4" and "lzo" USE flags

Closes: https://bugs.gentoo.org/904380
Signed-off-by: Matt Whitlock <gentoo <AT> mattwhitlock.name>
Closes: https://github.com/gentoo/gentoo/pull/30609
Signed-off-by: Viorel Munteanu <ceamac <AT> gentoo.org>

 sys-fs/f2fs-tools/f2fs-tools-1.16.0.ebuild | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/sys-fs/f2fs-tools/f2fs-tools-1.16.0.ebuild 
b/sys-fs/f2fs-tools/f2fs-tools-1.16.0.ebuild
index 3224cc7ec9ff..f670fbffdbfc 100644
--- a/sys-fs/f2fs-tools/f2fs-tools-1.16.0.ebuild
+++ b/sys-fs/f2fs-tools/f2fs-tools-1.16.0.ebuild
@@ -18,11 +18,11 @@ fi
 
 LICENSE="GPL-2"
 SLOT="0/10"
-IUSE="selinux"
+IUSE="lz4 lzo selinux"
 
 RDEPEND="
-       app-arch/lz4:=
-       dev-libs/lzo:2
+       lz4? ( app-arch/lz4:= )
+       lzo? ( dev-libs/lzo:2 )
        sys-apps/util-linux
        selinux? ( sys-libs/libselinux )
        elibc_musl? ( sys-libs/queue-standalone )
@@ -38,6 +38,8 @@ src_configure() {
        local myconf=(
                # This is required to install to /sbin, bug #481110
                --bindir="${EPREFIX}"/sbin
+               $(use_with lz4)
+               $(use_with lzo lzo2)
                $(use_with selinux)
        )
 

Reply via email to