dev-util/codeblocks: update live ebuild (fix USE="contib" race cond.)

Signed-off-by: Sergey Torokhov <torokhov-s-a@yandex.ru>
Closes: https://github.com/gentoo/gentoo/pull/36447
Signed-off-by: Joonas Niilola <juippis@gentoo.org>
This commit is contained in:
Sergey Torokhov
2024-05-11 02:16:49 +03:00
committed by Joonas Niilola
parent acbf41fcc5
commit c763fa2da5

View File

@@ -5,7 +5,7 @@ EAPI=8
WX_GTK_VER="3.2-gtk3"
inherit autotools flag-o-matic subversion wxwidgets xdg
inherit autotools flag-o-matic multiprocessing subversion wxwidgets xdg
DESCRIPTION="The open source, cross platform, free C, C++ and Fortran IDE"
HOMEPAGE="https://codeblocks.org/"
@@ -69,6 +69,18 @@ src_configure() {
econf "${myeconfargs[@]}"
}
src_compile() {
if use contrib; then
if (( $(get_makeopts_jobs) > 8 )); then
emake -j8 # Bug 930819
else
emake
fi
else
emake
fi
}
src_install() {
default
find "${ED}" -type f -name '*.la' -delete || die