commit:     efcad109bf466b26305cb3cd6be714971d3c50c7
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Wed Oct  9 12:52:20 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Wed Oct  9 12:52:36 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=efcad109

dev-db/sqlitestudio: build with -j1

The build system is qmake so a pain to fix.

Closes: https://bugs.gentoo.org/902991
Closes: https://bugs.gentoo.org/924672
Closes: https://bugs.gentoo.org/928736
Closes: https://bugs.gentoo.org/941074
Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-db/sqlitestudio/sqlitestudio-3.4.4-r1.ebuild | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)

diff --git a/dev-db/sqlitestudio/sqlitestudio-3.4.4-r1.ebuild 
b/dev-db/sqlitestudio/sqlitestudio-3.4.4-r1.ebuild
index 8d42774fa22e..5b746ecdf792 100644
--- a/dev-db/sqlitestudio/sqlitestudio-3.4.4-r1.ebuild
+++ b/dev-db/sqlitestudio/sqlitestudio-3.4.4-r1.ebuild
@@ -159,13 +159,14 @@ src_configure() {
 }
 
 src_compile() {
-       emake -C "${core_build_dir}"
-       emake -C "${plugins_build_dir}"
+       # -j1 for bug #902991; it clobbers object files in parallel
+       emake -j1 -C "${core_build_dir}"
+       emake -j1 -C "${plugins_build_dir}"
 }
 
 src_install() {
-       emake -C "${core_build_dir}" INSTALL_ROOT="${D}" install
-       emake -C "${plugins_build_dir}" INSTALL_ROOT="${D}" install
+       emake -j1 -C "${core_build_dir}" INSTALL_ROOT="${D}" install
+       emake -j1 -C "${plugins_build_dir}" INSTALL_ROOT="${D}" install
 
        if use test; then
                # remove test artifacts that must not be installed

Reply via email to