commit:     5a643c70cf7fa702741f8c4dadbad60097b05d0a
Author:     Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org>
AuthorDate: Thu Aug 27 08:02:47 2020 +0000
Commit:     Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org>
CommitDate: Thu Aug 27 08:08:27 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5a643c70

sys-fs/zfs: backport nls useflag to 0.8.4

Package-Manager: Portage-3.0.4, Repoman-3.0.1
Signed-off-by: Georgy Yakovlev <gyakovlev <AT> gentoo.org>

 sys-fs/zfs/zfs-0.8.4-r2.ebuild | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/sys-fs/zfs/zfs-0.8.4-r2.ebuild b/sys-fs/zfs/zfs-0.8.4-r2.ebuild
index b24ddaf0dcb..50fa48c210c 100644
--- a/sys-fs/zfs/zfs-0.8.4-r2.ebuild
+++ b/sys-fs/zfs/zfs-0.8.4-r2.ebuild
@@ -21,7 +21,7 @@ fi
 
 LICENSE="BSD-2 CDDL MIT"
 SLOT="0"
-IUSE="custom-cflags debug kernel-builtin libressl python +rootfs test-suite 
static-libs"
+IUSE="custom-cflags debug kernel-builtin libressl nls python +rootfs 
test-suite static-libs"
 
 DEPEND="
        ${PYTHON_DEPS}
@@ -39,6 +39,7 @@ DEPEND="
 
 BDEPEND="virtual/awk
        virtual/pkgconfig
+       nls? ( sys-devel/gettext )
        python? (
                dev-python/setuptools[${PYTHON_USEDEP}]
        )
@@ -136,6 +137,7 @@ src_configure() {
                --with-systemdunitdir="$(systemd_get_systemunitdir)"
                --with-systemdpresetdir="${EPREFIX}/lib/systemd/system-preset"
                $(use_enable debug)
+               $(use_enable nls)
                $(use_enable python pyzfs)
                $(use_enable static-libs static)
        )

Reply via email to