1 |
robbat2 10/01/31 05:47:22 |
2 |
|
3 |
Modified: mysql.eclass |
4 |
Log: |
5 |
Fix QA warning: "EXPORT_FUNCTIONS is called before inherit in mysql.eclass." |
6 |
|
7 |
Revision Changes Path |
8 |
1.126 eclass/mysql.eclass |
9 |
|
10 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/mysql.eclass?rev=1.126&view=markup |
11 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/mysql.eclass?rev=1.126&content-type=text/plain |
12 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/mysql.eclass?r1=1.125&r2=1.126 |
13 |
|
14 |
Index: mysql.eclass |
15 |
=================================================================== |
16 |
RCS file: /var/cvsroot/gentoo-x86/eclass/mysql.eclass,v |
17 |
retrieving revision 1.125 |
18 |
retrieving revision 1.126 |
19 |
diff -p -w -b -B -u -u -r1.125 -r1.126 |
20 |
--- mysql.eclass 31 Jan 2010 05:00:43 -0000 1.125 |
21 |
+++ mysql.eclass 31 Jan 2010 05:47:21 -0000 1.126 |
22 |
@@ -1,6 +1,6 @@ |
23 |
# Copyright 1999-2009 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.125 2010/01/31 05:00:43 robbat2 Exp $ |
26 |
+# $Header: /var/cvsroot/gentoo-x86/eclass/mysql.eclass,v 1.126 2010/01/31 05:47:21 robbat2 Exp $ |
27 |
|
28 |
# @ECLASS: mysql.eclass |
29 |
# @MAINTAINER: |
30 |
@@ -20,6 +20,17 @@ WANT_AUTOMAKE="latest" |
31 |
|
32 |
inherit eutils flag-o-matic gnuconfig autotools mysql_fx versionator |
33 |
|
34 |
+# Shorten the path because the socket path length must be shorter than 107 chars |
35 |
+# and we will run a mysql server during test phase |
36 |
+S="${WORKDIR}/mysql" |
37 |
+ |
38 |
+[[ "${MY_EXTRAS_VER}" == "latest" ]] && MY_EXTRAS_VER="20090228-0714Z" |
39 |
+if [[ "${MY_EXTRAS_VER}" == "live" ]]; then |
40 |
+ EGIT_PROJECT=mysql-extras |
41 |
+ EGIT_REPO_URI="git://git.overlays.gentoo.org/proj/mysql-extras.git" |
42 |
+ inherit git |
43 |
+fi |
44 |
+ |
45 |
case "${EAPI:-0}" in |
46 |
2) |
47 |
EXPORT_FUNCTIONS pkg_setup \ |
48 |
@@ -42,17 +53,6 @@ case "${EAPI:-0}" in |
49 |
die "Unsupported EAPI: ${EAPI}" ;; |
50 |
esac |
51 |
|
52 |
-# Shorten the path because the socket path length must be shorter than 107 chars |
53 |
-# and we will run a mysql server during test phase |
54 |
-S="${WORKDIR}/mysql" |
55 |
- |
56 |
-[[ "${MY_EXTRAS_VER}" == "latest" ]] && MY_EXTRAS_VER="20090228-0714Z" |
57 |
-if [[ "${MY_EXTRAS_VER}" == "live" ]]; then |
58 |
- EGIT_PROJECT=mysql-extras |
59 |
- EGIT_REPO_URI="git://git.overlays.gentoo.org/proj/mysql-extras.git" |
60 |
- inherit git |
61 |
-fi |
62 |
- |
63 |
# @ECLASS-VARIABLE: MYSQL_VERSION_ID |
64 |
# @DESCRIPTION: |
65 |
# MYSQL_VERSION_ID will be: |