commit:     59ef94707b4bdc334e82396de50722b1a308843f
Author:     orbea <orbea <AT> riseup <DOT> net>
AuthorDate: Sat Aug  3 04:57:04 2024 +0000
Commit:     orbea <orbea <AT> riseup <DOT> net>
CommitDate: Sat Aug  3 04:57:04 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/libressl.git/commit/?id=59ef9470

dev-db/mysql-connector-c++: sync ::gentoo

Signed-off-by: orbea <orbea <AT> riseup.net>

 .../mysql-connector-c++/mysql-connector-c++-8.0.33-r1.ebuild | 12 +++++++++++-
 1 file changed, 11 insertions(+), 1 deletion(-)

diff --git a/dev-db/mysql-connector-c++/mysql-connector-c++-8.0.33-r1.ebuild 
b/dev-db/mysql-connector-c++/mysql-connector-c++-8.0.33-r1.ebuild
index 952fee8..a4c8a1b 100644
--- a/dev-db/mysql-connector-c++/mysql-connector-c++-8.0.33-r1.ebuild
+++ b/dev-db/mysql-connector-c++/mysql-connector-c++-8.0.33-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -35,6 +35,16 @@ PATCHES=(
        "${FILESDIR}"/${P}-jdbc.patch
 )
 
+src_prepare() {
+       cmake_src_prepare
+       # ignores MAKEOPTS and runs recursive make -j$(nproc). Clobbers jobs 
badly
+       # enough that your system immediately freezes.
+       #
+       # https://bugs.gentoo.org/921309
+       # https://bugs.mysql.com/bug.php?id=115734
+       sed -i 's/prc_cnt AND NOT/FALSE AND NOT/' cdk/cmake/dependency.cmake || 
die
+}
+
 src_configure() {
        local mycmakeargs=(
                -DBUNDLE_DEPENDENCIES=OFF

Reply via email to