From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 7A98A1380DC for ; Wed, 5 Feb 2014 14:52:00 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 85238E0BD8; Wed, 5 Feb 2014 14:51:58 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 1D2DAE0BD8 for ; Wed, 5 Feb 2014 14:51:58 +0000 (UTC) Received: from spoonbill.gentoo.org (spoonbill.gentoo.org [81.93.255.5]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 4191033F953 for ; Wed, 5 Feb 2014 14:51:56 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by spoonbill.gentoo.org (Postfix) with ESMTP id 3FF6C18278 for ; Wed, 5 Feb 2014 14:51:54 +0000 (UTC) From: "Michael Palimaka" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michael Palimaka" Message-ID: <1391611890.0d6fbc1cd0401aa17184fa3898e8d68ba99959d5.kensington@gentoo> Subject: [gentoo-commits] proj/kde:master commit in: eclass/ X-VCS-Repository: proj/kde X-VCS-Files: eclass/cmake-utils.eclass X-VCS-Directories: eclass/ X-VCS-Committer: kensington X-VCS-Committer-Name: Michael Palimaka X-VCS-Revision: 0d6fbc1cd0401aa17184fa3898e8d68ba99959d5 X-VCS-Branch: master Date: Wed, 5 Feb 2014 14:51:54 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 3a0f0597-8cab-42fa-8bee-994533246e80 X-Archives-Hash: 0c2f7f232f40faccacbaf4bab84a0f9c commit: 0d6fbc1cd0401aa17184fa3898e8d68ba99959d5 Author: Michael Palimaka gentoo org> AuthorDate: Wed Feb 5 14:51:30 2014 +0000 Commit: Michael Palimaka gentoo org> CommitDate: Wed Feb 5 14:51:30 2014 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/kde.git;a=commit;h=0d6fbc1c [eclass] Use simpler default variable definitions. --- eclass/cmake-utils.eclass | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/eclass/cmake-utils.eclass b/eclass/cmake-utils.eclass index 802c58a..16dcd33 100644 --- a/eclass/cmake-utils.eclass +++ b/eclass/cmake-utils.eclass @@ -26,36 +26,37 @@ ___ECLASS_ONCE_CMAKE_UTILS="recur -_+^+_- spank" # This is usefull when only part of aplication is using cmake build system. # Valid values are: always [default], optional (where the value is the useflag # used for optionality) -WANT_CMAKE="${WANT_CMAKE:-always}" +: ${WANT_CMAKE:=always} # @ECLASS-VARIABLE: CMAKE_MIN_VERSION # @DESCRIPTION: # Specify the minimum required CMake version. -CMAKE_MIN_VERSION="${CMAKE_MIN_VERSION:-2.8.9}" +: ${CMAKE_MIN_VERSION:=2.8.9} # @ECLASS-VARIABLE: CMAKE_REMOVE_MODULES_LIST # @DESCRIPTION: # Space-separated list of CMake modules that will be removed in $S during src_prepare, # in order to force packages to use the system version. -CMAKE_REMOVE_MODULES_LIST="${CMAKE_REMOVE_MODULES_LIST:-FindBLAS FindLAPACK}" +: ${CMAKE_REMOVE_MODULES_LIST:=FindBLAS FindLAPACK} # @ECLASS-VARIABLE: CMAKE_REMOVE_MODULES # @DESCRIPTION: # Do we want to remove anything? yes or whatever else for no +: ${CMAKE_REMOVE_MODULES:=yes} CMAKE_REMOVE_MODULES="${CMAKE_REMOVE_MODULES:-yes}" # @ECLASS-VARIABLE: CMAKE_MAKEFILE_GENERATOR # @DESCRIPTION: # Specify a makefile generator to be used by cmake. # At this point only "emake" and "ninja" are supported. -CMAKE_MAKEFILE_GENERATOR="${CMAKE_MAKEFILE_GENERATOR:-emake}" +: ${CMAKE_MAKEFILE_GENERATOR:=emake} # @ECLASS-VARIABLE: CMAKE_WARN_UNUSED_CLI # @DESCRIPTION: # Warn about variables that are declared on the command line # but not used. Might give false-positives. # "no" to disable (default) or anything else to enable. -CMAKE_WARN_UNUSED_CLI="${CMAKE_WARN_UNUSED_CLI:-no}" +: ${CMAKE_WARN_UNUSED_CLI:=no} CMAKEDEPEND="" case ${WANT_CMAKE} in