Diff ircii-20210314-r2 with a ircii-20221016

/usr/portage/net-irc/ircii/ircii-20221016.ebuild 2023-10-09 14:52:34.460368475 +0300
1
# Copyright 1999-2022 Gentoo Authors
1
# Copyright 1999-2023 Gentoo Authors
2 2
# Distributed under the terms of the GNU General Public License v2
3 3

  
4
EAPI=7
4
EAPI=8
5 5

  
6 6
inherit toolchain-funcs
7 7

  
8 8
DESCRIPTION="An IRC and ICB client that runs under most UNIX platforms"
9 9
SRC_URI="https://ircii.warped.com/${P}.tar.bz2
10
	https://ircii.warped.com/old/${P}.tar.bz2"
10
	https://ircii.warped.com/old/${P}.tar.bz2
11
	https://dev.gentoo.org/~bkohler/dist/${P}.tar.bz2"
11 12
HOMEPAGE="http://eterna.com.au/ircii/"
12 13

  
13 14
LICENSE="BSD"
14 15
SLOT="0"
15 16
KEYWORDS="amd64 ~ppc ~riscv x86 ~amd64-linux ~x86-linux ~ppc-macos"
17
IUSE="lto"
16 18

  
17 19
DEPEND="dev-libs/openssl:0=
18 20
	sys-libs/ncurses:0=
......
21 23
RDEPEND="${DEPEND}"
22 24

  
23 25
PATCHES=( "${FILESDIR}/${PN}-manpage-path.patch" )
26
DOCS=( ChangeLog INSTALL NEWS README doc/Copyright doc/crypto doc/VERSIONS
27
	doc/ctcp )
28
S="${WORKDIR}/${PN}"
24 29

  
25 30
src_configure() {
26 31
	tc-export CC
27
	default
32
	econf $(use_with lto)
28 33
}
29 34

  
30 35
src_install() {
31
	# Still needed as of 20210314, otherwise man dirs don't exist at the right time
36
	# Still needed as of 20221016, otherwise man dirs don't exist
37
	# at the right time.
32 38
	emake -j1 DESTDIR="${D}" install
33

  
34
	dodoc ChangeLog INSTALL NEWS README \
35
		doc/Copyright doc/crypto doc/VERSIONS doc/ctcp
39
	einstalldocs
36 40
}
Thank you!