| 1 | # Copyright 1999-2007 Gentoo Foundation |
1 | # Copyright 1999-2007 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.73 2007/04/15 13:00:51 robbat2 Exp $ |
3 | # $Header: /var/cvsroot/gentoo-x86/eclass/mysql.eclass,v 1.74 2007/04/23 19:35:05 swegener Exp $ |
| 4 | |
4 | |
| 5 | # Author: Francesco Riosa (Retired) <vivo@gentoo.org> |
5 | # Author: Francesco Riosa (Retired) <vivo@gentoo.org> |
| 6 | # Maintainer: Luca Longinotti <chtekk@gentoo.org> |
6 | # Maintainer: Luca Longinotti <chtekk@gentoo.org> |
| 7 | |
7 | |
| 8 | # Both MYSQL_VERSION_ID and MYSQL_PATCHSET_REV must be set in the ebuild too! |
8 | # Both MYSQL_VERSION_ID and MYSQL_PATCHSET_REV must be set in the ebuild too! |
| … | |
… | |
| 522 | |
522 | |
| 523 | local rebuilddirlist d |
523 | local rebuilddirlist d |
| 524 | |
524 | |
| 525 | if mysql_version_is_at_least "5.1.12" ; then |
525 | if mysql_version_is_at_least "5.1.12" ; then |
| 526 | rebuilddirlist="." |
526 | rebuilddirlist="." |
| 527 | # TODO: check this with a cmake expert |
527 | # TODO: check this with a cmake expert |
| 528 | use innodb \ |
528 | use innodb \ |
| 529 | && cmake \ |
529 | && cmake \ |
| 530 | -DCMAKE_C_COMPILER=$(type -P $(tc-getCC)) \ |
530 | -DCMAKE_C_COMPILER=$(type -P $(tc-getCC)) \ |
| 531 | -DCMAKE_CXX_COMPILER=$(type -P $(tc-getCC)) \ |
531 | -DCMAKE_CXX_COMPILER=$(type -P $(tc-getCC)) \ |
| 532 | "storage/innobase" |
532 | "storage/innobase" |