From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id D08B515817D for ; Sat, 8 Jun 2024 12:30:48 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 0F276E2A50; Sat, 8 Jun 2024 12:30:48 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id E3EB2E2A50 for ; Sat, 8 Jun 2024 12:30:47 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id D641C335DC3 for ; Sat, 8 Jun 2024 12:30:46 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 374841ACB for ; Sat, 8 Jun 2024 12:30:45 +0000 (UTC) From: "Joonas Niilola" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Joonas Niilola" Message-ID: <1717849841.c763fa2da5af460e1cab02d1bf622d1e47fd2b5e.juippis@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-util/codeblocks/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-util/codeblocks/codeblocks-9999.ebuild X-VCS-Directories: dev-util/codeblocks/ X-VCS-Committer: juippis X-VCS-Committer-Name: Joonas Niilola X-VCS-Revision: c763fa2da5af460e1cab02d1bf622d1e47fd2b5e X-VCS-Branch: master Date: Sat, 8 Jun 2024 12:30:45 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 9a945e05-b738-4da1-acc1-b28494e569c1 X-Archives-Hash: 56fa2f2dbf71a84e720ccf21efb94463 commit: c763fa2da5af460e1cab02d1bf622d1e47fd2b5e Author: Sergey Torokhov yandex ru> AuthorDate: Fri May 10 23:16:49 2024 +0000 Commit: Joonas Niilola gentoo org> CommitDate: Sat Jun 8 12:30:41 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c763fa2d dev-util/codeblocks: update live ebuild (fix USE="contib" race cond.) Signed-off-by: Sergey Torokhov yandex.ru> Closes: https://github.com/gentoo/gentoo/pull/36447 Signed-off-by: Joonas Niilola gentoo.org> dev-util/codeblocks/codeblocks-9999.ebuild | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) 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