diff options
author | Robin H. Johnson <robbat2@gentoo.org> | 2009-11-19 18:22:44 +0000 |
---|---|---|
committer | Robin H. Johnson <robbat2@gentoo.org> | 2009-11-19 18:22:44 +0000 |
commit | 2e535591d87fd3410aeb6c89e5469eb8f54179b9 (patch) | |
tree | d38d8eb2ee473b8d196c717faf09d98a3c9b4807 /eclass/mysql.eclass | |
parent | Remove KDE 3.5.10 (diff) | |
download | historical-2e535591d87fd3410aeb6c89e5469eb8f54179b9.tar.gz historical-2e535591d87fd3410aeb6c89e5469eb8f54179b9.tar.bz2 historical-2e535591d87fd3410aeb6c89e5469eb8f54179b9.zip |
For newer 5.1 series MySQL, community features are also available. Only turn on as of 5.1.28, as the config option was not available earlier (and caused a configure fail).
Diffstat (limited to 'eclass/mysql.eclass')
-rw-r--r-- | eclass/mysql.eclass | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/eclass/mysql.eclass b/eclass/mysql.eclass index 7a9c60c7ec29..dc50849d805f 100644 --- a/eclass/mysql.eclass +++ b/eclass/mysql.eclass @@ -1,6 +1,6 @@ # Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/mysql.eclass,v 1.116 2009/10/11 11:42:07 maekke Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/mysql.eclass,v 1.117 2009/11/19 18:22:44 robbat2 Exp $ # Author: Francesco Riosa (Retired) <vivo@gentoo.org> # Maintainer: MySQL Team <mysql-bugs@gentoo.org> @@ -67,6 +67,8 @@ if [ "${PN}" == "mysql-community" ]; then MYSQL_COMMUNITY_FEATURES=1 elif [ "${PV#5.0}" != "${PV}" ] && mysql_version_is_at_least "5.0.82"; then MYSQL_COMMUNITY_FEATURES=1 +elif [ "${PV#5.1}" != "${PV}" ] && mysql_version_is_at_least "5.1.28"; then + MYSQL_COMMUNITY_FEATURES=1 else MYSQL_COMMUNITY_FEATURES=0 fi |