diff options
Diffstat (limited to 'dev-util/codeblocks/codeblocks-9999.ebuild')
-rw-r--r-- | dev-util/codeblocks/codeblocks-9999.ebuild | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/dev-util/codeblocks/codeblocks-9999.ebuild b/dev-util/codeblocks/codeblocks-9999.ebuild index 531794a90f95..25b3ef48c800 100644 --- a/dev-util/codeblocks/codeblocks-9999.ebuild +++ b/dev-util/codeblocks/codeblocks-9999.ebuild @@ -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 |