dev-ml/dune: 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:
Paul Zander
2026-03-26 20:58:53 +01:00
committed by Alfredo Tupone
parent c43aa667b7
commit df4367a09d
6 changed files with 16 additions and 16 deletions

View File

@@ -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
@@ -47,9 +47,9 @@ src_configure() {
}
src_compile() {
ocaml boot/bootstrap.ml -j $(makeopts_jobs) --verbose || die
ocaml boot/bootstrap.ml -j $(get_makeopts_jobs) --verbose || die
./_boot/dune.exe build @install -p "${PN}" --profile dune-bootstrap \
-j $(makeopts_jobs) --display short || die
-j $(get_makeopts_jobs) --display short || die
use emacs && elisp-compile editor-integration/emacs/*.el
}

View File

@@ -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
@@ -47,9 +47,9 @@ src_configure() {
}
src_compile() {
ocaml boot/bootstrap.ml -j $(makeopts_jobs) --verbose || die
ocaml boot/bootstrap.ml -j $(get_makeopts_jobs) --verbose || die
./_boot/dune.exe build @install -p "${PN}" --profile dune-bootstrap \
-j $(makeopts_jobs) --display short || die
-j $(get_makeopts_jobs) --display short || die
use emacs && elisp-compile editor-integration/emacs/*.el
}

View File

@@ -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
@@ -47,9 +47,9 @@ src_configure() {
}
src_compile() {
ocaml boot/bootstrap.ml -j $(makeopts_jobs) --verbose || die
ocaml boot/bootstrap.ml -j $(get_makeopts_jobs) --verbose || die
./_boot/dune.exe build @install -p "${PN}" --profile dune-bootstrap \
-j $(makeopts_jobs) --display short || die
-j $(get_makeopts_jobs) --display short || die
use emacs && elisp-compile editor-integration/emacs/*.el
}

View File

@@ -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
@@ -47,9 +47,9 @@ src_configure() {
}
src_compile() {
ocaml boot/bootstrap.ml -j $(makeopts_jobs) --verbose || die
ocaml boot/bootstrap.ml -j $(get_makeopts_jobs) --verbose || die
./_boot/dune.exe build @install -p "${PN}" --profile dune-bootstrap \
-j $(makeopts_jobs) --display short || die
-j $(get_makeopts_jobs) --display short || die
use emacs && elisp-compile editor-integration/emacs/*.el
}

View File

@@ -47,9 +47,9 @@ src_configure() {
}
src_compile() {
ocaml boot/bootstrap.ml -j $(makeopts_jobs) --verbose || die
ocaml boot/bootstrap.ml -j $(get_makeopts_jobs) --verbose || die
./_boot/dune.exe build @install -p "${PN}" --profile dune-bootstrap \
-j $(makeopts_jobs) --display short || die
-j $(get_makeopts_jobs) --display short || die
use emacs && elisp-compile editor-integration/emacs/*.el
}

View File

@@ -47,9 +47,9 @@ src_configure() {
}
src_compile() {
ocaml boot/bootstrap.ml -j $(makeopts_jobs) --verbose || die
ocaml boot/bootstrap.ml -j $(get_makeopts_jobs) --verbose || die
./_boot/dune.exe build @install -p "${PN}" --profile dune-bootstrap \
-j $(makeopts_jobs) --display short || die
-j $(get_makeopts_jobs) --display short || die
use emacs && elisp-compile editor-integration/emacs/*.el
}