mirror of
https://github.com/flatcar/scripts.git
synced 2026-05-05 04:06:33 +02:00
eclass/toolchain-autoconf: Sync with Gentoo
It's from Gentoo commit f91fe1660806f6ac0e103fa3eb339c6d44943dda. Signed-off-by: Flatcar Buildbot <buildbot@flatcar-linux.org>
This commit is contained in:
parent
14c28f426c
commit
ee406c5f1d
@ -1,4 +1,4 @@
|
||||
# Copyright 1999-2024 Gentoo Authors
|
||||
# Copyright 1999-2026 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
# @ECLASS: toolchain-autoconf.eclass
|
||||
@ -102,8 +102,9 @@ toolchain-autoconf_src_install() {
|
||||
else
|
||||
rm -f dir || die
|
||||
|
||||
local major="$(ver_cut 1)"
|
||||
local minor="$(ver_cut 2)"
|
||||
local major="$(ver_cut 1 ${SLOT})"
|
||||
local minor="$(ver_cut 2 ${SLOT})"
|
||||
|
||||
local idx="$((99999-(major*1000+minor)))"
|
||||
newenvd - "${TC_AUTOCONF_ENVPREFIX}${PN}${idx}" <<-EOF
|
||||
INFOPATH="${TC_AUTOCONF_INFOPATH}"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user