commit:     2eb376eb6d78fe98b0b82e0c8faee89e41e69f5a
Author:     Michael Palimaka <kensington <AT> gentoo <DOT> org>
AuthorDate: Fri Oct 23 17:34:28 2015 +0000
Commit:     Michael Palimaka <kensington <AT> gentoo <DOT> org>
CommitDate: Fri Oct 23 17:34:39 2015 +0000
URL:        https://gitweb.gentoo.org/proj/kde.git/commit/?id=2eb376eb

cmake-utils.eclass: warn when using mycmakeargs as a string

 eclass/cmake-utils.eclass | 1 +
 1 file changed, 1 insertion(+)

diff --git a/eclass/cmake-utils.eclass b/eclass/cmake-utils.eclass
index 0f538f1..9d4e03b 100644
--- a/eclass/cmake-utils.eclass
+++ b/eclass/cmake-utils.eclass
@@ -542,6 +542,7 @@ enable_cmake-utils_src_configure() {
        # Make the array a local variable since <=portage-2.1.6.x does not
        # support global arrays (see bug #297255).
        if [[ $(declare -p mycmakeargs 2>&-) != "declare -a mycmakeargs="* ]]; 
then
+               eqawarn "Declaring mycmakeargs as a variable is deprecated. 
Please use an array instead."
                local mycmakeargs_local=(${mycmakeargs})
        else
                local mycmakeargs_local=("${mycmakeargs[@]}")

Reply via email to