Сравнение autoconf-2.71-r7 с autoconf-2.72c-r2

/usr/portage/sys-devel/autoconf/autoconf-2.72c-r2.ebuild 2023-10-09 14:52:35.472368501 +0300
11 11
	MY_PV="${PV}"
12 12
	MY_P="${PN}-${MY_PV}"
13 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 14

  
18
	if ! [[ ${PV} == *_beta* ]] ; then
15
	SRC_URI="
16
		mirror://gnu/${PN}/${MY_P}.tar.xz
17
		https://alpha.gnu.org/pub/gnu/${PN}/${MY_P}.tar.xz
18
		https://meyering.net/ac/${P}.tar.xz
19
	"
20
	 S="${WORKDIR}"/${MY_P}
21

  
22
	if [[ ${PV} != *_beta* ]] && ! [[ $(ver_cut 3) =~ [a-z] ]] ; then
19 23
		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 24
	fi
21
	S="${WORKDIR}"/${MY_P}
22 25
fi
23 26

  
24 27
inherit toolchain-autoconf
......
27 30
HOMEPAGE="https://www.gnu.org/software/autoconf/autoconf.html"
28 31

  
29 32
LICENSE="GPL-3+"
30
SLOT="${PV/_*}"
33
SLOT="$(ver_cut 1-2)"
31 34
IUSE="emacs"
32 35

  
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}
36
BDEPEND="
37
	>=dev-lang/perl-5.10
38
	>=sys-devel/m4-1.4.16
39
"
40
RDEPEND="
41
	${BDEPEND}
38 42
	>=sys-devel/autoconf-wrapper-15
39 43
	sys-devel/gnuconfig
40
	!~sys-devel/${P}:2.5"
44
	!~sys-devel/${P}:2.5
45
"
41 46
[[ ${PV} == 9999 ]] && BDEPEND+=" >=sys-apps/texinfo-4.3"
42 47
PDEPEND="emacs? ( app-emacs/autoconf-mode )"
43 48

  
44
PATCHES=(
45
	"${FILESDIR}"/${P}-AC_LANG_CALL_C_cxx.patch
46
	"${FILESDIR}"/${P}-time.patch
47
	"${FILESDIR}"/${P}-AC_C_BIGENDIAN-lto.patch
48
	"${FILESDIR}"/${P}-K-R-decls-clang.patch
49
	"${FILESDIR}"/${P}-make-4.4.patch
50
	"${FILESDIR}"/${P}-K-R-decls-clang-deux.patch
51
	"${FILESDIR}"/${P}-cxx11typo.patch
52
	"${FILESDIR}"/${P}-bash52.patch
53
)
54

  
55 49
src_prepare() {
50
	if [[ ${PV} == *9999 ]] ; then
51
		# Avoid the "dirty" suffix in the git version by generating it
52
		# before we run later stages which might modify source files.
53
		local ver=$(./build-aux/git-version-gen .tarball-version)
54
		echo "${ver}" > .tarball-version || die
55

  
56
		autoreconf -f -i || die
57
	fi
58

  
56 59
	# usr/bin/libtool is provided by binutils-apple, need gnu libtool
57 60
	if [[ ${CHOST} == *-darwin* ]] ; then
58 61
		PATCHES+=( "${FILESDIR}"/${PN}-2.71-darwin.patch )
......
61 64
	# Save timestamp to avoid later makeinfo call
62 65
	touch -r doc/{,old_}autoconf.texi || die
63 66

  
64
	local pdir
65
	for pdir in "${WORKDIR}"/{upstream_,}patches ; do
66
		if [[ -d "${pdir}" ]] ; then
67
			eapply ${pdir}
68
		fi
69
	done
70

  
71 67
	toolchain-autoconf_src_prepare
72 68

  
73 69
	# Restore timestamp to avoid makeinfo call
Спасибо!