Diff automake-1.16.5 with a automake-1.16.5-r1

/usr/portage/sys-devel/automake/automake-1.16.5-r1.ebuild 2023-10-09 14:52:35.472368501 +0300
15 15
		MY_P="${P}"
16 16
		SRC_URI="mirror://gnu/${PN}/${P}.tar.xz
17 17
			https://alpha.gnu.org/pub/gnu/${PN}/${MY_P}.tar.xz"
18
		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"
18
		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"
19 19
	else
20 20
		MY_PV="$(ver_cut 1).$(($(ver_cut 2)-1))b"
21 21
		MY_P="${PN}-${MY_PV}"
......
80 80

  
81 81
src_configure() {
82 82
	use test && python_setup
83
	default
84
}
85

  
86
# Slot the info pages. Do this w/out munging the source so we don't have
87
# to depend on texinfo to regen things. bug #464146 (among others)
88
slot_info_pages() {
89
	pushd "${ED}"/usr/share/info >/dev/null || die
90
	rm -f dir
91

  
92
	# Rewrite all the references to other pages.
93
	# before: * aclocal-invocation: (automake)aclocal Invocation.   Generating aclocal.m4.
94
	# after:  * aclocal-invocation v1.13: (automake-1.13)aclocal Invocation.   Generating aclocal.m4.
95
	local p pages=( *.info ) args=()
96
	for p in "${pages[@]/%.info}" ; do
97
		args+=(
98
			-e "/START-INFO-DIR-ENTRY/,/END-INFO-DIR-ENTRY/s|: (${p})| v${SLOT}&|"
99
			-e "s:(${p}):(${p}-${SLOT}):g"
100
		)
101
	done
102
	sed -i "${args[@]}" * || die
103

  
104
	# Rewrite all the file references, and rename them in the process.
105
	local f d
106
	for f in * ; do
107
		d=${f/.info/-${SLOT}.info}
108
		mv "${f}" "${d}" || die
109
		sed -i -e "s:${f}:${d}:g" * || die
110
	done
111

  
112
	popd >/dev/null || die
83
	# Also used in install.
84
	MY_INFODIR="${EPREFIX}/usr/share/automake-${PV}/info"
85
	econf --infodir="${MY_INFODIR}"
113 86
}
114 87

  
115 88
src_install() {
116 89
	default
117 90

  
118
	slot_info_pages
119 91
	rm "${ED}"/usr/share/aclocal/README || die
120 92
	rmdir "${ED}"/usr/share/aclocal || die
121 93
	rm \
......
135 107
	if [[ -f "${tarfile}" ]] ; then
136 108
		gunzip "${tarfile}" || die
137 109
	fi
110

  
111
	pushd "${D}/${MY_INFODIR}" >/dev/null || die
112
	for f in *.info*; do
113
		# Install convenience aliases for versioned Automake pages.
114
		ln -s "$f" "${f/./-${PV}.}" || die
115
	done
116
	popd >/dev/null || die
117

  
118
	local major="$(ver_cut 1)"
119
	local minor="$(ver_cut 2)"
120
	local idx="$((99999-(major*1000+minor)))"
121
	newenvd - "06automake${idx}" <<-EOF
122
	INFOPATH="${MY_INFODIR}"
123
	EOF
138 124
}
Thank you!