diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-08-26 12:00:09 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-08-26 12:00:09 +0100 |
commit | f300354de9fe5d997850456a9e1f400193e6544f (patch) | |
tree | 402fd6a7727db790bf57f683894052e8791d389e /app-arch/libdeflate/libdeflate-9999.ebuild | |
parent | 5c42677148c717eb9f4673237db807f74740b4e9 (diff) |
Diffstat (limited to 'app-arch/libdeflate/libdeflate-9999.ebuild')
-rw-r--r-- | app-arch/libdeflate/libdeflate-9999.ebuild | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/app-arch/libdeflate/libdeflate-9999.ebuild b/app-arch/libdeflate/libdeflate-9999.ebuild index 395b2234ceea..12a547db272d 100644 --- a/app-arch/libdeflate/libdeflate-9999.ebuild +++ b/app-arch/libdeflate/libdeflate-9999.ebuild @@ -20,16 +20,12 @@ LICENSE="MIT" SLOT="0" # the zlib USE-flag enables support for zlib # the test USE-flag programs depend on sys-libs/zlib for comparison tests -IUSE="+gzip +utils +zlib test" +IUSE="+utils test" RESTRICT=" !test? ( test ) " -REQUIRED_USE=" - utils? ( gzip ) -" - DEPEND=" test? ( sys-libs/zlib[${MULTILIB_USEDEP}] ) " @@ -47,10 +43,10 @@ src_configure() { -DLIBDEFLATE_COMPRESSION_SUPPORT="yes" -DLIBDEFLATE_DECOMPRESSION_SUPPORT="yes" - -DLIBDEFLATE_BUILD_GZIP="$(usex gzip "$(usex utils)" )" - -DLIBDEFLATE_GZIP_SUPPORT="$(usex gzip)" + -DLIBDEFLATE_BUILD_GZIP="$(usex utils)" + -DLIBDEFLATE_GZIP_SUPPORT="yes" - -DLIBDEFLATE_ZLIB_SUPPORT="$(usex zlib)" + -DLIBDEFLATE_ZLIB_SUPPORT="yes" -DLIBDEFLATE_BUILD_TESTS="$(usex test)" ) |