aboutsummaryrefslogtreecommitdiff
path: root/dev-db
diff options
context:
space:
mode:
authororbea <orbea@riseup.net>2024-08-02 21:57:04 -0700
committerorbea <orbea@riseup.net>2024-08-02 21:57:04 -0700
commit59ef94707b4bdc334e82396de50722b1a308843f (patch)
tree96dbc9fd05eb72a6b166fbdb7caf79879d797d02 /dev-db
parentdev-lang/python: add 3.9.19_p4, 3.10.14_p2, 3.11.9_p1, 3.12.4_p3 (diff)
downloadlibressl-59ef94707b4bdc334e82396de50722b1a308843f.tar.gz
libressl-59ef94707b4bdc334e82396de50722b1a308843f.tar.bz2
libressl-59ef94707b4bdc334e82396de50722b1a308843f.zip
dev-db/mysql-connector-c++: sync ::gentoo
Signed-off-by: orbea <orbea@riseup.net>
Diffstat (limited to 'dev-db')
-rw-r--r--dev-db/mysql-connector-c++/mysql-connector-c++-8.0.33-r1.ebuild12
1 files changed, 11 insertions, 1 deletions
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