Diff mysql-connector-c-8.0.22 with a mysql-connector-c-8.0.23-r1

/usr/portage/dev-db/mysql-connector-c/mysql-connector-c-8.0.23-r1.ebuild 2021-05-03 11:39:00.000000000 +0300
3 3

  
4 4
EAPI=7
5 5

  
6
CMAKE_ECLASS=cmake
6 7
inherit cmake-multilib
7 8

  
8 9
# wrap the config script
......
10 11

  
11 12
DESCRIPTION="C client library for MariaDB/MySQL"
12 13
HOMEPAGE="https://dev.mysql.com/downloads/"
13
LICENSE="GPL-2"
14 14

  
15
SRC_URI="https://dev.mysql.com/get/Downloads/MySQL-8.0/mysql-boost-${PV}.tar.gz"
16
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~s390 sparc x86"
15
if [[ ${PV} == "9999" ]]; then
16
	EGIT_REPO_URI="https://github.com/mysql/mysql-server.git"
17

  
18
	inherit git-r3
19
else
20
	SRC_URI="https://dev.mysql.com/get/Downloads/MySQL-$(ver_cut 1-2)/mysql-boost-${PV}.tar.gz"
21
	KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 sparc x86"
17 22

  
23
	S="${WORKDIR}/mysql-${PV}"
24
fi
25

  
26
LICENSE="GPL-2"
18 27
SLOT="0/21"
19 28
IUSE="ldap static-libs"
20 29

  
......
24 33
	sys-libs/zlib:=[${MULTILIB_USEDEP}]
25 34
	ldap? ( dev-libs/cyrus-sasl:=[${MULTILIB_USEDEP}] )
26 35
	dev-libs/openssl:0=[${MULTILIB_USEDEP}]
27
	"
36
"
28 37
DEPEND="${RDEPEND}"
29 38

  
30 39
# Avoid file collisions, #692580
......
38 47

  
39 48
DOCS=( README )
40 49

  
41
S="${WORKDIR}/mysql-${PV}"
42

  
43 50
PATCHES=(
44 51
	"${FILESDIR}"/${PN}-8.0.22-always-build-decompress-utilities.patch
45 52
	"${FILESDIR}"/${PN}-8.0.19-do-not-install-comp_err.patch
46 53
)
47 54

  
48 55
src_prepare() {
49
	sed -i -e 's/CLIENT_LIBS/CONFIG_CLIENT_LIBS/' "${S}/scripts/CMakeLists.txt" || die
56
	sed -i -e 's/CLIENT_LIBS/CONFIG_CLIENT_LIBS/' "scripts/CMakeLists.txt" || die
50 57

  
51 58
	# All these are for the server only.
52 59
	# Disable rpm call which would trigger sandbox, #692368
......
71 78
		echo > libmysql/authentication_ldap/CMakeLists.txt || die
72 79
	fi
73 80

  
74
	cmake-utils_src_prepare
81
	cmake_src_prepare
75 82
}
76 83

  
77 84
multilib_src_configure() {
85
	CMAKE_BUILD_TYPE="RelWithDebInfo"
86

  
78 87
	local mycmakeargs=(
88
		-DCMAKE_C_FLAGS_RELWITHDEBINFO=-DNDEBUG
89
		-DCMAKE_CXX_FLAGS_RELWITHDEBINFO=-DNDEBUG
79 90
		-DINSTALL_LAYOUT=RPM
80 91
		-DINSTALL_LIBDIR=$(get_libdir)
81 92
		-DWITH_DEFAULT_COMPILER_OPTIONS=OFF
......
91 102
		-DCMAKE_POSITION_INDEPENDENT_CODE=ON
92 103
		-DWITHOUT_SERVER=ON
93 104
	)
94
	cmake-utils_src_configure
95
}
96 105

  
97
multilib_src_install() {
98
	cmake-utils_src_install
106
	cmake_src_configure
99 107
}
100 108

  
101 109
multilib_src_install_all() {
Thank you!