/[gentoo-x86]/eclass/mysql.eclass
Gentoo

Diff of /eclass/mysql.eclass

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.157 Revision 1.159
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.157 2011/03/26 23:44:43 jmbsvicetto Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/mysql.eclass,v 1.159 2011/04/21 12:15:19 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>
144RDEPEND="${DEPEND} 144RDEPEND="${DEPEND}
145 !minimal? ( dev-db/mysql-init-scripts ) 145 !minimal? ( dev-db/mysql-init-scripts )
146 selinux? ( sec-policy/selinux-mysql )" 146 selinux? ( sec-policy/selinux-mysql )"
147 147
148if [ "${EAPI:-0}" = "2" ]; then 148if [ "${EAPI:-0}" = "2" ]; then
149 DEPEND="${DEPEND} static? ( sys-libs/ncurses[static-libs] )" 149 DEPEND="${DEPEND} static? ( || ( sys-libs/ncurses[static-libs] <=sys-libs/ncurses-5.7-r3 ) )"
150fi 150fi
151 151
152# compile-time-only 152# compile-time-only
153mysql_version_is_at_least "5.1" \ 153mysql_version_is_at_least "5.1" \
154|| DEPEND="${DEPEND} berkdb? ( sys-apps/ed )" 154|| DEPEND="${DEPEND} berkdb? ( sys-apps/ed )"
1028 && CXXFLAGS="${CXXFLAGS} -fno-implicit-templates" 1028 && CXXFLAGS="${CXXFLAGS} -fno-implicit-templates"
1029 export CXXFLAGS 1029 export CXXFLAGS
1030 1030
1031 # bug #283926, with GCC4.4, this is required to get correct behavior. 1031 # bug #283926, with GCC4.4, this is required to get correct behavior.
1032 append-flags -fno-strict-aliasing 1032 append-flags -fno-strict-aliasing
1033 1033
1034 # bug #335185, #335995, with >= GCC4.3.3 on x86 only, omit-frame-pointer 1034 # bug #335185, #335995, with >= GCC4.3.3 on x86 only, omit-frame-pointer
1035 # causes a mis-compile. 1035 # causes a mis-compile.
1036 # Upstream bugs: 1036 # Upstream bugs:
1037 # http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38562 1037 # http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38562
1038 # http://bugs.mysql.com/bug.php?id=45205 1038 # http://bugs.mysql.com/bug.php?id=45205
1050 --with-low-memory \ 1050 --with-low-memory \
1051 --with-client-ldflags=-lstdc++ \ 1051 --with-client-ldflags=-lstdc++ \
1052 --enable-thread-safe-client \ 1052 --enable-thread-safe-client \
1053 --with-comment="Gentoo Linux ${PF}" \ 1053 --with-comment="Gentoo Linux ${PF}" \
1054 --without-docs \ 1054 --without-docs \
1055 --with-LIBDIR="$(get_libdir)" \
1055 ${myconf} || die "econf failed" 1056 ${myconf} || die "econf failed"
1056 1057
1057 # TODO: Move this before autoreconf !!! 1058 # TODO: Move this before autoreconf !!!
1058 find . -type f -name Makefile -print0 \ 1059 find . -type f -name Makefile -print0 \
1059 | xargs -0 -n100 sed -i \ 1060 | xargs -0 -n100 sed -i \

Legend:
Removed from v.1.157  
changed lines
  Added in v.1.159

  ViewVC Help
Powered by ViewVC 1.1.20