/[gentoo-x86]/eclass/mysql-v2.eclass
Gentoo

Diff of /eclass/mysql-v2.eclass

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.21 Revision 1.22
1# Copyright 1999-2012 Gentoo Foundation 1# Copyright 1999-2012 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.21 2012/11/01 23:57:50 robbat2 Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/mysql-v2.eclass,v 1.22 2013/01/20 02:23:10 robbat2 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>
218for i in "mysql" "mariadb" ; do 218for i in "mysql" "mariadb" ; do
219 [[ ${i} == ${PN} ]] || 219 [[ ${i} == ${PN} ]] ||
220 DEPEND="${DEPEND} !dev-db/${i}" 220 DEPEND="${DEPEND} !dev-db/${i}"
221done 221done
222 222
223[[ "${PN}" == "mariadb" ]] \
224&& mysql_version_is_at_least "5.2" \
225&& DEPEND="${DEPEND} oqgraph? ( >=dev-libs/boost-1.40.0 )"
226
227[[ "${PN}" == "mariadb" ]] \
228&& mysql_version_is_at_least "5.2.5" \
229&& DEPEND="${DEPEND} sphinx? ( app-misc/sphinx )"
230
231mysql_version_is_at_least "5.5.7" \
232&& DEPEND="${DEPEND} systemtap? ( >=dev-util/systemtap-1.3 )" \
233&& DEPEND="${DEPEND} kernel_linux? ( dev-libs/libaio )"
234
235mysql_version_is_at_least "5.5" \
236&& DEPEND="${DEPEND} jemalloc? ( dev-libs/jemalloc )"
237
238mysql_version_is_at_least "5.5" \
239&& DEPEND="${DEPEND} tcmalloc? ( dev-util/google-perftools )"
240
223# prefix: first need to implement something for #196294 241# prefix: first need to implement something for #196294
224RDEPEND="${DEPEND} 242RDEPEND="${DEPEND}
225 !minimal? ( !prefix? ( dev-db/mysql-init-scripts ) ) 243 !minimal? ( !prefix? ( dev-db/mysql-init-scripts ) )
226 selinux? ( sec-policy/selinux-mysql ) 244 selinux? ( sec-policy/selinux-mysql )
227" 245"
236DEPEND="${DEPEND} >=dev-util/cmake-2.4.3" 254DEPEND="${DEPEND} >=dev-util/cmake-2.4.3"
237 255
238# compile-time-only 256# compile-time-only
239mysql_version_is_at_least "5.5.8" \ 257mysql_version_is_at_least "5.5.8" \
240&& DEPEND="${DEPEND} >=dev-util/cmake-2.6.3" 258&& DEPEND="${DEPEND} >=dev-util/cmake-2.6.3"
241
242[[ "${PN}" == "mariadb" ]] \
243&& mysql_version_is_at_least "5.2" \
244&& DEPEND="${DEPEND} oqgraph? ( >=dev-libs/boost-1.40.0 )"
245
246[[ "${PN}" == "mariadb" ]] \
247&& mysql_version_is_at_least "5.2.5" \
248&& DEPEND="${DEPEND} sphinx? ( app-misc/sphinx )"
249
250mysql_version_is_at_least "5.5.7" \
251&& DEPEND="${DEPEND} systemtap? ( >=dev-util/systemtap-1.3 )" \
252&& DEPEND="${DEPEND} kernel_linux? ( dev-libs/libaio )"
253
254mysql_version_is_at_least "5.5" \
255&& DEPEND="${DEPEND} jemalloc? ( dev-libs/jemalloc )"
256
257mysql_version_is_at_least "5.5" \
258&& DEPEND="${DEPEND} tcmalloc? ( dev-util/google-perftools )"
259 259
260# dev-perl/DBD-mysql is needed by some scripts installed by MySQL 260# dev-perl/DBD-mysql is needed by some scripts installed by MySQL
261PDEPEND="perl? ( >=dev-perl/DBD-mysql-2.9004 )" 261PDEPEND="perl? ( >=dev-perl/DBD-mysql-2.9004 )"
262 262
263# For other stuff to bring us in 263# For other stuff to bring us in

Legend:
Removed from v.1.21  
changed lines
  Added in v.1.22

  ViewVC Help
Powered by ViewVC 1.1.20