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/Attic/mysql.eclass,v 1.155 2010/11/02 20:27:41 robbat2 Exp $ |
3 | # $Header: /var/cvsroot/gentoo-x86/eclass/Attic/mysql.eclass,v 1.156 2010/11/28 21:55:54 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> |
… | |
… | |
754 | M="MySQL does not support being built statically with SSL support enabled!" |
754 | M="MySQL does not support being built statically with SSL support enabled!" |
755 | eerror "${M}" |
755 | eerror "${M}" |
756 | die "${M}" |
756 | die "${M}" |
757 | fi |
757 | fi |
758 | |
758 | |
|
|
759 | if mysql_version_is_at_least "5.1.51" \ |
|
|
760 | && ! mysql_version_is_at_least "5.2" \ |
|
|
761 | && use debug ; then |
|
|
762 | # Also in package.use.mask |
|
|
763 | die "Bug #344885: Upstream has broken USE=debug for 5.1 series >=5.1.51" |
|
|
764 | fi |
|
|
765 | |
759 | if ! mysql_version_is_at_least "5.0" \ |
766 | if ! mysql_version_is_at_least "5.0" \ |
760 | && use raid \ |
767 | && use raid \ |
761 | && use static ; then |
768 | && use static ; then |
762 | eerror "USE flags 'raid' and 'static' conflict, you cannot build MySQL statically" |
769 | eerror "USE flags 'raid' and 'static' conflict, you cannot build MySQL statically" |
763 | eerror "with RAID support enabled." |
770 | eerror "with RAID support enabled." |