From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1NIp9w-00030E-Cw for garchives@archives.gentoo.org; Thu, 10 Dec 2009 19:58:44 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id D257BE0ADB; Thu, 10 Dec 2009 19:58:43 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id ADA98E0ADB for ; Thu, 10 Dec 2009 19:58:43 +0000 (UTC) Received: from stork.gentoo.org (stork.gentoo.org [64.127.104.133]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTP id 6E75967A35 for ; Thu, 10 Dec 2009 19:58:43 +0000 (UTC) Received: from abcd by stork.gentoo.org with local (Exim 4.69) (envelope-from ) id 1NIp9u-0002MB-UL for gentoo-commits@lists.gentoo.org; Thu, 10 Dec 2009 19:58:42 +0000 From: "Jonathan Callen (abcd)" To: gentoo-commits@lists.gentoo.org Reply-To: gentoo-dev@lists.gentoo.org, abcd@gentoo.org Subject: [gentoo-commits] gentoo-x86 commit in eclass: cmake-utils.eclass X-VCS-Repository: gentoo-x86 X-VCS-Files: cmake-utils.eclass X-VCS-Directories: eclass X-VCS-Committer: abcd X-VCS-Committer-Name: Jonathan Callen Content-Type: text/plain; charset=utf8 Message-Id: Sender: Jonathan Callen Date: Thu, 10 Dec 2009 19:58:42 +0000 Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: quoted-printable X-Archives-Salt: 11f89cd9-21f6-4e2e-a926-7c9944113b4f X-Archives-Hash: 35decc9a858c95dbb5e17cc82f22d28b abcd 09/12/10 19:58:42 Modified: cmake-utils.eclass Log: Silence an unneeded warning Revision Changes Path 1.36 eclass/cmake-utils.eclass file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/cmake-utils= .eclass?rev=3D1.36&view=3Dmarkup plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/cmake-utils= .eclass?rev=3D1.36&content-type=3Dtext/plain diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/cmake-utils= .eclass?r1=3D1.35&r2=3D1.36 Index: cmake-utils.eclass =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D RCS file: /var/cvsroot/gentoo-x86/eclass/cmake-utils.eclass,v retrieving revision 1.35 retrieving revision 1.36 diff -u -r1.35 -r1.36 --- cmake-utils.eclass 10 Dec 2009 17:35:52 -0000 1.35 +++ cmake-utils.eclass 10 Dec 2009 19:58:42 -0000 1.36 @@ -1,6 +1,6 @@ # Copyright 1999-2009 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/cmake-utils.eclass,v 1.35 2009= /12/10 17:35:52 abcd Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/cmake-utils.eclass,v 1.36 2009= /12/10 19:58:42 abcd Exp $ =20 # @ECLASS: cmake-utils.eclass # @MAINTAINER: @@ -248,6 +248,7 @@ =20 # NOTE Append some useful summary here cat >> CMakeLists.txt <<- _EOF_ + MESSAGE(STATUS "<<< Gentoo configuration >>> Build type: ${CMAKE_BUILD_TYPE} Install path: ${CMAKE_INSTALL_PREFIX}\n") @@ -315,7 +316,7 @@ [[ -n ${CMAKE_NO_COLOR} ]] && echo 'SET (CMAKE_COLOR_MAKEFILE OFF CACHE= BOOL "pretty colors during make" FORCE)' >> "${common_config}" =20 # Convert mycmakeargs to an array, for backwards compatibility - if [[ $(declare -p mycmakeargs) !=3D "declare -a mycmakeargs=3D"* ]]; t= hen + if [[ $(declare -p mycmakeargs 2>&-) !=3D "declare -a mycmakeargs=3D"* = ]]; then mycmakeargs=3D(${mycmakeargs}) fi =20