summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2010-11-28 21:55:54 +0000
committerRobin H. Johnson <robbat2@gentoo.org>2010-11-28 21:55:54 +0000
commit732024febf439974e120df587a3cba1a45ca4d5c (patch)
treed39ff59b0f892f9aaa3df370e1e9009deadb9288 /eclass/mysql.eclass
parentAutomated update of use.local.desc (diff)
downloadhistorical-732024febf439974e120df587a3cba1a45ca4d5c.tar.gz
historical-732024febf439974e120df587a3cba1a45ca4d5c.tar.bz2
historical-732024febf439974e120df587a3cba1a45ca4d5c.zip
Bug #344885: Upstream has broken USE=debug for 5.1 series >=5.1.51
Diffstat (limited to 'eclass/mysql.eclass')
-rw-r--r--eclass/mysql.eclass9
1 files changed, 8 insertions, 1 deletions
diff --git a/eclass/mysql.eclass b/eclass/mysql.eclass
index eebafc006e56..de24ccd064c8 100644
--- a/eclass/mysql.eclass
+++ b/eclass/mysql.eclass
@@ -1,6 +1,6 @@
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/mysql.eclass,v 1.155 2010/11/02 20:27:41 robbat2 Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/mysql.eclass,v 1.156 2010/11/28 21:55:54 robbat2 Exp $
# @ECLASS: mysql.eclass
# @MAINTAINER:
@@ -756,6 +756,13 @@ mysql_pkg_setup() {
die "${M}"
fi
+ if mysql_version_is_at_least "5.1.51" \
+ && ! mysql_version_is_at_least "5.2" \
+ && use debug ; then
+ # Also in package.use.mask
+ die "Bug #344885: Upstream has broken USE=debug for 5.1 series >=5.1.51"
+ fi
+
if ! mysql_version_is_at_least "5.0" \
&& use raid \
&& use static ; then