summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJorge Manuel B. S. Vicetto <jmbsvicetto@gentoo.org>2011-09-30 02:10:24 +0000
committerJorge Manuel B. S. Vicetto <jmbsvicetto@gentoo.org>2011-09-30 02:10:24 +0000
commit56432cf73e7432441277847f9637c3534e8c7392 (patch)
treeac98bd39fc50b62a5c1eebe337ecc66ebe2be613 /eclass/mysql_fx.eclass
parentBeta channel version bump. (diff)
downloadgentoo-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/mysql_fx.eclass')
-rw-r--r--eclass/mysql_fx.eclass4
1 files changed, 2 insertions, 2 deletions
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##*/}