diff options
author | Jorge Manuel B. S. Vicetto <jmbsvicetto@gentoo.org> | 2013-06-27 17:23:33 +0000 |
---|---|---|
committer | Jorge Manuel B. S. Vicetto <jmbsvicetto@gentoo.org> | 2013-06-27 17:23:33 +0000 |
commit | 952cd189a3958dc36077fb60e9cf308955128783 (patch) | |
tree | 399a1563b67c2402c5fe4eeba560abc64b07b258 /eclass | |
parent | Stabilizing setools (support swig1.3) (diff) | |
download | historical-952cd189a3958dc36077fb60e9cf308955128783.tar.gz historical-952cd189a3958dc36077fb60e9cf308955128783.tar.bz2 historical-952cd189a3958dc36077fb60e9cf308955128783.zip |
[eclass] Add env file to add /usr/lib/mysql to LDPATH. Fixes bug 474952.
Diffstat (limited to 'eclass')
-rw-r--r-- | eclass/mysql-cmake.eclass | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/eclass/mysql-cmake.eclass b/eclass/mysql-cmake.eclass index 41cf20a5feea..548bbd3c2c69 100644 --- a/eclass/mysql-cmake.eclass +++ b/eclass/mysql-cmake.eclass @@ -1,6 +1,6 @@ # Copyright 1999-2013 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/mysql-cmake.eclass,v 1.16 2013/06/26 19:31:49 jmbsvicetto Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/mysql-cmake.eclass,v 1.17 2013/06/27 17:23:33 jmbsvicetto Exp $ # @ECLASS: mysql-cmake.eclass # @MAINTAINER: @@ -407,6 +407,11 @@ mysql-cmake_src_install() { done fi + cat <<-EOF > "${T}"/80mysql-libdir + LDPATH="${EPREFIX}/usr/$(get_libdir)/mysql" + EOF + doenvd "${T}"/80mysql-libdir + #Remove mytop if perl is not selected [[ ${PN} == "mariadb" ]] && ! use perl \ && rm -f "${ED}/usr/bin/mytop" |