/[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.11 Revision 1.12
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.11 2013/01/20 02:23:10 robbat2 Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/mysql-cmake.eclass,v 1.12 2013/01/20 02:30:28 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>
333 case ${MYSQL_PV_MAJOR} in 333 case ${MYSQL_PV_MAJOR} in
334 5.[1-4]*) mysql_mycnf_version="5.1" ;; 334 5.[1-4]*) mysql_mycnf_version="5.1" ;;
335 5.[5-9]|6*|7*) mysql_mycnf_version="5.5" ;; 335 5.[5-9]|6*|7*) mysql_mycnf_version="5.5" ;;
336 esac 336 esac
337 einfo "Building default my.cnf (${mysql_mycnf_version})" 337 einfo "Building default my.cnf (${mysql_mycnf_version})"
338 insinto "${MY_SYSCONFDIR}" 338 insinto "${MY_SYSCONFDIR#${EPREFIX}}"
339 doins scripts/mysqlaccess.conf 339 doins scripts/mysqlaccess.conf
340 mycnf_src="my.cnf-${mysql_mycnf_version}" 340 mycnf_src="my.cnf-${mysql_mycnf_version}"
341 sed -e "s!@DATADIR@!${MY_DATADIR}!g" \ 341 sed -e "s!@DATADIR@!${MY_DATADIR}!g" \
342 "${FILESDIR}/${mycnf_src}" \ 342 "${FILESDIR}/${mycnf_src}" \
343 > "${TMPDIR}/my.cnf.ok" 343 > "${TMPDIR}/my.cnf.ok"

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

  ViewVC Help
Powered by ViewVC 1.1.20