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: Thu, 22 May 2008 18:28:54
Message-Id: E1JzFIE-0002gL-A9@stork.gentoo.org
1 robbat2 08/05/22 18:13:34
2
3 Modified: mysql.eclass
4 Log:
5 Take cmake, ed, bk_client out of RDEPEND for building mysql.
6
7 Revision Changes Path
8 1.90 eclass/mysql.eclass
9
10 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/mysql.eclass?rev=1.90&view=markup
11 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/mysql.eclass?rev=1.90&content-type=text/plain
12 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/mysql.eclass?r1=1.89&r2=1.90
13
14 Index: mysql.eclass
15 ===================================================================
16 RCS file: /var/cvsroot/gentoo-x86/eclass/mysql.eclass,v
17 retrieving revision 1.89
18 retrieving revision 1.90
19 diff -p -w -b -B -u -u -r1.89 -r1.90
20 --- mysql.eclass 5 Apr 2008 00:43:26 -0000 1.89
21 +++ mysql.eclass 22 May 2008 18:13:33 -0000 1.90
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.89 2008/04/05 00:43:26 robbat2 Exp $
26 +# $Header: /var/cvsroot/gentoo-x86/eclass/mysql.eclass,v 1.90 2008/05/22 18:13:33 robbat2 Exp $
27
28 # Author: Francesco Riosa (Retired) <vivo@g.o>
29 # Maintainer: MySQL Team <mysql-bugs@g.o>
30 @@ -50,6 +50,7 @@ done
31 MYSQL_VERSION_ID=${MYSQL_VERSION_ID##"0"}
32
33 # Be warned, *DEPEND are version-dependant
34 +# These are used for both runtime and compiletime
35 DEPEND="ssl? ( >=dev-libs/openssl-0.9.6d )
36 userland_GNU? ( sys-process/procps )
37 >=sys-apps/sed-4
38 @@ -63,18 +64,25 @@ for i in "" "-community" ; do
39 DEPEND="${DEPEND} !dev-db/mysql${i}"
40 done
41
42 +RDEPEND="${DEPEND}
43 + !minimal? ( dev-db/mysql-init-scripts )
44 + selinux? ( sec-policy/selinux-mysql )"
45 +
46 +# compile-time-only
47 mysql_version_is_at_least "5.1" \
48 || DEPEND="${DEPEND} berkdb? ( sys-apps/ed )"
49
50 +# compile-time-only
51 mysql_version_is_at_least "5.1.12" \
52 && DEPEND="${DEPEND} innodb? ( >=dev-util/cmake-2.4.3 )"
53
54 -# dev-perl/DBD-mysql is needed by some scripts installed by MySQL
55 -PDEPEND="perl? ( >=dev-perl/DBD-mysql-2.9004 )"
56 -
57 # BitKeeper dependency, compile-time only
58 [[ ${IS_BITKEEPER} -eq 90 ]] && DEPEND="${DEPEND} dev-util/bk_client"
59
60 +
61 +# dev-perl/DBD-mysql is needed by some scripts installed by MySQL
62 +PDEPEND="perl? ( >=dev-perl/DBD-mysql-2.9004 )"
63 +
64 # Work out the default SERVER_URI correctly
65 if [ -z "${SERVER_URI}" ]; then
66 # The community build is on the mirrors
67 @@ -123,10 +131,6 @@ mysql_version_is_at_least "5.1" \
68 mysql_version_is_at_least "5.1.12" \
69 && IUSE="${IUSE} pbxt"
70
71 -RDEPEND="${DEPEND}
72 - !minimal? ( dev-db/mysql-init-scripts )
73 - selinux? ( sec-policy/selinux-mysql )"
74 -
75 EXPORT_FUNCTIONS pkg_setup src_unpack src_compile src_install pkg_preinst \
76 pkg_postinst pkg_config pkg_postrm
77
78
79
80
81 --
82 gentoo-commits@l.g.o mailing list