commit:     a3ff8cc5f82d562d12e70e33a9a4e0875dc4bcb7
Author:     Brian Evans <grknight <AT> gentoo <DOT> org>
AuthorDate: Mon Mar 12 19:42:10 2018 +0000
Commit:     Brian Evans <grknight <AT> gentoo <DOT> org>
CommitDate: Mon Mar 12 19:42:10 2018 +0000
URL:        https://gitweb.gentoo.org/proj/mysql-extras.git/commit/?id=a3ff8cc5

client-libs: Dont install pkgconfig file

 20018_all_mysql-5.7.21-without-clientlibs-tools.patch | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/20018_all_mysql-5.7.21-without-clientlibs-tools.patch 
b/20018_all_mysql-5.7.21-without-clientlibs-tools.patch
index 267af79..05f5328 100644
--- a/20018_all_mysql-5.7.21-without-clientlibs-tools.patch
+++ b/20018_all_mysql-5.7.21-without-clientlibs-tools.patch
@@ -103,6 +103,15 @@ diff -aurN a/scripts/CMakeLists.txt 
b/scripts/CMakeLists.txt
    STRING(REGEX REPLACE "/mysql$" "" PKGCONFIG_DIR "${INSTALL_LIBDIR}")
    SET(PKGCONFIG_DIR "${PKGCONFIG_DIR}/pkgconfig")
 
+@@ -448,7 +448,7 @@
+     ${CMAKE_CURRENT_BINARY_DIR}/${PKGCONFIG_FILE}
+     ESCAPE_QUOTES @ONLY)
+ 
+-  IF(INSTALL_PKGCONFIGDIR)
++  IF(INSTALL_PKGCONFIGDIR AND NOT WITHOUT_CLIENTLIBS)
+     MESSAGE(STATUS "INSTALL ${PKGCONFIG_FILE} ${INSTALL_PKGCONFIGDIR}")
+     INSTALL(FILES
+       ${CMAKE_CURRENT_BINARY_DIR}/${PKGCONFIG_FILE}
 diff -aurN a/libmysql/CMakeLists.txt b/libmysql/CMakeLists.txt
 --- a/libmysql/CMakeLists.txt  2018-03-12 12:40:52.937143630 -0400
 +++ b/libmysql/CMakeLists.txt  2018-03-12 14:07:13.513114687 -0400

Reply via email to