summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2013-01-20 02:37:51 +0000
committerRobin H. Johnson <robbat2@gentoo.org>2013-01-20 02:37:51 +0000
commit392c8001fe7a20d942cbb74efe6283fe8757975c (patch)
tree69af305df9b4ab43ff1a44ab2320ee825491614b /eclass
parentBug #430820: Prefix fix. (diff)
downloadgentoo-2-392c8001fe7a20d942cbb74efe6283fe8757975c.tar.gz
gentoo-2-392c8001fe7a20d942cbb74efe6283fe8757975c.tar.bz2
gentoo-2-392c8001fe7a20d942cbb74efe6283fe8757975c.zip
Bug #430836: eprefix paths in my.cnf.
Diffstat (limited to 'eclass')
-rw-r--r--eclass/mysql-cmake.eclass5
1 files changed, 3 insertions, 2 deletions
diff --git a/eclass/mysql-cmake.eclass b/eclass/mysql-cmake.eclass
index 12490f508716..06124b3ec7b0 100644
--- a/eclass/mysql-cmake.eclass
+++ b/eclass/mysql-cmake.eclass
@@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/mysql-cmake.eclass,v 1.12 2013/01/20 02:30:28 robbat2 Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/mysql-cmake.eclass,v 1.13 2013/01/20 02:37:51 robbat2 Exp $
# @ECLASS: mysql-cmake.eclass
# @MAINTAINER:
@@ -15,7 +15,7 @@
# the src_unpack, src_prepare, src_configure, src_compile, scr_install,
# pkg_preinst, pkg_postinst, pkg_config and pkg_postrm phase hooks.
-inherit cmake-utils flag-o-matic multilib
+inherit cmake-utils flag-o-matic multilib prefix
#
# HELPER FUNCTIONS:
@@ -346,6 +346,7 @@ mysql-cmake_src_install() {
-e "/character-set/s|utf8|latin1|g" \
"${TMPDIR}/my.cnf.ok"
fi
+ eprefixify "${TMPDIR}/my.cnf.ok"
newins "${TMPDIR}/my.cnf.ok" my.cnf
# Minimal builds don't have the MySQL server