mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-03 11:58:07 -07:00
dev-ada/gnatcoll-db: 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
336bf490f4
commit
00207dfcb5
@@ -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
|
||||
@@ -52,7 +52,7 @@ pkg_setup() {
|
||||
src_compile() {
|
||||
build () {
|
||||
GPR_PROJECT_PATH="${S}"/sql:"${S}"/sqlite:"${S}"/xref \
|
||||
gprbuild -p -m -v -j$(makeopts_jobs) -XGNATCOLL_SQLITE=external \
|
||||
gprbuild -p -m -v -j$(get_makeopts_jobs) -XGNATCOLL_SQLITE=external \
|
||||
-XGNATCOLL_VERSION=${PV} \
|
||||
-XBUILD=PROD -XLIBRARY_TYPE=$2 -XXMLADA_BUILD=$2 -XGPR_BUILD=$2 \
|
||||
-P $1/$3.gpr \
|
||||
|
||||
@@ -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
|
||||
@@ -52,7 +52,7 @@ pkg_setup() {
|
||||
src_compile() {
|
||||
build () {
|
||||
GPR_PROJECT_PATH="${S}"/sql:"${S}"/sqlite:"${S}"/xref \
|
||||
gprbuild -p -m -v -j$(makeopts_jobs) -XGNATCOLL_SQLITE=external \
|
||||
gprbuild -p -m -v -j$(get_makeopts_jobs) -XGNATCOLL_SQLITE=external \
|
||||
-XGNATCOLL_VERSION=${PV} \
|
||||
-XBUILD=PROD -XLIBRARY_TYPE=$2 -XXMLADA_BUILD=$2 -XGPR_BUILD=$2 \
|
||||
-P $1/$3.gpr \
|
||||
|
||||
Reference in New Issue
Block a user