| 1 | # Copyright 1999-2009 Gentoo Foundation |
1 | # Copyright 1999-2009 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.153 2010/10/27 07:19:24 robbat2 Exp $ |
3 | # $Header: /var/cvsroot/gentoo-x86/eclass/mysql.eclass,v 1.154 2010/10/28 20:46:11 robbat2 Exp $ |
| 4 | |
4 | |
| 5 | # @ECLASS: mysql.eclass |
5 | # @ECLASS: mysql.eclass |
| 6 | # @MAINTAINER: |
6 | # @MAINTAINER: |
| 7 | # Author: Francesco Riosa (Retired) <vivo@gentoo.org> |
7 | # Author: Francesco Riosa (Retired) <vivo@gentoo.org> |
| 8 | # Maintainers: MySQL Team <mysql-bugs@gentoo.org> |
8 | # Maintainers: MySQL Team <mysql-bugs@gentoo.org> |
| … | |
… | |
| 571 | myconf="${myconf} --with-readline" |
571 | myconf="${myconf} --with-readline" |
| 572 | myconf="${myconf} --with-zlib-dir=/usr/" |
572 | myconf="${myconf} --with-zlib-dir=/usr/" |
| 573 | myconf="${myconf} --without-pstack" |
573 | myconf="${myconf} --without-pstack" |
| 574 | myconf="${myconf} --with-plugindir=/usr/$(get_libdir)/mysql/plugin" |
574 | myconf="${myconf} --with-plugindir=/usr/$(get_libdir)/mysql/plugin" |
| 575 | |
575 | |
|
|
576 | # This is an explict die here, because if we just forcibly disable it, then the |
|
|
577 | # user's data is not accessible. |
|
|
578 | use max-idx-128 && die "Bug #336027: upstream has a corruption issue with max-idx-128 presently" |
| 576 | use max-idx-128 && myconf="${myconf} --with-max-indexes=128" |
579 | #use max-idx-128 && myconf="${myconf} --with-max-indexes=128" |
| 577 | if [ "${MYSQL_COMMUNITY_FEATURES}" == "1" ]; then |
580 | if [ "${MYSQL_COMMUNITY_FEATURES}" == "1" ]; then |
| 578 | myconf="${myconf} $(use_enable community community-features)" |
581 | myconf="${myconf} $(use_enable community community-features)" |
| 579 | if use community; then |
582 | if use community; then |
| 580 | myconf="${myconf} $(use_enable profiling)" |
583 | myconf="${myconf} $(use_enable profiling)" |
| 581 | else |
584 | else |