summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBernard Cafarelli <voyageur@gentoo.org>2022-07-17 11:22:02 +0200
committerBernard Cafarelli <voyageur@gentoo.org>2022-07-17 11:23:12 +0200
commit3030fc80777b9245d3e0c5b27c42d6f755bb4fb6 (patch)
treec79cd2cdf8d16dfcf135e4dc0d84cc2e2635389e /net-misc
parentmedia-sound/abcmidi: x86 stable wrt bug #858479 (diff)
downloadgentoo-3030fc80777b9245d3e0c5b27c42d6f755bb4fb6.tar.gz
gentoo-3030fc80777b9245d3e0c5b27c42d6f755bb4fb6.tar.bz2
gentoo-3030fc80777b9245d3e0c5b27c42d6f755bb4fb6.zip
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@gentoo.org>
Diffstat (limited to 'net-misc')
-rw-r--r--net-misc/wget2/metadata.xml2
-rw-r--r--net-misc/wget2/wget2-2.0.1.ebuild4
-rw-r--r--net-misc/wget2/wget2-9999.ebuild4
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)