| 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.157 2011/03/26 23:44:43 jmbsvicetto Exp $ |
3 | # $Header: /var/cvsroot/gentoo-x86/eclass/mysql.eclass,v 1.158 2011/03/28 22:36:13 jmbsvicetto 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> |
| … | |
… | |
| 144 | RDEPEND="${DEPEND} |
144 | RDEPEND="${DEPEND} |
| 145 | !minimal? ( dev-db/mysql-init-scripts ) |
145 | !minimal? ( dev-db/mysql-init-scripts ) |
| 146 | selinux? ( sec-policy/selinux-mysql )" |
146 | selinux? ( sec-policy/selinux-mysql )" |
| 147 | |
147 | |
| 148 | if [ "${EAPI:-0}" = "2" ]; then |
148 | if [ "${EAPI:-0}" = "2" ]; then |
| 149 | DEPEND="${DEPEND} static? ( sys-libs/ncurses[static-libs] )" |
149 | DEPEND="${DEPEND} static? ( || ( sys-libs/ncurses[static-libs] <=sys-libs/ncurses-5.7-r3 ) )" |
| 150 | fi |
150 | fi |
| 151 | |
151 | |
| 152 | # compile-time-only |
152 | # compile-time-only |
| 153 | mysql_version_is_at_least "5.1" \ |
153 | mysql_version_is_at_least "5.1" \ |
| 154 | || DEPEND="${DEPEND} berkdb? ( sys-apps/ed )" |
154 | || DEPEND="${DEPEND} berkdb? ( sys-apps/ed )" |