sys-devel/automake: Sync with Gentoo

It's from Gentoo commit c6d66d52fd0da4410f23ff947bf13a480c89aded.
This commit is contained in:
Flatcar Buildbot 2023-11-27 07:14:26 +00:00 committed by Krzesimir Nowak
parent 79119d0e59
commit 1f7557fcab

View File

@ -109,8 +109,13 @@ src_install() {
done
popd >/dev/null || die
local major="$(ver_cut 1)"
local minor="$(ver_cut 2)"
if [[ ${PV} == 9999 ]]; then
local major="89"
local minor="999"
else
local major="$(ver_cut 1)"
local minor="$(ver_cut 2)"
fi
local idx="$((99999-(major*1000+minor)))"
newenvd - "06automake${idx}" <<-EOF
INFOPATH="${infopath}"