commit:     3030fc80777b9245d3e0c5b27c42d6f755bb4fb6
Author:     Bernard Cafarelli <voyageur <AT> gentoo <DOT> org>
AuthorDate: Sun Jul 17 09:22:02 2022 +0000
Commit:     Bernard Cafarelli <voyageur <AT> gentoo <DOT> org>
CommitDate: Sun Jul 17 09:23:12 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3030fc80

net-misc/wget2: restore USE=lzip to fix automagic detection

This feature still exists in current versions and when enabled can fail
compilation in some cases

Bug: https://bugs.gentoo.org/822057
Signed-off-by: Bernard Cafarelli <voyageur <AT> gentoo.org>

 net-misc/wget2/metadata.xml       | 2 +-
 net-misc/wget2/wget2-2.0.1.ebuild | 4 +++-
 net-misc/wget2/wget2-9999.ebuild  | 4 +++-
 3 files changed, 7 insertions(+), 3 deletions(-)

diff --git a/net-misc/wget2/metadata.xml b/net-misc/wget2/metadata.xml
index 64fc07a8328e..b9d9ab8fa92e 100644
--- a/net-misc/wget2/metadata.xml
+++ b/net-misc/wget2/metadata.xml
@@ -9,7 +9,7 @@
                <flag name="brotli">Enable support for brotli compression</flag>
                <flag name="gpgme">Build <pkg>app-crypt/gpgme</pkg> 
backend</flag>
                <flag name="http2">Enable HTTP/2.0 support via 
<pkg>net-libs/nghttp2</pkg></flag>
-               <flag name="lzip">Enable <pkg>app-arch/lzip</pkg> support</flag>
+               <flag name="lzip">Enable <pkg>app-arch/lzip</pkg> support via 
<pkg>app-arch/lzlib</pkg></flag>
                <flag name="openssl">Enable crypto support via 
<pkg>dev-libs/openssl</pkg></flag>
                <flag name="psl">Use public suffix list via 
<pkg>net-libs/libpsl</pkg></flag>
                <flag name="valgrind">Depend on <pkg>dev-util/valgrind</pkg> 
for test suite</flag>

diff --git a/net-misc/wget2/wget2-2.0.1.ebuild 
b/net-misc/wget2/wget2-2.0.1.ebuild
index 57cdc0a2f977..0640899212dd 100644
--- a/net-misc/wget2/wget2-2.0.1.ebuild
+++ b/net-misc/wget2/wget2-2.0.1.ebuild
@@ -14,7 +14,7 @@ else
 fi
 LICENSE="GPL-3"
 SLOT="0/0" # subslot = libwget.so version
-IUSE="brotli bzip2 doc +gnutls gpgme +http2 idn lzma openssl pcre psl +ssl 
test valgrind xattr zlib"
+IUSE="brotli bzip2 doc +gnutls gpgme +http2 idn lzip lzma openssl pcre psl 
+ssl test valgrind xattr zlib"
 REQUIRED_USE="valgrind? ( test )"
 
 RDEPEND="
@@ -34,6 +34,7 @@ RDEPEND="
        )
        http2? ( net-libs/nghttp2 )
        idn? ( net-dns/libidn2:= )
+       lzip? ( app-arch/lzlib )
        lzma? ( app-arch/xz-utils )
        pcre? ( dev-libs/libpcre2 )
        psl? ( net-libs/libpsl )
@@ -94,6 +95,7 @@ src_configure() {
                $(use_with gpgme)
                $(use_with http2 libnghttp2)
                $(use_with idn libidn2)
+               $(use_with lzip lz)
                $(use_with lzma)
                $(use_with pcre libpcre2)
                $(use_with psl libpsl)

diff --git a/net-misc/wget2/wget2-9999.ebuild b/net-misc/wget2/wget2-9999.ebuild
index 57cdc0a2f977..0640899212dd 100644
--- a/net-misc/wget2/wget2-9999.ebuild
+++ b/net-misc/wget2/wget2-9999.ebuild
@@ -14,7 +14,7 @@ else
 fi
 LICENSE="GPL-3"
 SLOT="0/0" # subslot = libwget.so version
-IUSE="brotli bzip2 doc +gnutls gpgme +http2 idn lzma openssl pcre psl +ssl 
test valgrind xattr zlib"
+IUSE="brotli bzip2 doc +gnutls gpgme +http2 idn lzip lzma openssl pcre psl 
+ssl test valgrind xattr zlib"
 REQUIRED_USE="valgrind? ( test )"
 
 RDEPEND="
@@ -34,6 +34,7 @@ RDEPEND="
        )
        http2? ( net-libs/nghttp2 )
        idn? ( net-dns/libidn2:= )
+       lzip? ( app-arch/lzlib )
        lzma? ( app-arch/xz-utils )
        pcre? ( dev-libs/libpcre2 )
        psl? ( net-libs/libpsl )
@@ -94,6 +95,7 @@ src_configure() {
                $(use_with gpgme)
                $(use_with http2 libnghttp2)
                $(use_with idn libidn2)
+               $(use_with lzip lz)
                $(use_with lzma)
                $(use_with pcre libpcre2)
                $(use_with psl libpsl)

Reply via email to