Diff autoconf-2.69-r4 with a autoconf-2.69-r5

/usr/portage/sys-devel/autoconf/autoconf-2.69-r5.ebuild 2020-09-07 11:39:00.000000000 +0300
1 1
# Copyright 1999-2020 Gentoo Authors
2 2
# Distributed under the terms of the GNU General Public License v2
3 3

  
4
EAPI=6
4
EAPI=7
5 5

  
6 6
if [[ ${PV} == "9999" ]] ; then
7 7
	EGIT_REPO_URI="https://git.savannah.gnu.org/git/autoconf.git"
8 8
	inherit git-r3
9 9
else
10 10
	SRC_URI="mirror://gnu/${PN}/${P}.tar.xz
11
		ftp://alpha.gnu.org/pub/gnu/${PN}/${P}.tar.xz"
12
	KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv s390 sparc x86 ~ppc-aix ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
11
		ftp://alpha.gnu.org/pub/gnu/${PN}/${P}.tar.xz
12
		https://dev.gentoo.org/~polynomial-c/dist/${P}-runstatedir_patches.tar.xz"
13
	KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~ppc-aix ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
13 14
fi
14 15

  
15 16
inherit toolchain-autoconf
......
21 22
SLOT="${PV}"
22 23
IUSE="emacs"
23 24

  
24
DEPEND=">=sys-devel/m4-1.4.16
25
BDEPEND=">=sys-devel/m4-1.4.16
25 26
	>=dev-lang/perl-5.6"
26
RDEPEND="${DEPEND}
27
RDEPEND="${BDEPEND}
27 28
	!~sys-devel/${P}:2.5
28 29
	>=sys-devel/autoconf-wrapper-13"
29
[[ ${PV} == "9999" ]] && DEPEND+=" >=sys-apps/texinfo-4.3"
30
[[ ${PV} == "9999" ]] && BDEPEND+=" >=sys-apps/texinfo-4.3"
30 31
PDEPEND="emacs? ( app-emacs/autoconf-mode )"
31 32

  
33
PATCHES=(
34
	"${FILESDIR}"/${PN}-2.69-perl-5.26.patch
35
	"${FILESDIR}"/${P}-fix-libtool-test.patch
36
	"${FILESDIR}"/${PN}-2.69-perl-5.26-2.patch
37
	"${FILESDIR}"/${P}-make-tests-bash5-compatible.patch
38

  
39
	"${WORKDIR}"/patches/${P}-runstatedir.patch
40
	"${WORKDIR}"/patches/${P}-texinfo.patch
41
	"${WORKDIR}"/patches/${P}-runstatedir_info.patch
42
)
43

  
32 44
src_prepare() {
33 45
	# usr/bin/libtool is provided by binutils-apple, need gnu libtool
34
	[[ ${CHOST} == *-darwin* ]] && \
46
	if [[ ${CHOST} == *-darwin* ]] ; then
35 47
		PATCHES+=( "${FILESDIR}"/${PN}-2.61-darwin.patch )
36
	PATCHES+=(
37
		"${FILESDIR}"/${PN}-2.69-perl-5.26.patch
38
		"${FILESDIR}"/${P}-fix-libtool-test.patch
39
		"${FILESDIR}"/${PN}-2.69-perl-5.26-2.patch
40
	)
48
	fi
49

  
50
	# Save timestamp to avoid later makeinfo call
51
	touch -r doc/{,old_}autoconf.texi || die
52

  
41 53
	toolchain-autoconf_src_prepare
54

  
55
	# Restore timestamp to avoid makeinfo call
56
	# We already have an up to date autoconf.info page at this point.
57
	touch -r doc/{old_,}autoconf.texi || die
42 58
}
Thank you!