Сравнение autoconf-2.13-r8 с autoconf-2.69-r5

/usr/portage/sys-devel/autoconf/autoconf-2.69-r5.ebuild 2023-10-09 14:52:35.472368501 +0300
3 3

  
4 4
EAPI=7
5 5

  
6
if [[ ${PV} == "9999" ]] ; then
7
	EGIT_REPO_URI="https://git.savannah.gnu.org/git/autoconf.git"
8
	inherit git-r3
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"
14
fi
15

  
6 16
inherit toolchain-autoconf
7 17

  
8 18
DESCRIPTION="Used to create autoconfiguration files"
9 19
HOMEPAGE="https://www.gnu.org/software/autoconf/autoconf.html"
10
SRC_URI="mirror://gnu/${PN}/${P}.tar.gz"
11 20

  
12
LICENSE="GPL-2"
13
SLOT="${PV:0:3}"
14
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"
15
IUSE="test"
16
RESTRICT="!test? ( test )"
17

  
18
BDEPEND="
19
	dev-lang/perl
20
	sys-devel/m4
21
	test? ( dev-util/dejagnu )
22
"
23
RDEPEND="
24
	${BDEPEND}
25
	sys-apps/texinfo
26
	>=sys-devel/autoconf-wrapper-13
27
"
21
LICENSE="GPL-3+"
22
SLOT="${PV}"
23
IUSE="emacs"
24

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

  
29 33
PATCHES=(
30
	"${FILESDIR}"/${P}-gentoo.patch
31
	"${FILESDIR}"/${P}-destdir.patch
32
	"${FILESDIR}"/${P}-test-fixes.patch #146592
33
	"${FILESDIR}"/${P}-perl-5.26.patch
34
	"${FILESDIR}"/${P}-K-R-decls-clang.patch
35
	"${FILESDIR}"/${P}-Clang-16-fixes-for-various-tests.patch
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
36 42
)
37 43

  
38
src_configure() {
39
	# make sure configure is newer than configure.in
40
	touch configure || die
41

  
42
	# need to include --exec-prefix and --bindir or our
43
	# DESTDIR patch will trigger sandbox hate :(
44
	#
45
	# need to force locale to C to avoid bugs in the old
46
	# configure script breaking the install paths #351982
47
	#
48
	# force to `awk` so that we don't encode another awk that
49
	# happens to currently be installed, but might later be
50
	# uninstalled (like mawk).  same for m4.
51
	ac_cv_path_M4="m4" \
52
	ac_cv_prog_AWK="awk" \
53
	LC_ALL=C \
54
	econf \
55
		--exec-prefix="${EPREFIX}"/usr \
56
		--bindir="${EPREFIX}"/usr/bin \
57
		--program-suffix="-${PV}" \
58
		--infodir="${TC_AUTOCONF_INFOPATH}"
44
TC_AUTOCONF_BREAK_INFOS=yes
45

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

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

  
55
	toolchain-autoconf_src_prepare
56

  
57
	# Restore timestamp to avoid makeinfo call
58
	# We already have an up to date autoconf.info page at this point.
59
	touch -r doc/{old_,}autoconf.texi || die
59 60
}
Спасибо!