diff options
author | Francesco Riosa <vivo@gentoo.org> | 2007-01-05 22:51:21 +0000 |
---|---|---|
committer | Francesco Riosa <vivo@gentoo.org> | 2007-01-05 22:51:21 +0000 |
commit | 03f09f4c9b8f236c88930cfcc8fb80476c705da6 (patch) | |
tree | e5a77373fe595a7c08ff9dee78159c001dd45d2d /eclass | |
parent | einfo -> elog (diff) | |
download | gentoo-2-03f09f4c9b8f236c88930cfcc8fb80476c705da6.tar.gz gentoo-2-03f09f4c9b8f236c88930cfcc8fb80476c705da6.tar.bz2 gentoo-2-03f09f4c9b8f236c88930cfcc8fb80476c705da6.zip |
bug #160330 mispelled ssl option (better fix)
Diffstat (limited to 'eclass')
-rw-r--r-- | eclass/mysql.eclass | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/eclass/mysql.eclass b/eclass/mysql.eclass index 1059ccee681b..02446716480c 100644 --- a/eclass/mysql.eclass +++ b/eclass/mysql.eclass @@ -1,6 +1,6 @@ # Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/mysql.eclass,v 1.61 2007/01/05 22:41:49 vivo Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/mysql.eclass,v 1.62 2007/01/05 22:51:21 vivo Exp $ # kate: encoding utf-8; eol unix; # kate: indent-width 4; mixedindent off; remove-trailing-space on; space-indent off; # kate: word-wrap-column 80; word-wrap off; @@ -347,13 +347,12 @@ configure_40_41_50() { # --with-vio is not needed anymore, it's on by default and # has been removed from configure mysql_version_is_at_least "5.0.4" || myconf="${myconf} --with-vio" - if mysql_version_is_at_least "5.2.0" ; then - myconf="${myconf} --with-ssl" - else - myconf="${myconf} --with-openssl" - fi + fi + + if mysql_version_is_at_least "5.1.11" ; then + myconf="${myconf} $(use_with ssl)" else - myconf="${myconf} --without-openssl" + myconf="${myconf} $(use_with ssl openssl)" fi # The following fix is due to a bug with bdb on SPARC's. See: |