Diff shtool-2.0.8-r1 with a shtool-2.0.8-r2

/usr/portage/dev-util/shtool/shtool-2.0.8-r2.ebuild 2023-10-09 14:52:31.004368388 +0300
1
# Copyright 1999-2021 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=6
4
EAPI=8
5

  
6
inherit toolchain-funcs
5 7

  
6 8
DESCRIPTION="Set of stable and portable shell scripts"
7 9
HOMEPAGE="https://www.gnu.org/software/shtool/shtool.html"
8 10
SRC_URI="mirror://gnu/${PN}/${P}.tar.gz"
9 11

  
10
LICENSE="GPL-2"
12
LICENSE="GPL-2+"
11 13
SLOT="0"
12
KEYWORDS="amd64 arm ~hppa ~ia64 ppc ~s390 sparc x86"
13
IUSE=""
14
KEYWORDS="~amd64 ~arm ~hppa ~ia64 ~ppc ~s390 ~sparc ~x86"
14 15

  
15 16
DEPEND="dev-lang/perl"
17
DOCS=( AUTHORS ChangeLog README THANKS VERSION NEWS RATIONAL )
16 18

  
17
src_install() {
18
	emake DESTDIR="${D}" install
19
	dodoc AUTHORS ChangeLog README THANKS VERSION NEWS RATIONAL
19
src_prepare() {
20
	default
21
	sed -i "s|opt_C=\"ar\"|opt_C=\"$(tc-getAR)\"|g" sh.arx || die
20 22
}
Thank you!