| 1 | # Copyright 1999-2006 Gentoo Foundation |
1 | # Copyright 1999-2006 Gentoo Foundation |
| 2 | # Distributed under the terms of the GNU General Public License v2 |
2 | # Distributed under the terms of the GNU General Public License v2 |
| 3 | # $Header: /var/cvsroot/gentoo-x86/eclass/mysql.eclass,v 1.56 2007/01/04 10:32:38 vivo Exp $ |
3 | # $Header: /var/cvsroot/gentoo-x86/eclass/mysql.eclass,v 1.57 2007/01/04 11:17:05 vivo Exp $ |
| 4 | # kate: encoding utf-8; eol unix; |
4 | # kate: encoding utf-8; eol unix; |
| 5 | # kate: indent-width 4; mixedindent off; remove-trailing-space on; space-indent off; |
5 | # kate: indent-width 4; mixedindent off; remove-trailing-space on; space-indent off; |
| 6 | # kate: word-wrap-column 80; word-wrap off; |
6 | # kate: word-wrap-column 80; word-wrap off; |
| 7 | |
7 | |
| 8 | # Author: Francesco Riosa (Retired) <vivo@gentoo.org> |
8 | # Author: Francesco Riosa (Retired) <vivo@gentoo.org> |
| … | |
… | |
| 13 | ECLASS="mysql" |
13 | ECLASS="mysql" |
| 14 | INHERITED="$INHERITED $ECLASS" |
14 | INHERITED="$INHERITED $ECLASS" |
| 15 | inherit eutils flag-o-matic gnuconfig autotools mysql_fx |
15 | inherit eutils flag-o-matic gnuconfig autotools mysql_fx |
| 16 | |
16 | |
| 17 | # avoid running userspace code 8 times per ebuild :( |
17 | # avoid running userspace code 8 times per ebuild :( |
| 18 | if [[ "${_MYPVR}" != "${PVR}" ]] && [[ -n "${PVR}" ]] |
18 | if [[ "${_MYPVR}" != "${PVR}" ]] && [[ -z "${MYSQL_VERSION_ID}" ]] |
| 19 | then |
19 | then |
| 20 | _MYPVR=${PVR} |
20 | _MYPVR=${PVR} |
| 21 | |
21 | |
| 22 | [[ -z ${MY_EXTRAS_VER} ]] && MY_EXTRAS_VER="20070103" |
22 | [[ -z ${MY_EXTRAS_VER} ]] && MY_EXTRAS_VER="20070103" |
| 23 | |
23 | |