summaryrefslogtreecommitdiff
path: root/eclass
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
commit438e3d17645dd843408d60b78c4db4ab7c5167ba (patch)
tree4311b7611e6aebb0d9e86c503bc9bd5d667fbf60 /eclass
parentAutomated update of use.local.desc (diff)
downloadgentoo-2-438e3d17645dd843408d60b78c4db4ab7c5167ba.tar.gz
gentoo-2-438e3d17645dd843408d60b78c4db4ab7c5167ba.tar.bz2
gentoo-2-438e3d17645dd843408d60b78c4db4ab7c5167ba.zip
Bug #344885: Upstream has broken USE=debug for 5.1 series >=5.1.51
Diffstat (limited to '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