From 38cacc5d1859165585564379d8bf78038be6068c Mon Sep 17 00:00:00 2001 From: Brian Evans Date: Wed, 28 Jan 2015 13:48:58 +0000 Subject: Sync changes from mysql overlay --- eclass/mysql-cmake.eclass | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'eclass/mysql-cmake.eclass') 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 -- cgit v1.2.3-65-gdbad