summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wendler <polynomial-c@gentoo.org>2019-12-20 08:57:08 +0100
committerLars Wendler <polynomial-c@gentoo.org>2019-12-20 09:01:23 +0100
commit2bb2da5b4cee449470c300fbebbababab1b0c914 (patch)
treef0a0c829c15ff6e7d18cca1d0f877ea87a0429f9 /sys-apps/file
parentRevert "elisp-common.eclass: Drop support for EAPIs 0 to 3." (diff)
downloadgentoo-2bb2da5b4cee449470c300fbebbababab1b0c914.tar.gz
gentoo-2bb2da5b4cee449470c300fbebbababab1b0c914.tar.bz2
gentoo-2bb2da5b4cee449470c300fbebbababab1b0c914.zip
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@gentoo.org>
Diffstat (limited to 'sys-apps/file')
-rw-r--r--sys-apps/file/file-5.38.ebuild6
-rw-r--r--sys-apps/file/metadata.xml3
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 958e7673b08f..74b955f43b6d 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 48ce3150fb71..2c14dbfaaad7 100644
--- a/sys-apps/file/metadata.xml
+++ b/sys-apps/file/metadata.xml
@@ -5,9 +5,6 @@
<email>base-system@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>