summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian Evans <grknight@gentoo.org>2015-01-28 13:48:58 +0000
committerBrian Evans <grknight@gentoo.org>2015-01-28 13:48:58 +0000
commit38cacc5d1859165585564379d8bf78038be6068c (patch)
tree2097bbb1925b733b40873383b819a64c1f9e6fe1 /eclass/mysql-cmake.eclass
parentAdjust app-crypt/qca dependencies to handle merged plugins wrt bug #537640. (diff)
downloadgentoo-2-38cacc5d1859165585564379d8bf78038be6068c.tar.gz
gentoo-2-38cacc5d1859165585564379d8bf78038be6068c.tar.bz2
gentoo-2-38cacc5d1859165585564379d8bf78038be6068c.zip
Sync changes from mysql overlay
Diffstat (limited to 'eclass/mysql-cmake.eclass')
-rw-r--r--eclass/mysql-cmake.eclass6
1 files changed, 5 insertions, 1 deletions
diff --git a/eclass/mysql-cmake.eclass b/eclass/mysql-cmake.eclass
index b7f479947dee..aa1fabc883a2 100644
--- a/eclass/mysql-cmake.eclass
+++ b/eclass/mysql-cmake.eclass
@@ -1,6 +1,6 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/mysql-cmake.eclass,v 1.26 2014/11/26 00:34:41 grknight Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/mysql-cmake.eclass,v 1.27 2015/01/28 13:48:58 grknight Exp $
# @ECLASS: mysql-cmake.eclass
# @MAINTAINER:
@@ -232,6 +232,10 @@ configure_cmake_standard() {
mycmakeargs+=( $(cmake-utils_use_with innodb-lz4 INNODB_LZ4)
$(cmake-utils_use_with innodb-lzo INNODB_LZO) )
fi
+
+ if mysql_version_is_at_least "10.1.2" ; then
+ mycmakeargs+=( $(mysql-cmake_use_plugin cracklib CRACKLIB_PASSWORD_CHECK ) )
+ fi
else
mycmakeargs+=( $(cmake-utils_use_with extraengine FEDERATED_STORAGE_ENGINE) )
fi