commit:     f4ae3586466b62e04624ca862b01d31f2a585b83
Author:     Brian Evans <grknight <AT> gentoo <DOT> org>
AuthorDate: Sun Feb  5 15:53:32 2017 +0000
Commit:     Brian Evans <grknight <AT> gentoo <DOT> org>
CommitDate: Sun Feb  5 15:53:32 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f4ae3586

dev-db/mysql++: Fix build failure when libmysqlclient_r does not exist #608320

Package-Manager: Portage-2.3.3, Repoman-2.3.1

 dev-db/mysql++/mysql++-3.2.1.ebuild | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/dev-db/mysql++/mysql++-3.2.1.ebuild 
b/dev-db/mysql++/mysql++-3.2.1.ebuild
index 0ce369c..797d60f 100644
--- a/dev-db/mysql++/mysql++-3.2.1.ebuild
+++ b/dev-db/mysql++/mysql++-3.2.1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
@@ -21,6 +21,7 @@ DEPEND="${RDEPEND}"
 src_prepare() {
        epatch "${FILESDIR}/${P}-gold.patch"
        epatch_user
+       sed -i -e "s/mysqlclient_r/mysqlclient/" "${S}/configure" || die
 }
 
 src_configure() {

Reply via email to