From: Francesco Riosa Date: Fri, 5 Jan 2007 22:51:21 +0000 (+0000) Subject: bug #160330 mispelled ssl option (better fix) X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=633c7420deb1b87c9976d07473b6f46524ff1036;p=gentoo.git bug #160330 mispelled ssl option (better fix) --- 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: