summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2009-02-11 11:27:13 +0000
committerRobin H. Johnson <robbat2@gentoo.org>2009-02-11 11:27:13 +0000
commit47e13e714bc189b8950ae6ad93d8f1776f9828b3 (patch)
treee5f3e34a834a77ad7adb5385f93ddb9dd2faeee8 /eclass
parentUpdated to fix issues raised in #250688. Thanks abachn. (diff)
downloadgentoo-2-47e13e714bc189b8950ae6ad93d8f1776f9828b3.tar.gz
gentoo-2-47e13e714bc189b8950ae6ad93d8f1776f9828b3.tar.bz2
gentoo-2-47e13e714bc189b8950ae6ad93d8f1776f9828b3.zip
Fix PDEPEND for build order.
Diffstat (limited to 'eclass')
-rw-r--r--eclass/mysql.eclass7
1 files changed, 5 insertions, 2 deletions
diff --git a/eclass/mysql.eclass b/eclass/mysql.eclass
index 5523c2e3701d..7920ad036e07 100644
--- a/eclass/mysql.eclass
+++ b/eclass/mysql.eclass
@@ -1,6 +1,6 @@
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/mysql.eclass,v 1.103 2009/01/12 23:08:17 maekke Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/mysql.eclass,v 1.104 2009/02/11 11:27:13 robbat2 Exp $
# Author: Francesco Riosa (Retired) <vivo@gentoo.org>
# Maintainer: MySQL Team <mysql-bugs@gentoo.org>
@@ -10,7 +10,7 @@
WANT_AUTOCONF="latest"
WANT_AUTOMAKE="latest"
-inherit eutils flag-o-matic gnuconfig autotools mysql_fx
+inherit eutils flag-o-matic gnuconfig autotools mysql_fx versionator
# Shorten the path because the socket path length must be shorter than 107 chars
# and we will run a mysql server during test phase
@@ -83,6 +83,9 @@ mysql_version_is_at_least "5.1.12" \
# dev-perl/DBD-mysql is needed by some scripts installed by MySQL
PDEPEND="perl? ( >=dev-perl/DBD-mysql-2.9004 )"
+# For other stuff to bring us in
+PDEPEND="${PDEPEND} =virtual/mysql-$(get_version_component_range 1-2 ${PV})"
+
# Work out the default SERVER_URI correctly
if [ -z "${SERVER_URI}" ]; then
# The community build is on the mirrors