summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sys-libs/minizip-ng/minizip-ng-4.0.5.ebuild')
-rw-r--r--sys-libs/minizip-ng/minizip-ng-4.0.5.ebuild6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys-libs/minizip-ng/minizip-ng-4.0.5.ebuild b/sys-libs/minizip-ng/minizip-ng-4.0.5.ebuild
index 117488f128e9..776436dd47e5 100644
--- a/sys-libs/minizip-ng/minizip-ng-4.0.5.ebuild
+++ b/sys-libs/minizip-ng/minizip-ng-4.0.5.ebuild
@@ -15,18 +15,18 @@ SRC_URI="https://github.com/zlib-ng/minizip-ng/archive/refs/tags/${PV}.tar.gz ->
LICENSE="ZLIB"
SLOT="0/4"
KEYWORDS="amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86"
-IUSE="compat openssl test zstd"
+IUSE="compat lzma openssl test zstd"
RESTRICT="!test? ( test )"
# Automagically prefers sys-libs/zlib-ng if installed, so let's
# just depend on it as presumably it's better tested anyway.
RDEPEND="
app-arch/bzip2[${MULTILIB_USEDEP}]
- app-arch/xz-utils
dev-libs/libbsd[${MULTILIB_USEDEP}]
sys-libs/zlib-ng[${MULTILIB_USEDEP}]
virtual/libiconv
compat? ( !sys-libs/zlib[minizip] )
+ lzma? ( app-arch/xz-utils )
openssl? ( dev-libs/openssl:=[${MULTILIB_USEDEP}] )
zstd? ( app-arch/zstd:=[${MULTILIB_USEDEP}] )
"
@@ -52,7 +52,7 @@ multilib_src_configure() {
# Compression library options
-DMZ_ZLIB=ON
-DMZ_BZIP2=ON
- -DMZ_LZMA=ON
+ -DMZ_LZMA=$(usex lzma)
-DMZ_ZSTD=$(usex zstd)
-DMZ_LIBCOMP=OFF