| 1 | # Copyright 1999-2005 Gentoo Foundation |
1 | # Copyright 1999-2005 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.27 2006/04/10 21:35:55 vivo Exp $ |
3 | # $Header: /var/cvsroot/gentoo-x86/eclass/mysql.eclass,v 1.28 2006/04/11 17:23:42 vivo Exp $ |
| 4 | # $ID: $ |
4 | # $ID: $ |
| 5 | |
5 | |
| 6 | # Author: Francesco Riosa <vivo at gentoo.org> |
6 | # Author: Francesco Riosa <vivo at gentoo.org> |
| 7 | # Maintainer: Luca Longinotti <chtekk at gentoo.org> |
7 | # Maintainer: Luca Longinotti <chtekk at gentoo.org> |
| 8 | |
8 | |
| … | |
… | |
| 21 | done |
21 | done |
| 22 | # strip leading "0" (otherwise it's considered an octal number from bash) |
22 | # strip leading "0" (otherwise it's considered an octal number from bash) |
| 23 | MYSQL_VERSION_ID=${MYSQL_VERSION_ID##"0"} |
23 | MYSQL_VERSION_ID=${MYSQL_VERSION_ID##"0"} |
| 24 | fi |
24 | fi |
| 25 | |
25 | |
| 26 | [[ -z ${MY_EXTRAS_VER} ]] && MY_EXTRAS_VER="20060410" |
26 | [[ -z ${MY_EXTRAS_VER} ]] && MY_EXTRAS_VER="20060411" |
| 27 | |
27 | |
| 28 | DEPEND="${DEPEND} |
28 | DEPEND="${DEPEND} |
| 29 | >=sys-libs/readline-4.1 |
29 | >=sys-libs/readline-4.1 |
| 30 | berkdb? ( sys-apps/ed ) |
30 | berkdb? ( sys-apps/ed ) |
| 31 | ssl? ( >=dev-libs/openssl-0.9.6d ) |
31 | ssl? ( >=dev-libs/openssl-0.9.6d ) |