/[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.12 Revision 1.13
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.12 2013/01/20 02:30:28 robbat2 Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/mysql-cmake.eclass,v 1.13 2013/01/20 02:37:51 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>
13# The mysql-cmake.eclass provides the support to build the mysql 13# The mysql-cmake.eclass provides the support to build the mysql
14# ebuilds using the cmake build system. This eclass provides 14# ebuilds using the cmake build system. This eclass provides
15# the src_unpack, src_prepare, src_configure, src_compile, scr_install, 15# the src_unpack, src_prepare, src_configure, src_compile, scr_install,
16# pkg_preinst, pkg_postinst, pkg_config and pkg_postrm phase hooks. 16# pkg_preinst, pkg_postinst, pkg_config and pkg_postrm phase hooks.
17 17
18inherit cmake-utils flag-o-matic multilib 18inherit cmake-utils flag-o-matic multilib prefix
19 19
20# 20#
21# HELPER FUNCTIONS: 21# HELPER FUNCTIONS:
22# 22#
23 23
344 if use latin1 ; then 344 if use latin1 ; then
345 sed -i \ 345 sed -i \
346 -e "/character-set/s|utf8|latin1|g" \ 346 -e "/character-set/s|utf8|latin1|g" \
347 "${TMPDIR}/my.cnf.ok" 347 "${TMPDIR}/my.cnf.ok"
348 fi 348 fi
349 eprefixify "${TMPDIR}/my.cnf.ok"
349 newins "${TMPDIR}/my.cnf.ok" my.cnf 350 newins "${TMPDIR}/my.cnf.ok" my.cnf
350 351
351 # Minimal builds don't have the MySQL server 352 # Minimal builds don't have the MySQL server
352 if ! use minimal ; then 353 if ! use minimal ; then
353 einfo "Creating initial directories" 354 einfo "Creating initial directories"

Legend:
Removed from v.1.12  
changed lines
  Added in v.1.13

  ViewVC Help
Powered by ViewVC 1.1.20