| 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.eclass,v 1.165 2011/08/29 01:28:10 vapier Exp $ |
3 | # $Header: /var/cvsroot/gentoo-x86/eclass/mysql.eclass,v 1.166 2011/09/25 12:43:28 grobian Exp $ |
| 4 | |
4 | |
| 5 | # @ECLASS: mysql.eclass |
5 | # @ECLASS: mysql.eclass |
| 6 | # @MAINTAINER: |
6 | # @MAINTAINER: |
| 7 | # MySQL Team <mysql-bugs@gentoo.org> |
7 | # MySQL Team <mysql-bugs@gentoo.org> |
| 8 | # Luca Longinotti <chtekk@gentoo.org> |
8 | # Luca Longinotti <chtekk@gentoo.org> |
| … | |
… | |
| 140 | for i in "mysql" "mysql-community" "mysql-cluster" "mariadb" ; do |
140 | for i in "mysql" "mysql-community" "mysql-cluster" "mariadb" ; do |
| 141 | [[ "${i}" == ${PN} ]] || |
141 | [[ "${i}" == ${PN} ]] || |
| 142 | DEPEND="${DEPEND} !dev-db/${i}" |
142 | DEPEND="${DEPEND} !dev-db/${i}" |
| 143 | done |
143 | done |
| 144 | |
144 | |
|
|
145 | # prefix: first need to implement something for #196294 |
| 145 | RDEPEND="${DEPEND} |
146 | RDEPEND="${DEPEND} |
| 146 | !minimal? ( dev-db/mysql-init-scripts ) |
147 | !minimal? ( !prefix? ( dev-db/mysql-init-scripts ) ) |
| 147 | selinux? ( sec-policy/selinux-mysql )" |
148 | selinux? ( sec-policy/selinux-mysql )" |
| 148 | |
149 | |
| 149 | DEPEND="${DEPEND} |
150 | DEPEND="${DEPEND} |
| 150 | virtual/yacc" |
151 | virtual/yacc" |
| 151 | |
152 | |