commit:     2bb2da5b4cee449470c300fbebbababab1b0c914
Author:     Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
AuthorDate: Fri Dec 20 07:57:08 2019 +0000
Commit:     Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
CommitDate: Fri Dec 20 08:01:23 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2bb2da5b

sys-apps/file: Renamed "xz" USE flag to "lzma"

Package-Manager: Portage-2.3.82, Repoman-2.3.20
Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org>

 sys-apps/file/file-5.38.ebuild | 6 +++---
 sys-apps/file/metadata.xml     | 3 ---
 2 files changed, 3 insertions(+), 6 deletions(-)

diff --git a/sys-apps/file/file-5.38.ebuild b/sys-apps/file/file-5.38.ebuild
index 958e7673b08..74b955f43b6 100644
--- a/sys-apps/file/file-5.38.ebuild
+++ b/sys-apps/file/file-5.38.ebuild
@@ -21,16 +21,16 @@ HOMEPAGE="https://www.darwinsys.com/file/";
 
 LICENSE="BSD-2"
 SLOT="0"
-IUSE="bzip2 python static-libs xz zlib"
+IUSE="bzip2 lzma python static-libs zlib"
 REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
 
 DEPEND="
        bzip2? ( app-arch/bzip2[${MULTILIB_USEDEP}] )
+       lzma? ( app-arch/xz-utils[${MULTILIB_USEDEP}] )
        python? (
                ${PYTHON_DEPS}
                dev-python/setuptools[${PYTHON_USEDEP}]
        )
-       xz? ( app-arch/xz-utils[${MULTILIB_USEDEP}] )
        zlib? ( >=sys-libs/zlib-1.2.8-r1[${MULTILIB_USEDEP}] )"
 RDEPEND="${DEPEND}
        python? ( !dev-python/python-magic )"
@@ -51,8 +51,8 @@ multilib_src_configure() {
                --disable-libseccomp
                --enable-fsect-man5
                $(use_enable bzip2 bzlib)
+               $(use_enable lzma xzlib)
                $(use_enable static-libs static)
-               $(use_enable xz xzlib)
                $(use_enable zlib)
        )
        ECONF_SOURCE="${S}" econf "${myeconfargs[@]}"

diff --git a/sys-apps/file/metadata.xml b/sys-apps/file/metadata.xml
index 48ce3150fb7..2c14dbfaaad 100644
--- a/sys-apps/file/metadata.xml
+++ b/sys-apps/file/metadata.xml
@@ -5,9 +5,6 @@
        <email>base-sys...@gentoo.org</email>
        <name>Gentoo Base System</name>
 </maintainer>
-<use>
-       <flag name="xz">Enable support for XZ ("LZMA2") decompression using 
<pkg>app-arch/xz-utils</pkg></flag>
-</use>
 <upstream>
        <bugs-to>http://bugs.gw.com/</bugs-to>
 </upstream>

Reply via email to