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

Diff of /eclass/mysql-cmake.eclass

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

Revision 1.2 Revision 1.3
1# Copyright 1999-2011 Gentoo Foundation 1# Copyright 1999-2011 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-cmake.eclass,v 1.2 2011/09/30 02:10:24 jmbsvicetto Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/mysql-cmake.eclass,v 1.3 2011/12/27 07:34:18 robbat2 Exp $
4 4
5# @ECLASS: mysql-cmake.eclass 5# @ECLASS: mysql-cmake.eclass
6# @MAINTAINER: 6# @MAINTAINER:
7# Maintainers: 7# Maintainers:
8# - MySQL Team <mysql-bugs@gentoo.org> 8# - MySQL Team <mysql-bugs@gentoo.org>
121 -DWITHOUT_READLINE=1 121 -DWITHOUT_READLINE=1
122 -DWITH_ZLIB=system 122 -DWITH_ZLIB=system
123 -DWITHOUT_LIBWRAP=1 123 -DWITHOUT_LIBWRAP=1
124 ) 124 )
125 125
126 if use static ; then
127 mycmakeargs+=( -DDISABLE_SHARED=1 )
128 else
129 mycmakeargs+=( -DDISABLED_SHARED=0 )
130 fi
131
132 mycmakeargs+=( 126 mycmakeargs+=(
127 $(cmake-utils_use_disable !static SHARED)
133 $(cmake-utils_use_with debug) 128 $(cmake-utils_use_with debug)
134 $(cmake-utils_use_with embedded EMBEDDED_SERVER) 129 $(cmake-utils_use_with embedded EMBEDDED_SERVER)
135 $(cmake-utils_use_with profiling) 130 $(cmake-utils_use_with profiling)
136 ) 131 )
137 132

Legend:
Removed from v.1.2  
changed lines
  Added in v.1.3

  ViewVC Help
Powered by ViewVC 1.1.20