diff options
author | ryoon <ryoon@pkgsrc.org> | 2013-07-15 12:13:43 +0000 |
---|---|---|
committer | ryoon <ryoon@pkgsrc.org> | 2013-07-15 12:13:43 +0000 |
commit | 2a552c4f6433965259288f1273873069b5737ab5 (patch) | |
tree | 5d2929f96538f0e44829d0e6738ab40d79c9433f /databases | |
parent | 1a655392fa5c4f77e9c5d5fdbdec9fdf40d9dcad (diff) | |
download | pkgsrc-2a552c4f6433965259288f1273873069b5737ab5.tar.gz |
Fix PR pkg/48052.
* On FreeBSD, create libmysqlclient{,_r}.so.18.0.0 for supress PLIST divergence.
Diffstat (limited to 'databases')
-rw-r--r-- | databases/mysql56-client/distinfo | 3 | ||||
-rw-r--r-- | databases/mysql56-client/patches/patch-libmysql_CMakeLists.txt | 16 |
2 files changed, 18 insertions, 1 deletions
diff --git a/databases/mysql56-client/distinfo b/databases/mysql56-client/distinfo index 19a068fe99c..a2844f1daab 100644 --- a/databases/mysql56-client/distinfo +++ b/databases/mysql56-client/distinfo @@ -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_compare.h) = f45bac4b488332a668b0005751856279b67401f5 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 --git a/databases/mysql56-client/patches/patch-libmysql_CMakeLists.txt b/databases/mysql56-client/patches/patch-libmysql_CMakeLists.txt new file mode 100644 index 00000000000..3f6decfbcdc --- /dev/null +++ b/databases/mysql56-client/patches/patch-libmysql_CMakeLists.txt @@ -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") |