commit: 29392d23de5c35fab5c8a59a145fbcccb6a81859 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: Mon Oct 26 17:04:15 2015 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=29392d23
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 77e8662..dd6045a 100644 --- a/eclass/cmake-utils.eclass +++ b/eclass/cmake-utils.eclass @@ -547,6 +547,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[@]}")