Diff autoconf-2.69-r9 with a autoconf-2.71-r1

/usr/portage/sys-devel/autoconf/autoconf-2.71-r1.ebuild 2023-10-09 14:52:35.472368501 +0300
7 7
	EGIT_REPO_URI="https://git.savannah.gnu.org/git/autoconf.git"
8 8
	inherit git-r3
9 9
else
10
	SRC_URI="mirror://gnu/${PN}/${P}.tar.xz
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 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris"
10
	# For _beta handling replace with real version number
11
	MY_PV="${PV}"
12
	MY_P="${PN}-${MY_PV}"
13
	#PATCH_TARBALL_NAME="${PN}-2.70-patches-01"
14
	SRC_URI="mirror://gnu/${PN}/${MY_P}.tar.xz
15
		https://alpha.gnu.org/pub/gnu/${PN}/${MY_P}.tar.xz"
16
	#SRC_URI+=" https://dev.gentoo.org/~polynomial-c/${PATCH_TARBALL_NAME}.tar.xz"
17

  
18
	if ! [[ ${PV} == *_beta* ]] ; then
19
		KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris"
20
	fi
21
	S="${WORKDIR}"/${MY_P}
14 22
fi
15 23

  
16 24
inherit toolchain-autoconf
......
18 26
DESCRIPTION="Used to create autoconfiguration files"
19 27
HOMEPAGE="https://www.gnu.org/software/autoconf/autoconf.html"
20 28

  
21
LICENSE="GPL-3+"
22
SLOT="${PV}"
29
LICENSE="GPL-3"
30
SLOT="${PV/_*}"
23 31
IUSE="emacs"
24 32

  
25
BDEPEND="
26
	>=sys-devel/m4-1.4.16
27
	>=dev-lang/perl-5.6
28
"
29
RDEPEND="
30
	${BDEPEND}
31
	>=sys-devel/autoconf-wrapper-13
32
	!~sys-devel/${P}:2.5
33
"
34

  
33
# for 2.71, our Perl time resolution patch changes our min Perl from 5.6
34
# (vanilla upstream for 2.71) to 5.8.
35
BDEPEND=">=sys-devel/m4-1.4.16
36
	>=dev-lang/perl-5.8"
37
RDEPEND="${BDEPEND}
38
	>=sys-devel/autoconf-wrapper-15
39
	sys-devel/gnuconfig
40
	!~sys-devel/${P}:2.5"
35 41
[[ ${PV} == 9999 ]] && BDEPEND+=" >=sys-apps/texinfo-4.3"
36

  
37 42
PDEPEND="emacs? ( app-emacs/autoconf-mode )"
38 43

  
39
PATCHES=(
40
	"${FILESDIR}"/${PN}-2.69-perl-5.26.patch
41
	"${FILESDIR}"/${P}-fix-libtool-test.patch
42
	"${FILESDIR}"/${PN}-2.69-perl-5.26-2.patch
43
	"${FILESDIR}"/${P}-make-tests-bash5-compatible.patch
44
	"${FILESDIR}"/${P}-K-R-decls-clang.patch
44
PATCHES=( "${FILESDIR}/${P}-time.patch" )
45 45

  
46
	"${WORKDIR}"/patches/${P}-texinfo.patch
47
)
46
TC_AUTOCONF_BREAK_INFOS=yes
48 47

  
49 48
src_prepare() {
50 49
	# usr/bin/libtool is provided by binutils-apple, need gnu libtool
51 50
	if [[ ${CHOST} == *-darwin* ]] ; then
52
		PATCHES+=( "${FILESDIR}"/${PN}-2.61-darwin.patch )
51
		PATCHES+=( "${FILESDIR}"/${PN}-2.71-darwin.patch )
53 52
	fi
54 53

  
55 54
	# Save timestamp to avoid later makeinfo call
56 55
	touch -r doc/{,old_}autoconf.texi || die
57 56

  
57
	local pdir
58
	for pdir in "${WORKDIR}"/{upstream_,}patches ; do
59
		if [[ -d "${pdir}" ]] ; then
60
			eapply ${pdir}
61
		fi
62
	done
63

  
58 64
	toolchain-autoconf_src_prepare
59 65

  
60 66
	# Restore timestamp to avoid makeinfo call
61 67
	# We already have an up to date autoconf.info page at this point.
62 68
	touch -r doc/{old_,}autoconf.texi || die
63 69
}
70

  
71
src_test() {
72
	emake check
73
}
74

  
75
src_install() {
76
	toolchain-autoconf_src_install
77

  
78
	local f
79
	for f in config.{guess,sub} ; do
80
		ln -fs ../../gnuconfig/${f} \
81
			"${ED}"/usr/share/autoconf-*/build-aux/${f} || die
82
	done
83
}
Thank you!