diff options
author | Jorge Manuel B. S. Vicetto <jmbsvicetto@gentoo.org> | 2011-09-30 02:10:24 +0000 |
---|---|---|
committer | Jorge Manuel B. S. Vicetto <jmbsvicetto@gentoo.org> | 2011-09-30 02:10:24 +0000 |
commit | 56432cf73e7432441277847f9637c3534e8c7392 (patch) | |
tree | ac98bd39fc50b62a5c1eebe337ecc66ebe2be613 /eclass | |
parent | Beta channel version bump. (diff) | |
download | gentoo-2-56432cf73e7432441277847f9637c3534e8c7392.tar.gz gentoo-2-56432cf73e7432441277847f9637c3534e8c7392.tar.bz2 gentoo-2-56432cf73e7432441277847f9637c3534e8c7392.zip |
[mysql-cmake.eclass] Add CMAKE_BUILD_TYPE to mysql-cmake eclass so the binaries aren't built with debug. Thanks to Greg M.
[mysql_fx.eclass] Limit the creation of symlinks to the libdir so not to link to plugins.
Diffstat (limited to 'eclass')
-rw-r--r-- | eclass/mysql-cmake.eclass | 4 | ||||
-rw-r--r-- | eclass/mysql_fx.eclass | 4 |
2 files changed, 5 insertions, 3 deletions
diff --git a/eclass/mysql-cmake.eclass b/eclass/mysql-cmake.eclass index c7e854114e40..faf1e3548dad 100644 --- a/eclass/mysql-cmake.eclass +++ b/eclass/mysql-cmake.eclass @@ -1,6 +1,6 @@ # Copyright 1999-2011 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/mysql-cmake.eclass,v 1.1 2011/07/13 07:07:15 robbat2 Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/mysql-cmake.eclass,v 1.2 2011/09/30 02:10:24 jmbsvicetto Exp $ # @ECLASS: mysql-cmake.eclass # @MAINTAINER: @@ -192,6 +192,8 @@ mysql-cmake_src_configure() { debug-print-function ${FUNCNAME} "$@" + CMAKE_BUILD_TYPE="RelWithDebInfo" + mycmakeargs=( -DCMAKE_INSTALL_PREFIX=/usr -DMYSQL_DATADIR=/var/lib/mysql diff --git a/eclass/mysql_fx.eclass b/eclass/mysql_fx.eclass index ef2331bab2f8..81049f0fdca9 100644 --- a/eclass/mysql_fx.eclass +++ b/eclass/mysql_fx.eclass @@ -1,6 +1,6 @@ # Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/mysql_fx.eclass,v 1.25 2011/07/29 02:51:25 jmbsvicetto Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/mysql_fx.eclass,v 1.26 2011/09/30 02:10:24 jmbsvicetto Exp $ # Author: Francesco Riosa (Retired) <vivo@gentoo.org> # Maintainer: @@ -199,7 +199,7 @@ mysql_lib_symlinks() { # waste some time in removing and recreating symlinks for d in $dirlist ; do - for libname in $( find "${d}" -name "*${libsuffix}*" -and -not -type "l" 2>/dev/null ) ; do + for libname in $( find "${d}" -mindepth 1 -maxdepth 1 -name "*${libsuffix}*" -and -not -type "l" 2>/dev/null ) ; do # maxdot is a limit versus infinite loop maxdots=0 libnameln=${libname##*/} |