/[gentoo-x86]/eclass/mysql.eclass
Gentoo

Diff of /eclass/mysql.eclass

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.49 Revision 1.50
1# Copyright 1999-2006 Gentoo Foundation 1# Copyright 1999-2006 Gentoo Foundation
2# Distributed under the terms of the GNU General Public License v2 2# Distributed under the terms of the GNU General Public License v2
3# $Header: /var/cvsroot/gentoo-x86/eclass/mysql.eclass,v 1.49 2006/12/13 11:11:26 vivo Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/mysql.eclass,v 1.50 2006/12/16 12:34:29 chtekk Exp $
4 4
5# Author: Francesco Riosa <vivo@gentoo.org> 5# Author: Francesco Riosa <vivo@gentoo.org>
6# Maintainer: Luca Longinotti <chtekk@gentoo.org> 6# Maintainer: Luca Longinotti <chtekk@gentoo.org>
7 7
8# Both MYSQL_VERSION_ID and MYSQL_PATCHSET_REV must be set in the ebuild too 8# Both MYSQL_VERSION_ID and MYSQL_PATCHSET_REV must be set in the ebuild too
171 if useq "static" ; then 171 if useq "static" ; then
172 myconf="${myconf} --with-client-ldflags=-all-static" 172 myconf="${myconf} --with-client-ldflags=-all-static"
173 myconf="${myconf} --disable-shared" 173 myconf="${myconf} --disable-shared"
174 else 174 else
175 myconf="${myconf} --enable-shared --enable-static" 175 myconf="${myconf} --enable-shared --enable-static"
176 fi
177
178 if mysql_version_is_at_least "4.01.00.00" && ! useq "latin1" ; then
179 myconf="${myconf} --with-charset=utf8"
180 myconf="${myconf} --with-collation=utf8_general_ci"
181 else
182 myconf="${myconf} --with-charset=latin1"
183 myconf="${myconf} --with-collation=latin1_swedish_ci"
176 fi 184 fi
177} 185}
178 186
179configure_common() { 187configure_common() {
180 myconf="${myconf} $(use_with big-tables)" 188 myconf="${myconf} $(use_with big-tables)"

Legend:
Removed from v.1.49  
changed lines
  Added in v.1.50

  ViewVC Help
Powered by ViewVC 1.1.20