| 1 | # Copyright 1999-2009 Gentoo Foundation |
1 | # Copyright 1999-2009 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.134 2010/02/27 18:21:35 robbat2 Exp $ |
3 | # $Header: /var/cvsroot/gentoo-x86/eclass/mysql.eclass,v 1.135 2010/03/03 23:57:13 robbat2 Exp $ |
| 4 | |
4 | |
| 5 | # @ECLASS: mysql.eclass |
5 | # @ECLASS: mysql.eclass |
| 6 | # @MAINTAINER: |
6 | # @MAINTAINER: |
| 7 | # Author: Francesco Riosa (Retired) <vivo@gentoo.org> |
7 | # Author: Francesco Riosa (Retired) <vivo@gentoo.org> |
| 8 | # Maintainers: MySQL Team <mysql-bugs@gentoo.org> |
8 | # Maintainers: MySQL Team <mysql-bugs@gentoo.org> |
| … | |
… | |
| 405 | if use ssl ; then |
405 | if use ssl ; then |
| 406 | mysql_version_is_at_least "5.0.4" || myconf="${myconf} --with-vio" |
406 | mysql_version_is_at_least "5.0.4" || myconf="${myconf} --with-vio" |
| 407 | fi |
407 | fi |
| 408 | |
408 | |
| 409 | if mysql_version_is_at_least "5.1.11" ; then |
409 | if mysql_version_is_at_least "5.1.11" ; then |
| 410 | myconf="${myconf} $(use_with ssl)" |
410 | myconf="${myconf} $(use_with ssl /usr)" |
| 411 | else |
411 | else |
| 412 | myconf="${myconf} $(use_with ssl openssl)" |
412 | myconf="${myconf} $(use_with ssl openssl)" |
| 413 | fi |
413 | fi |
| 414 | |
414 | |
| 415 | if mysql_version_is_at_least "5.0.60" ; then |
415 | if mysql_version_is_at_least "5.0.60" ; then |