mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-24 18:58:08 -07:00
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:
committed by
Joonas Niilola
parent
acbf41fcc5
commit
c763fa2da5
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user