From owner-svn-ports-all@freebsd.org Sun Feb 14 18:28:36 2016 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 28859AA8CFE; Sun, 14 Feb 2016 18:28:36 +0000 (UTC) (envelope-from smh@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id D17E0CB; Sun, 14 Feb 2016 18:28:35 +0000 (UTC) (envelope-from smh@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id u1EISYLU037023; Sun, 14 Feb 2016 18:28:34 GMT (envelope-from smh@FreeBSD.org) Received: (from smh@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id u1EISY2d037021; Sun, 14 Feb 2016 18:28:34 GMT (envelope-from smh@FreeBSD.org) Message-Id: <201602141828.u1EISY2d037021@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: smh set sender to smh@FreeBSD.org using -f From: Steven Hartland Date: Sun, 14 Feb 2016 18:28:34 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r408878 - head/databases/mysql57-client X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 14 Feb 2016 18:28:36 -0000 Author: smh (src committer) Date: Sun Feb 14 18:28:34 2016 New Revision: 408878 URL: https://svnweb.freebsd.org/changeset/ports/408878 Log: Add MySQL 5.7 symlinks for mysqlclient_r libs MySQL 5.7 changes lib_r from mysqlclient_r to mysqlclient which causes packages which don't correctly use mysql_config to determine library locations to fail due to missing -lmysqlclient_r. As there are quite a few ports, most of which will require upstream fixes for now we create symlinks so said ports build without issue. PR: 206805 Reviewed by: Mahdi Mokhtari (maintainer) Approved by: koobs (ports) MFH: 2016Q1 Sponsored by: Multiplay Modified: head/databases/mysql57-client/Makefile head/databases/mysql57-client/pkg-plist Modified: head/databases/mysql57-client/Makefile ============================================================================== --- head/databases/mysql57-client/Makefile Sun Feb 14 18:22:03 2016 (r408877) +++ head/databases/mysql57-client/Makefile Sun Feb 14 18:28:34 2016 (r408878) @@ -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 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" Modified: head/databases/mysql57-client/pkg-plist ============================================================================== --- head/databases/mysql57-client/pkg-plist Sun Feb 14 18:22:03 2016 (r408877) +++ head/databases/mysql57-client/pkg-plist Sun Feb 14 18:28:34 2016 (r408878) @@ -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