| 1 | # Copyright 1999-2011 Gentoo Foundation |
1 | # Copyright 1999-2011 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-v2.eclass,v 1.7 2011/08/22 04:46:32 vapier Exp $ |
3 | # $Header: /var/cvsroot/gentoo-x86/eclass/mysql-v2.eclass,v 1.8 2011/09/25 12:43:28 grobian Exp $ |
| 4 | |
4 | |
| 5 | # @ECLASS: mysql-v2.eclass |
5 | # @ECLASS: mysql-v2.eclass |
| 6 | # @MAINTAINER: |
6 | # @MAINTAINER: |
| 7 | # Maintainers: |
7 | # Maintainers: |
| 8 | # - MySQL Team <mysql-bugs@gentoo.org> |
8 | # - MySQL Team <mysql-bugs@gentoo.org> |
| … | |
… | |
| 249 | for i in "mysql" "mysql-community" "mysql-cluster" "mariadb" ; do |
249 | for i in "mysql" "mysql-community" "mysql-cluster" "mariadb" ; do |
| 250 | [[ ${i} == ${PN} ]] || |
250 | [[ ${i} == ${PN} ]] || |
| 251 | DEPEND="${DEPEND} !dev-db/${i}" |
251 | DEPEND="${DEPEND} !dev-db/${i}" |
| 252 | done |
252 | done |
| 253 | |
253 | |
|
|
254 | # prefix: first need to implement something for #196294 |
| 254 | RDEPEND="${DEPEND} |
255 | RDEPEND="${DEPEND} |
| 255 | !minimal? ( dev-db/mysql-init-scripts ) |
256 | !minimal? ( !prefix? ( dev-db/mysql-init-scripts ) ) |
| 256 | selinux? ( sec-policy/selinux-mysql ) |
257 | selinux? ( sec-policy/selinux-mysql ) |
| 257 | " |
258 | " |
| 258 | |
259 | |
| 259 | DEPEND="${DEPEND} |
260 | DEPEND="${DEPEND} |
| 260 | virtual/yacc |
261 | virtual/yacc |