summaryrefslogtreecommitdiff
path: root/eclass
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
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')
-rw-r--r--eclass/ChangeLog6
-rw-r--r--eclass/mysql-cmake.eclass3
-rw-r--r--eclass/mysql-v2.eclass8
3 files changed, 14 insertions, 3 deletions
diff --git a/eclass/ChangeLog b/eclass/ChangeLog
index be4a0cab2ea6..139269796eab 100644
--- a/eclass/ChangeLog
+++ b/eclass/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for eclass directory
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v 1.57 2011/12/27 06:54:23 floppym Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v 1.58 2011/12/27 07:37:20 robbat2 Exp $
+
+ 27 Dec 2011; Robin H. Johnson <robbat2@gentoo.org> mysql-cmake.eclass,
+ mysql-v2.eclass:
+ Bug #396089: Avoid automagic systemtap/dtrace in MySQL 5.5.
27 Dec 2011; Mike Gilbert <floppym@gentoo.org> twisted.eclass:
Only call doman on manpages in twisted_src_install. Credit to Arfrever.
diff --git a/eclass/mysql-cmake.eclass b/eclass/mysql-cmake.eclass
index b882ff54963a..a8cebb5d2627 100644
--- a/eclass/mysql-cmake.eclass
+++ b/eclass/mysql-cmake.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-cmake.eclass,v 1.3 2011/12/27 07:34:18 robbat2 Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/mysql-cmake.eclass,v 1.4 2011/12/27 07:37:20 robbat2 Exp $
# @ECLASS: mysql-cmake.eclass
# @MAINTAINER:
@@ -128,6 +128,7 @@ configure_cmake_standard() {
$(cmake-utils_use_with debug)
$(cmake-utils_use_with embedded EMBEDDED_SERVER)
$(cmake-utils_use_with profiling)
+ $(cmake-utils_use_enable systemtap DTRACE)
)
if use ssl; then
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 )"