summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJorge Manuel B. S. Vicetto <jmbsvicetto@gentoo.org>2011-09-30 02:10:24 +0000
committerJorge Manuel B. S. Vicetto <jmbsvicetto@gentoo.org>2011-09-30 02:10:24 +0000
commit76f1d8a222e3e4baf379d65e360d430fc4520f2e (patch)
tree47ba471afda2b13b0a84f5dca940c8412b418ddd /eclass/mysql-cmake.eclass
parentBeta channel version bump. (diff)
downloadhistorical-76f1d8a222e3e4baf379d65e360d430fc4520f2e.tar.gz
historical-76f1d8a222e3e4baf379d65e360d430fc4520f2e.tar.bz2
historical-76f1d8a222e3e4baf379d65e360d430fc4520f2e.zip
[mysql-cmake.eclass] Add CMAKE_BUILD_TYPE to mysql-cmake eclass so the binaries aren't built with debug. Thanks to Greg M.
[mysql_fx.eclass] Limit the creation of symlinks to the libdir so not to link to plugins.
Diffstat (limited to 'eclass/mysql-cmake.eclass')
-rw-r--r--eclass/mysql-cmake.eclass4
1 files changed, 3 insertions, 1 deletions
diff --git a/eclass/mysql-cmake.eclass b/eclass/mysql-cmake.eclass
index c7e854114e40..faf1e3548dad 100644
--- a/eclass/mysql-cmake.eclass
+++ b/eclass/mysql-cmake.eclass
@@ -1,6 +1,6 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/mysql-cmake.eclass,v 1.1 2011/07/13 07:07:15 robbat2 Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/mysql-cmake.eclass,v 1.2 2011/09/30 02:10:24 jmbsvicetto Exp $
# @ECLASS: mysql-cmake.eclass
# @MAINTAINER:
@@ -192,6 +192,8 @@ mysql-cmake_src_configure() {
debug-print-function ${FUNCNAME} "$@"
+ CMAKE_BUILD_TYPE="RelWithDebInfo"
+
mycmakeargs=(
-DCMAKE_INSTALL_PREFIX=/usr
-DMYSQL_DATADIR=/var/lib/mysql