| 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.162 2011/08/19 20:06:12 jmbsvicetto Exp $ |
3 | # $Header: /var/cvsroot/gentoo-x86/eclass/mysql.eclass,v 1.163 2011/08/21 16:14:56 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> |
| … | |
… | |
| 128 | DEPEND="ssl? ( >=dev-libs/openssl-0.9.6d ) |
128 | DEPEND="ssl? ( >=dev-libs/openssl-0.9.6d ) |
| 129 | userland_GNU? ( sys-process/procps ) |
129 | userland_GNU? ( sys-process/procps ) |
| 130 | >=sys-apps/sed-4 |
130 | >=sys-apps/sed-4 |
| 131 | >=sys-apps/texinfo-4.7-r1 |
131 | >=sys-apps/texinfo-4.7-r1 |
| 132 | >=sys-libs/readline-4.1 |
132 | >=sys-libs/readline-4.1 |
| 133 | >=sys-libs/zlib-1.2.3 |
133 | >=sys-libs/zlib-1.2.3" |
| 134 | virtual/yacc" |
|
|
| 135 | |
134 | |
| 136 | [[ "${PN}" == "mariadb" ]] \ |
135 | [[ "${PN}" == "mariadb" ]] \ |
| 137 | && DEPEND="${DEPEND} libevent? ( >=dev-libs/libevent-1.4 )" |
136 | && DEPEND="${DEPEND} libevent? ( >=dev-libs/libevent-1.4 )" |
| 138 | |
137 | |
| 139 | # Having different flavours at the same time is not a good idea |
138 | # Having different flavours at the same time is not a good idea |
| … | |
… | |
| 143 | done |
142 | done |
| 144 | |
143 | |
| 145 | RDEPEND="${DEPEND} |
144 | RDEPEND="${DEPEND} |
| 146 | !minimal? ( dev-db/mysql-init-scripts ) |
145 | !minimal? ( dev-db/mysql-init-scripts ) |
| 147 | selinux? ( sec-policy/selinux-mysql )" |
146 | selinux? ( sec-policy/selinux-mysql )" |
|
|
147 | |
|
|
148 | DEPEND="${DEPEND} |
|
|
149 | virtual/yacc" |
| 148 | |
150 | |
| 149 | if [ "${EAPI:-0}" = "2" ]; then |
151 | if [ "${EAPI:-0}" = "2" ]; then |
| 150 | DEPEND="${DEPEND} static? ( || ( sys-libs/ncurses[static-libs] <=sys-libs/ncurses-5.7-r3 ) )" |
152 | DEPEND="${DEPEND} static? ( || ( sys-libs/ncurses[static-libs] <=sys-libs/ncurses-5.7-r3 ) )" |
| 151 | fi |
153 | fi |
| 152 | |
154 | |