summaryrefslogtreecommitdiff
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
commit97fc1e68dac6013e7b04649fe52b27e1167231d8 (patch)
treeef6ff5696f8e2a4dd36f90f8f71b6b2ce052fab2 /eclass/mysql-cmake.eclass
parentBug #430820: Prefix fix. (diff)
downloadhistorical-97fc1e68dac6013e7b04649fe52b27e1167231d8.tar.gz
historical-97fc1e68dac6013e7b04649fe52b27e1167231d8.tar.bz2
historical-97fc1e68dac6013e7b04649fe52b27e1167231d8.zip
Bug #430836: eprefix paths in my.cnf.
Diffstat (limited to 'eclass/mysql-cmake.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