Gentoo Archives: gentoo-commits

From: Thomas Deutschmann <whissi@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/mysql-extras:master commit in: /
Date: Tue, 16 Oct 2018 15:19:26
Message-Id: 1539702261.0d47dcbb9cab7990a02f7b4977033b825a4dbdad.whissi@gentoo
1 commit: 0d47dcbb9cab7990a02f7b4977033b825a4dbdad
2 Author: Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
3 AuthorDate: Tue Oct 16 15:04:21 2018 +0000
4 Commit: Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
5 CommitDate: Tue Oct 16 15:04:21 2018 +0000
6 URL: https://gitweb.gentoo.org/proj/mysql-extras.git/commit/?id=0d47dcbb
7
8 Fix 20018_all_percona-server-5.7.23-without-clientlibs-tools.patch
9
10 Don't install PKCONFIG file.
11
12 Signed-off-by: Thomas Deutschmann <whissi <AT> gentoo.org>
13
14 ...all_percona-server-5.7.23-without-clientlibs-tools.patch | 13 +++++++++++--
15 1 file changed, 11 insertions(+), 2 deletions(-)
16
17 diff --git a/20018_all_percona-server-5.7.23-without-clientlibs-tools.patch b/20018_all_percona-server-5.7.23-without-clientlibs-tools.patch
18 index 35221f7..c2add24 100644
19 --- a/20018_all_percona-server-5.7.23-without-clientlibs-tools.patch
20 +++ b/20018_all_percona-server-5.7.23-without-clientlibs-tools.patch
21 @@ -74,7 +74,7 @@
22 SET_TARGET_PROPERTIES(perror PROPERTIES LINKER_LANGUAGE CXX)
23 --- a/libmysql/CMakeLists.txt
24 +++ b/libmysql/CMakeLists.txt
25 -@@ -233,12 +233,17 @@ IF(WIN32)
26 +@@ -231,12 +231,17 @@ IF(WIN32)
27 LIST(APPEND LIBS auth_win_client)
28 ENDIF()
29
30 @@ -98,7 +98,7 @@
31
32 # Visual Studio users need debug static library for debug projects
33 IF(MSVC)
34 -@@ -285,9 +290,15 @@ ENDIF()
35 +@@ -283,9 +288,15 @@ ENDIF()
36 IF(NOT DISABLE_SHARED)
37 # Merge several convenience libraries into one big perconaserverclient
38 # and link them together into shared library.
39 @@ -146,6 +146,15 @@
40 SET(PKGCONFIG_FILE ${LIBMYSQL_OS_OUTPUT_NAME}.pc)
41 STRING(REGEX REPLACE "/mysql$" "" PKGCONFIG_DIR "${INSTALL_LIBDIR}")
42 SET(PKGCONFIG_DIR "${PKGCONFIG_DIR}/pkgconfig")
43 +@@ -443,7 +448,7 @@ ELSE()
44 + ${CMAKE_CURRENT_BINARY_DIR}/${PKGCONFIG_FILE}
45 + ESCAPE_QUOTES @ONLY)
46 +
47 +- IF(INSTALL_PKGCONFIGDIR)
48 ++ IF(INSTALL_PKGCONFIGDIR AND NOT WITHOUT_CLIENTLIBS)
49 + MESSAGE(STATUS "INSTALL ${PKGCONFIG_FILE} ${INSTALL_PKGCONFIGDIR}")
50 + INSTALL(FILES
51 + ${CMAKE_CURRENT_BINARY_DIR}/${PKGCONFIG_FILE}
52 --- a/support-files/CMakeLists.txt
53 +++ b/support-files/CMakeLists.txt
54 @@ -59,8 +59,9 @@ IF(UNIX)