Diff mysql-connector-c++-1.1.9-r1 with a mysql-connector-c++-1.1.11-r1

/usr/portage/dev-db/mysql-connector-c++/mysql-connector-c++-1.1.11-r1.ebuild 2019-08-28 14:39:00.000000000 +0300
1 1
# Copyright 1999-2019 Gentoo Authors
2 2
# Distributed under the terms of the GNU General Public License v2
3 3

  
4
EAPI=6
4
EAPI="7"
5 5

  
6 6
inherit cmake-utils flag-o-matic
7 7

  
......
23 23

  
24 24
PATCHES=(
25 25
	"${FILESDIR}/${PN}-1.1.6-fix-cmake.patch"
26
	"${FILESDIR}/${PN}-1.1.8-fix-mariadb.patch"
26
	"${FILESDIR}/${PN}-1.1.11-fix-mariadb.patch"
27
	"${FILESDIR}/${PN}-1.1.11-fix-cpp-linking.patch"
27 28
)
28 29

  
29 30
src_configure() {
......
33 34
	local mycmakeargs=(
34 35
		-DMYSQLCPPCONN_BUILD_EXAMPLES=OFF
35 36
		-DMYSQLCPPCONN_ICU_ENABLE=OFF
36
		-DUSE_MYSQLCPPCONN_TRACE_ENABLE=$(usex debug ON OFF)
37
		-DUSE_MYSQLCPPCONN_GCOV_ENABLE=$(usex gcov ON OFF)
37
		-DMYSQLCPPCONN_TRACE_ENABLE=$(usex debug ON OFF)
38
		-DMYSQLCPPCONN_GCOV_ENABLE=$(usex gcov ON OFF)
38 39
		-DINSTALL_DOCS="/usr/share/doc/${PF}"
39 40
		-DMYSQL_CXX_LINKAGE=0
40 41
		-DMYSQL_INCLUDE_DIR=$(mysql_config --variable=pkgincludedir)
......
48 49

  
49 50
	# static lib has wrong name so we need to rename it
50 51
	if use static-libs; then
51
		mv "${ED}"/usr/$(get_libdir)/libmysqlcppconn-static.a \
52
			"${ED}"/usr/$(get_libdir)/libmysqlcppconn.a || die
52
		mv "${ED%/}"/usr/$(get_libdir)/libmysqlcppconn-static.a \
53
			"${ED%/}"/usr/$(get_libdir)/libmysqlcppconn.a || die
53 54
	else
54
		rm -f "${ED}"/usr/$(get_libdir)/libmysqlcppconn-static.a
55
		rm -f "${ED%/}"/usr/$(get_libdir)/libmysqlcppconn-static.a
55 56
	fi
56 57

  
57 58
	# examples
Thank you!