commit:     2028491735668959b8932e04ee0b229461f88bd1
Author:     Bernard Cafarelli <voyageur <AT> gentoo <DOT> org>
AuthorDate: Tue Jul 19 17:35:01 2022 +0000
Commit:     Bernard Cafarelli <voyageur <AT> gentoo <DOT> org>
CommitDate: Tue Jul 19 17:51:11 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=20284917

net-misc/wget2: use QA_PKGCONFIG_VERSION

libwget has different versioning but is not packaged independently for
now

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

 .../wget2/{wget2-2.0.1-r1.ebuild => wget2-2.0.1-r2.ebuild}     | 10 +---------
 1 file changed, 1 insertion(+), 9 deletions(-)

diff --git a/net-misc/wget2/wget2-2.0.1-r1.ebuild 
b/net-misc/wget2/wget2-2.0.1-r2.ebuild
similarity index 94%
rename from net-misc/wget2/wget2-2.0.1-r1.ebuild
rename to net-misc/wget2/wget2-2.0.1-r2.ebuild
index 39c4ff7aedd7..62482f69489b 100644
--- a/net-misc/wget2/wget2-2.0.1-r1.ebuild
+++ b/net-misc/wget2/wget2-2.0.1-r2.ebuild
@@ -3,14 +3,13 @@
 
 EAPI=8
 
-inherit autotools
-
 DESCRIPTION="GNU Wget2 is a file and recursive website downloader"
 HOMEPAGE="https://gitlab.com/gnuwget/wget2";
 SRC_URI="mirror://gnu/wget/${P}.tar.gz"
 
 LICENSE="GPL-3"
 SLOT="0/0" # subslot = libwget.so version
+QA_PKGCONFIG_VERSION="2.1.0" # libwget pkg-config versioning
 KEYWORDS="~amd64 ~x86"
 IUSE="brotli bzip2 doc +gnutls gpgme +http2 idn lzip lzma openssl pcre psl 
+ssl test valgrind xattr zlib"
 REQUIRED_USE="valgrind? ( test )"
@@ -48,13 +47,6 @@ BDEPEND="
 
 RESTRICT="!test? ( test )"
 
-src_prepare() {
-       default
-       sed -e "/LIBWGET_VERSION/s/2.1.0/${PV}/" \
-               -i configure.ac ||die
-       eautoreconf
-}
-
 src_configure() {
        local myeconfargs=(
                --disable-static

Reply via email to