commit: 522f3401b7b2cff400a44f8f392ebff68426b6a6 Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> AuthorDate: Sun Apr 10 14:57:27 2022 +0000 Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> CommitDate: Sun Apr 10 15:33:01 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=522f3401
net-misc/wget2: Unbreak live ebuild Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org> net-misc/wget2/wget2-9999.ebuild | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/net-misc/wget2/wget2-9999.ebuild b/net-misc/wget2/wget2-9999.ebuild index 632bafad63f9..57cdc0a2f977 100644 --- a/net-misc/wget2/wget2-9999.ebuild +++ b/net-misc/wget2/wget2-9999.ebuild @@ -1,7 +1,7 @@ # Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=7 +EAPI=8 DESCRIPTION="GNU Wget2 is a file and recursive website downloader" HOMEPAGE="https://gitlab.com/gnuwget/wget2" @@ -108,7 +108,16 @@ src_configure() { src_install() { default - doman docs/man/man{1/*.1,3/*.3} + if [[ ${PV} == *9999 ]] ; then + if use doc ; then + local mpage + for mpage in $(find docs/man -type f -regextype grep -regex ".*\.[[:digit:]]$") ; do + doman ${mpage} + done + fi + else + doman docs/man/man{1/*.1,3/*.3} + fi find "${D}" -type f -name '*.la' -delete || die rm "${ED}"/usr/bin/${PN}_noinstall || die