From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 2405D138346 for ; Sun, 5 Jan 2020 13:58:35 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 4266DE0956; Sun, 5 Jan 2020 13:58:34 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 18290E0956 for ; Sun, 5 Jan 2020 13:58:34 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 37BC534DDB9 for ; Sun, 5 Jan 2020 13:58:33 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id E63DB3D for ; Sun, 5 Jan 2020 13:58:31 +0000 (UTC) From: "Andreas Sturmlechner" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Andreas Sturmlechner" Message-ID: <1578232697.6525e1f94752c843aedcf924b2403979a07bd0e4.asturm@gentoo> Subject: [gentoo-commits] proj/kde:master commit in: eclass/ X-VCS-Repository: proj/kde X-VCS-Files: eclass/cmake.eclass X-VCS-Directories: eclass/ X-VCS-Committer: asturm X-VCS-Committer-Name: Andreas Sturmlechner X-VCS-Revision: 6525e1f94752c843aedcf924b2403979a07bd0e4 X-VCS-Branch: master Date: Sun, 5 Jan 2020 13:58:31 +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-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: f520b6d7-2308-44aa-9d53-396c6f4bd727 X-Archives-Hash: 55a7264f6ddb82818e0a6db8639396e4 commit: 6525e1f94752c843aedcf924b2403979a07bd0e4 Author: Andreas Sturmlechner gentoo org> AuthorDate: Sun Jan 5 13:51:47 2020 +0000 Commit: Andreas Sturmlechner gentoo org> CommitDate: Sun Jan 5 13:58:17 2020 +0000 URL: https://gitweb.gentoo.org/proj/kde.git/commit/?id=6525e1f9 cmake.eclass: Fix build with CMAKE_VERBOSE=OFF Signed-off-by: Andreas Sturmlechner gentoo.org> eclass/cmake.eclass | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/eclass/cmake.eclass b/eclass/cmake.eclass index f523d7eb4e..b7044d3144 100644 --- a/eclass/cmake.eclass +++ b/eclass/cmake.eclass @@ -566,8 +566,10 @@ cmake_build() { case ${CMAKE_MAKEFILE_GENERATOR} in emake) [[ -e Makefile ]] || die "Makefile not found. Error during configure stage." - [[ "${CMAKE_VERBOSE}" != "OFF" ]] && local verbosity="VERBOSE=1" - emake "${verbosity}" "$@" + case ${CMAKE_VERBOSE} in + OFF) emake VERBOSE=1 "$@" ;; + *) emake "$@" ;; + esac ;; ninja) [[ -e build.ninja ]] || die "build.ninja not found. Error during configure stage."