Gentoo Archives: gentoo-commits

From: "Robin H. Johnson (robbat2)" <robbat2@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in eclass: mysql.eclass
Date: Wed, 11 Feb 2009 11:27:22
Message-Id: E1LXDFJ-0007eS-GL@stork.gentoo.org
1 robbat2 09/02/11 11:27:13
2
3 Modified: mysql.eclass
4 Log:
5 Fix PDEPEND for build order.
6
7 Revision Changes Path
8 1.104 eclass/mysql.eclass
9
10 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/mysql.eclass?rev=1.104&view=markup
11 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/mysql.eclass?rev=1.104&content-type=text/plain
12 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/mysql.eclass?r1=1.103&r2=1.104
13
14 Index: mysql.eclass
15 ===================================================================
16 RCS file: /var/cvsroot/gentoo-x86/eclass/mysql.eclass,v
17 retrieving revision 1.103
18 retrieving revision 1.104
19 diff -p -w -b -B -u -u -r1.103 -r1.104
20 --- mysql.eclass 12 Jan 2009 23:08:17 -0000 1.103
21 +++ mysql.eclass 11 Feb 2009 11:27:13 -0000 1.104
22 @@ -1,6 +1,6 @@
23 # Copyright 1999-2007 Gentoo Foundation
24 # Distributed under the terms of the GNU General Public License v2
25 -# $Header: /var/cvsroot/gentoo-x86/eclass/mysql.eclass,v 1.103 2009/01/12 23:08:17 maekke Exp $
26 +# $Header: /var/cvsroot/gentoo-x86/eclass/mysql.eclass,v 1.104 2009/02/11 11:27:13 robbat2 Exp $
27
28 # Author: Francesco Riosa (Retired) <vivo@g.o>
29 # Maintainer: MySQL Team <mysql-bugs@g.o>
30 @@ -10,7 +10,7 @@
31 WANT_AUTOCONF="latest"
32 WANT_AUTOMAKE="latest"
33
34 -inherit eutils flag-o-matic gnuconfig autotools mysql_fx
35 +inherit eutils flag-o-matic gnuconfig autotools mysql_fx versionator
36
37 # Shorten the path because the socket path length must be shorter than 107 chars
38 # and we will run a mysql server during test phase
39 @@ -83,6 +83,9 @@ mysql_version_is_at_least "5.1.12" \
40 # dev-perl/DBD-mysql is needed by some scripts installed by MySQL
41 PDEPEND="perl? ( >=dev-perl/DBD-mysql-2.9004 )"
42
43 +# For other stuff to bring us in
44 +PDEPEND="${PDEPEND} =virtual/mysql-$(get_version_component_range 1-2 ${PV})"
45 +
46 # Work out the default SERVER_URI correctly
47 if [ -z "${SERVER_URI}" ]; then
48 # The community build is on the mirrors