dev-db/mysql++: Fix build failure when libmysqlclient_r does not exist #608320
authorBrian Evans <grknight@gentoo.org>
Sun, 5 Feb 2017 15:53:32 +0000 (10:53 -0500)
committerBrian Evans <grknight@gentoo.org>
Sun, 5 Feb 2017 15:53:32 +0000 (10:53 -0500)
Package-Manager: Portage-2.3.3, Repoman-2.3.1

dev-db/mysql++/mysql++-3.2.1.ebuild

index 0ce369c2e68fa762c9a93d5df520325c0fc12b82..797d60f287d801fe1f65c6aa76fd0ea8c8410240 100644 (file)
@@ -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() {