pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/databases/mysql56-client Fix PR pkg/48052.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/89d2a5c06e34
branches:  trunk
changeset: 621730:89d2a5c06e34
user:      ryoon <ryoon%pkgsrc.org@localhost>
date:      Mon Jul 15 12:13:43 2013 +0000

description:
Fix PR pkg/48052.

* On FreeBSD, create libmysqlclient{,_r}.so.18.0.0 for supress PLIST divergence.

diffstat:

 databases/mysql56-client/distinfo                              |   3 +-
 databases/mysql56-client/patches/patch-libmysql_CMakeLists.txt |  16 ++++++++++
 2 files changed, 18 insertions(+), 1 deletions(-)

diffs (37 lines):

diff -r f088dd0a2b28 -r 89d2a5c06e34 databases/mysql56-client/distinfo
--- a/databases/mysql56-client/distinfo Mon Jul 15 12:11:59 2013 +0000
+++ b/databases/mysql56-client/distinfo Mon Jul 15 12:13:43 2013 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.6 2013/07/15 02:04:36 ryoon Exp $
+$NetBSD: distinfo,v 1.7 2013/07/15 12:13:43 ryoon Exp $
 
 SHA1 (mysql-5.6.12.tar.gz) = 852e168fd39bb24adf8805642be20a59042c2e6c
 RMD160 (mysql-5.6.12.tar.gz) = 0088072e353f21fe0b079fe7c26500c822c76819
@@ -16,6 +16,7 @@
 SHA1 (patch-include_my_net.h) = b08aa36921efd023f9ecaac4cd3fb8a16d200abd
 SHA1 (patch-include_my_pthread.h) = ff3bf1fddd04edd7804d810f79de64387464b5ca
 SHA1 (patch-include_myisam.h) = c554a594ea0169cb725cfdfe5accaf231eebdc23
+SHA1 (patch-libmysql_CMakeLists.txt) = 6169cb9f88e4022b83b3d9103b1f8e80ad8143d8
 SHA1 (patch-libmysql_libmysql.c) = ad78143ca78b7c512e86677b3dd59e497357f289
 SHA1 (patch-libmysqld_lib__sql.cc) = ffdd74cece2d7795cb4d8d738f81c2c8dc040a7d
 SHA1 (patch-mysql-test_CMakeLists.txt) = b7dd562d55678b13ac487aa0ee59bf2551af1f9d
diff -r f088dd0a2b28 -r 89d2a5c06e34 databases/mysql56-client/patches/patch-libmysql_CMakeLists.txt
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/databases/mysql56-client/patches/patch-libmysql_CMakeLists.txt    Mon Jul 15 12:13:43 2013 +0000
@@ -0,0 +1,16 @@
+$NetBSD: patch-libmysql_CMakeLists.txt,v 1.1 2013/07/15 12:13:43 ryoon Exp $
+
+* Generate libmysqlclient.so.18.0.0 file and libmysqlclient_r.so.18.0.0 symlink
+  on FreeBSD to supress PLIST divergence.
+
+--- libmysql/CMakeLists.txt.orig       2013-05-21 15:18:39.000000000 +0000
++++ libmysql/CMakeLists.txt
+@@ -203,7 +203,7 @@ IF(NOT DISABLE_SHARED)
+     COMPONENT SharedLibraries)
+   IF(UNIX)
+     # libtool compatability
+-    IF(CMAKE_SYSTEM_NAME MATCHES "FreeBSD" OR APPLE)
++    IF(CMAKE_SYSTEM_NAME MATCHES APPLE)
+       SET(OS_SHARED_LIB_VERSION "${SHARED_LIB_MAJOR_VERSION}")
+     ELSEIF(CMAKE_SYSTEM_NAME MATCHES "HP-UX")
+       SET(OS_SHARED_LIB_VERSION "${SHARED_LIB_MAJOR_VERSION}.0")



Home | Main Index | Thread Index | Old Index