summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2011-12-27 07:37:20 +0000
committerRobin H. Johnson <robbat2@gentoo.org>2011-12-27 07:37:20 +0000
commitcdaec45c532f6fcf3a29b86751c64d535debf664 (patch)
treefd378447c4180188901a3b5f5ae7b3695d213cb6 /eclass/mysql-v2.eclass
parentRefactor USE=static cmake code. (diff)
downloadgentoo-2-cdaec45c532f6fcf3a29b86751c64d535debf664.tar.gz
gentoo-2-cdaec45c532f6fcf3a29b86751c64d535debf664.tar.bz2
gentoo-2-cdaec45c532f6fcf3a29b86751c64d535debf664.zip
Bug #396089: Avoid automagic systemtap/dtrace in MySQL 5.5.
Diffstat (limited to 'eclass/mysql-v2.eclass')
-rw-r--r--eclass/mysql-v2.eclass8
1 files changed, 7 insertions, 1 deletions
diff --git a/eclass/mysql-v2.eclass b/eclass/mysql-v2.eclass
index 5f82221bf93f..33d9cf9f36d8 100644
--- a/eclass/mysql-v2.eclass
+++ b/eclass/mysql-v2.eclass
@@ -1,6 +1,6 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/mysql-v2.eclass,v 1.10 2011/11/17 16:04:02 dev-zero Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/mysql-v2.eclass,v 1.11 2011/12/27 07:37:20 robbat2 Exp $
# @ECLASS: mysql-v2.eclass
# @MAINTAINER:
@@ -227,6 +227,9 @@ IUSE="${IUSE} berkdb"
&& mysql_version_is_at_least "5.2.5" \
&& IUSE="${IUSE} sphinx"
+mysql_version_is_at_least "5.5.7" \
+&& IUSE="${IUSE} systemtap"
+
#
# DEPENDENCIES:
@@ -279,6 +282,9 @@ mysql_version_is_at_least "5.5.8" \
&& mysql_version_is_at_least "5.2.5" \
&& DEPEND="${DEPEND} sphinx? ( app-misc/sphinx )"
+mysql_version_is_at_least "5.5.7" \
+&& DEPEND="${DEPEND} systemtap? ( >=dev-util/systemtap-1.3 )"
+
# dev-perl/DBD-mysql is needed by some scripts installed by MySQL
PDEPEND="perl? ( >=dev-perl/DBD-mysql-2.9004 )"