summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2011-12-27 07:34:18 +0000
committerRobin H. Johnson <robbat2@gentoo.org>2011-12-27 07:34:18 +0000
commitb33b437d01d1252016bdd88c5a09469cfc0e0adb (patch)
treedc35d0cca5162643c530366f03c815be22b61a95 /eclass
parentBump (diff)
downloadgentoo-2-b33b437d01d1252016bdd88c5a09469cfc0e0adb.tar.gz
gentoo-2-b33b437d01d1252016bdd88c5a09469cfc0e0adb.tar.bz2
gentoo-2-b33b437d01d1252016bdd88c5a09469cfc0e0adb.zip
Refactor USE=static cmake code.
Diffstat (limited to 'eclass')
-rw-r--r--eclass/mysql-cmake.eclass9
1 files changed, 2 insertions, 7 deletions
diff --git a/eclass/mysql-cmake.eclass b/eclass/mysql-cmake.eclass
index faf1e3548dad..b882ff54963a 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.2 2011/09/30 02:10:24 jmbsvicetto Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/mysql-cmake.eclass,v 1.3 2011/12/27 07:34:18 robbat2 Exp $
# @ECLASS: mysql-cmake.eclass
# @MAINTAINER:
@@ -123,13 +123,8 @@ configure_cmake_standard() {
-DWITHOUT_LIBWRAP=1
)
- if use static ; then
- mycmakeargs+=( -DDISABLE_SHARED=1 )
- else
- mycmakeargs+=( -DDISABLED_SHARED=0 )
- fi
-
mycmakeargs+=(
+ $(cmake-utils_use_disable !static SHARED)
$(cmake-utils_use_with debug)
$(cmake-utils_use_with embedded EMBEDDED_SERVER)
$(cmake-utils_use_with profiling)