Gentoo Archives: gentoo-commits

From: "Robin H. Johnson (robbat2)" <robbat2@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in eclass: mysql.eclass
Date: Tue, 02 Feb 2010 02:59:11
Message-Id: E1Nc8yl-0001pI-BH@stork.gentoo.org
1 robbat2 10/02/02 02:59:03
2
3 Modified: mysql.eclass
4 Log:
5 Refactor innodb/falcon stuff.
6
7 Revision Changes Path
8 1.130 eclass/mysql.eclass
9
10 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/mysql.eclass?rev=1.130&view=markup
11 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/mysql.eclass?rev=1.130&content-type=text/plain
12 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/mysql.eclass?r1=1.129&r2=1.130
13
14 Index: mysql.eclass
15 ===================================================================
16 RCS file: /var/cvsroot/gentoo-x86/eclass/mysql.eclass,v
17 retrieving revision 1.129
18 retrieving revision 1.130
19 diff -p -w -b -B -u -u -r1.129 -r1.130
20 --- mysql.eclass 2 Feb 2010 02:46:52 -0000 1.129
21 +++ mysql.eclass 2 Feb 2010 02:59:03 -0000 1.130
22 @@ -1,6 +1,6 @@
23 # Copyright 1999-2009 Gentoo Foundation
24 # Distributed under the terms of the GNU General Public License v2
25 -# $Header: /var/cvsroot/gentoo-x86/eclass/mysql.eclass,v 1.129 2010/02/02 02:46:52 robbat2 Exp $
26 +# $Header: /var/cvsroot/gentoo-x86/eclass/mysql.eclass,v 1.130 2010/02/02 02:59:03 robbat2 Exp $
27
28 # @ECLASS: mysql.eclass
29 # @MAINTAINER:
30 @@ -497,8 +497,12 @@ configure_51() {
31 elog "http://dev.mysql.com/doc/refman/5.1/en/federated-limitations.html"
32 fi
33
34 - # Upstream specifically requests that InnoDB always be built.
35 - plugins="${plugins},innobase,innodb_plugin"
36 + # Upstream specifically requests that InnoDB always be built:
37 + # - innobase, innodb_plugin
38 + # Build falcon if available for 6.x series.
39 + for i in innobase innodb_plugin falcon ; do
40 + [ -e "${S}"/storage/${i} ] && plugins="${plugins},${i}"
41 + done
42
43 # like configuration=max-no-ndb
44 if use cluster ; then
45 @@ -506,10 +510,6 @@ configure_51() {
46 myconf="${myconf} --with-ndb-binlog"
47 fi
48
49 - if [ -e "${S}/storage/falcon" ] ; then
50 - plugins="${plugins},falcon"
51 - fi
52 -
53 myconf="${myconf} --with-plugins=${plugins}"
54 }