/[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.10 Revision 1.11
1# Copyright 1999-2012 Gentoo Foundation 1# Copyright 1999-2012 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.10 2012/11/01 23:57:50 robbat2 Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/mysql-cmake.eclass,v 1.11 2013/01/20 02:23:10 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>
107 -DEXTRA_CHARSETS=none 107 -DEXTRA_CHARSETS=none
108 -DINSTALL_SQLBENCHDIR= 108 -DINSTALL_SQLBENCHDIR=
109 -DWITH_SSL=system 109 -DWITH_SSL=system
110 -DWITH_ZLIB=system 110 -DWITH_ZLIB=system
111 -DWITHOUT_LIBWRAP=1 111 -DWITHOUT_LIBWRAP=1
112 -DWITHOUT_READLINE=1 112 -DWITH_READLINE=0
113 -DWITH_LIBEDIT=0
113 -DWITHOUT_ARCHIVE_STORAGE_ENGINE=1 114 -DWITHOUT_ARCHIVE_STORAGE_ENGINE=1
114 -DWITHOUT_BLACKHOLE_STORAGE_ENGINE=1 115 -DWITHOUT_BLACKHOLE_STORAGE_ENGINE=1
115 -DWITHOUT_CSV_STORAGE_ENGINE=1 116 -DWITHOUT_CSV_STORAGE_ENGINE=1
116 -DWITHOUT_FEDERATED_STORAGE_ENGINE=1 117 -DWITHOUT_FEDERATED_STORAGE_ENGINE=1
117 -DWITHOUT_HEAP_STORAGE_ENGINE=1 118 -DWITHOUT_HEAP_STORAGE_ENGINE=1
131 mycmakeargs+=( 132 mycmakeargs+=(
132 -DENABLED_LOCAL_INFILE=1 133 -DENABLED_LOCAL_INFILE=1
133 -DEXTRA_CHARSETS=all 134 -DEXTRA_CHARSETS=all
134 -DMYSQL_USER=mysql 135 -DMYSQL_USER=mysql
135 -DMYSQL_UNIX_ADDR=${EPREFIX}/var/run/mysqld/mysqld.sock 136 -DMYSQL_UNIX_ADDR=${EPREFIX}/var/run/mysqld/mysqld.sock
136 -DWITHOUT_READLINE=1 137 -DWITH_READLINE=0
138 -DWITH_LIBEDIT=0
137 -DWITH_ZLIB=system 139 -DWITH_ZLIB=system
138 -DWITHOUT_LIBWRAP=1 140 -DWITHOUT_LIBWRAP=1
139 ) 141 )
140 142
141 mycmakeargs+=( 143 mycmakeargs+=(
327 rm -rf "${D}"/${MY_SHAREDSTATEDIR}/mysql-test 329 rm -rf "${D}"/${MY_SHAREDSTATEDIR}/mysql-test
328 fi 330 fi
329 331
330 # Configuration stuff 332 # Configuration stuff
331 case ${MYSQL_PV_MAJOR} in 333 case ${MYSQL_PV_MAJOR} in
334 5.[1-4]*) mysql_mycnf_version="5.1" ;;
332 5.[1-9]|6*|7*) mysql_mycnf_version="5.1" ;; 335 5.[5-9]|6*|7*) mysql_mycnf_version="5.5" ;;
333 esac 336 esac
334 einfo "Building default my.cnf (${mysql_mycnf_version})" 337 einfo "Building default my.cnf (${mysql_mycnf_version})"
335 insinto "${MY_SYSCONFDIR}" 338 insinto "${MY_SYSCONFDIR}"
336 doins scripts/mysqlaccess.conf 339 doins scripts/mysqlaccess.conf
337 mycnf_src="my.cnf-${mysql_mycnf_version}" 340 mycnf_src="my.cnf-${mysql_mycnf_version}"

Legend:
Removed from v.1.10  
changed lines
  Added in v.1.11

  ViewVC Help
Powered by ViewVC 1.1.20