mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
dev-lang/spark: use get_makeopts_*
multiprocessing backward deprecated makeopts_* in <EAPI-9, breaking CI Done via: ``` grep -RP '(?<!get_)makeopts_jobs' sed -e 's/(\(makeopts_jobs\))/\(get_\1)/g' -i */*/*.ebuild eclass/*.eclass sed -e 's/(\(makeopts_jobs\)/\(get_\1/g' -i */*/*.ebuild eclass/*.eclass grep -RP '(?<!get_)makeopts_loadavg' sed -e 's/(\(makeopts_loadavg\))/\(get_\1)/g' -i */*/*.ebuild eclass/*.eclass sed -e 's/(\(makeopts_loadavg\)/\(get_\1/g' -i */*/*.ebuild eclass/*.eclass ``` Signed-off-by: Paul Zander <negril.nx+gentoo@gmail.com> Part-of: https://codeberg.org/gentoo/gentoo/pulls/426 Signed-off-by: Alfredo Tupone <tupone@gentoo.org>
This commit is contained in:
committed by
Alfredo Tupone
parent
faec7a576c
commit
c43aa667b7
@@ -1,4 +1,4 @@
|
||||
# Copyright 1999-2025 Gentoo Authors
|
||||
# Copyright 1999-2026 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
@@ -59,10 +59,10 @@ src_prepare() {
|
||||
|
||||
src_compile() {
|
||||
emake -C gnat2why setup
|
||||
gprbuild -j$(makeopts_jobs) -p -XLIBRARY_TYPE=relocatable -v \
|
||||
gprbuild -j$(get_makeopts_jobs) -p -XLIBRARY_TYPE=relocatable -v \
|
||||
-Pgnat2why/gnat2why.gpr \
|
||||
-largs ${LDFLAGS} -cargs ${ADAFLAGS} || die
|
||||
gprbuild -j$(makeopts_jobs) -p -XLIBRARY_TYPE=relocatable -v \
|
||||
gprbuild -j$(get_makeopts_jobs) -p -XLIBRARY_TYPE=relocatable -v \
|
||||
-P gnatprove.gpr \
|
||||
-largs ${LDFLAGS} -cargs ${ADAFLAGS} || die
|
||||
if use doc; then
|
||||
|
||||
Reference in New Issue
Block a user