1 |
jmbsvicetto 11/09/30 02:10:24 |
2 |
|
3 |
Modified: mysql-cmake.eclass mysql_fx.eclass |
4 |
Log: |
5 |
[mysql-cmake.eclass] Add CMAKE_BUILD_TYPE to mysql-cmake eclass so the binaries aren't built with debug. Thanks to Greg M. |
6 |
[mysql_fx.eclass] Limit the creation of symlinks to the libdir so not to link to plugins. |
7 |
|
8 |
Revision Changes Path |
9 |
1.2 eclass/mysql-cmake.eclass |
10 |
|
11 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/mysql-cmake.eclass?rev=1.2&view=markup |
12 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/mysql-cmake.eclass?rev=1.2&content-type=text/plain |
13 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/mysql-cmake.eclass?r1=1.1&r2=1.2 |
14 |
|
15 |
Index: mysql-cmake.eclass |
16 |
=================================================================== |
17 |
RCS file: /var/cvsroot/gentoo-x86/eclass/mysql-cmake.eclass,v |
18 |
retrieving revision 1.1 |
19 |
retrieving revision 1.2 |
20 |
diff -u -r1.1 -r1.2 |
21 |
--- mysql-cmake.eclass 13 Jul 2011 07:07:15 -0000 1.1 |
22 |
+++ mysql-cmake.eclass 30 Sep 2011 02:10:24 -0000 1.2 |
23 |
@@ -1,6 +1,6 @@ |
24 |
# Copyright 1999-2011 Gentoo Foundation |
25 |
# Distributed under the terms of the GNU General Public License v2 |
26 |
-# $Header: /var/cvsroot/gentoo-x86/eclass/mysql-cmake.eclass,v 1.1 2011/07/13 07:07:15 robbat2 Exp $ |
27 |
+# $Header: /var/cvsroot/gentoo-x86/eclass/mysql-cmake.eclass,v 1.2 2011/09/30 02:10:24 jmbsvicetto Exp $ |
28 |
|
29 |
# @ECLASS: mysql-cmake.eclass |
30 |
# @MAINTAINER: |
31 |
@@ -192,6 +192,8 @@ |
32 |
|
33 |
debug-print-function ${FUNCNAME} "$@" |
34 |
|
35 |
+ CMAKE_BUILD_TYPE="RelWithDebInfo" |
36 |
+ |
37 |
mycmakeargs=( |
38 |
-DCMAKE_INSTALL_PREFIX=/usr |
39 |
-DMYSQL_DATADIR=/var/lib/mysql |
40 |
|
41 |
|
42 |
|
43 |
1.26 eclass/mysql_fx.eclass |
44 |
|
45 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/mysql_fx.eclass?rev=1.26&view=markup |
46 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/mysql_fx.eclass?rev=1.26&content-type=text/plain |
47 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/mysql_fx.eclass?r1=1.25&r2=1.26 |
48 |
|
49 |
Index: mysql_fx.eclass |
50 |
=================================================================== |
51 |
RCS file: /var/cvsroot/gentoo-x86/eclass/mysql_fx.eclass,v |
52 |
retrieving revision 1.25 |
53 |
retrieving revision 1.26 |
54 |
diff -u -r1.25 -r1.26 |
55 |
--- mysql_fx.eclass 29 Jul 2011 02:51:25 -0000 1.25 |
56 |
+++ mysql_fx.eclass 30 Sep 2011 02:10:24 -0000 1.26 |
57 |
@@ -1,6 +1,6 @@ |
58 |
# Copyright 1999-2007 Gentoo Foundation |
59 |
# Distributed under the terms of the GNU General Public License v2 |
60 |
-# $Header: /var/cvsroot/gentoo-x86/eclass/mysql_fx.eclass,v 1.25 2011/07/29 02:51:25 jmbsvicetto Exp $ |
61 |
+# $Header: /var/cvsroot/gentoo-x86/eclass/mysql_fx.eclass,v 1.26 2011/09/30 02:10:24 jmbsvicetto Exp $ |
62 |
|
63 |
# Author: Francesco Riosa (Retired) <vivo@g.o> |
64 |
# Maintainer: |
65 |
@@ -199,7 +199,7 @@ |
66 |
|
67 |
# waste some time in removing and recreating symlinks |
68 |
for d in $dirlist ; do |
69 |
- for libname in $( find "${d}" -name "*${libsuffix}*" -and -not -type "l" 2>/dev/null ) ; do |
70 |
+ for libname in $( find "${d}" -mindepth 1 -maxdepth 1 -name "*${libsuffix}*" -and -not -type "l" 2>/dev/null ) ; do |
71 |
# maxdot is a limit versus infinite loop |
72 |
maxdots=0 |
73 |
libnameln=${libname##*/} |