aboutsummaryrefslogtreecommitdiff
path: root/databases
diff options
context:
space:
mode:
authorSteven Hartland <smh@FreeBSD.org>2016-02-14 18:28:34 +0000
committerSteven Hartland <smh@FreeBSD.org>2016-02-14 18:28:34 +0000
commita7a2dc0a88d5d262c4317c33a9ef12c3dc5751bd (patch)
tree38de42a41f6a603ece02ab6b4384fd14a257f096 /databases
parent6d0228a1b17b2e79c8b2e44b797a04f387a8ea91 (diff)
downloadports-a7a2dc0a88d5d262c4317c33a9ef12c3dc5751bd.tar.gz
ports-a7a2dc0a88d5d262c4317c33a9ef12c3dc5751bd.zip
Notes
Diffstat (limited to 'databases')
-rw-r--r--databases/mysql57-client/Makefile7
-rw-r--r--databases/mysql57-client/pkg-plist3
2 files changed, 10 insertions, 0 deletions
diff --git a/databases/mysql57-client/Makefile b/databases/mysql57-client/Makefile
index 67b1d94224c7..4dbc429d89c2 100644
--- a/databases/mysql57-client/Makefile
+++ b/databases/mysql57-client/Makefile
@@ -2,6 +2,7 @@
# $FreeBSD$
PORTNAME= mysql
+PORTREVISION?= 4
PKGNAMESUFFIX= 57-client
COMMENT= Multithreaded SQL database (client)
@@ -29,4 +30,10 @@ MMAN1= comp_err.1 msql2mysql.1 mysql.1 mysql_config.1 mysql_config_editor.1 mys
CLIENT_ONLY= yes
+# issue 166367: adding symlinks for back-compatibility with $(lib)_r
+post-install:
+ @${LN} -s libmysqlclient.a ${STAGEDIR}${PREFIX}/lib/mysql/libmysqlclient_r.a
+ @${LN} -s libmysqlclient.so ${STAGEDIR}${PREFIX}/lib/mysql/libmysqlclient_r.so
+ @${LN} -s libmysqlclient.so.20 ${STAGEDIR}${PREFIX}/lib/mysql/libmysqlclient_r.so.20
+
.include "${MASTERDIR}/Makefile"
diff --git a/databases/mysql57-client/pkg-plist b/databases/mysql57-client/pkg-plist
index 78d0ceacd0d2..5d249b4e089c 100644
--- a/databases/mysql57-client/pkg-plist
+++ b/databases/mysql57-client/pkg-plist
@@ -117,6 +117,9 @@ lib/mysql/libmysqlclient.a
lib/mysql/libmysqlclient.so
lib/mysql/libmysqlclient.so.20
lib/mysql/libmysqlservices.a
+lib/mysql/libmysqlclient_r.a
+lib/mysql/libmysqlclient_r.so
+lib/mysql/libmysqlclient_r.so.20
libdata/pkgconfig/mysqlclient.pc
man/man1/comp_err.1.gz
man/man1/mysql.1.gz