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 0718A138331 for ; Thu, 8 Sep 2016 13:13:07 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 1E91CE0B08; Thu, 8 Sep 2016 13:13:04 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 57EA821C03C for ; Thu, 8 Sep 2016 13:13:03 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 85E0D3408DD for ; Thu, 8 Sep 2016 13:13:01 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id A1C5D247C for ; Thu, 8 Sep 2016 13:12:59 +0000 (UTC) From: "Lars Wendler" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Lars Wendler" Message-ID: <1473340368.ac8c7b0f47bb1f266193375b67a6fd566d0f76d5.polynomial-c@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: eclass/ X-VCS-Repository: repo/gentoo X-VCS-Files: eclass/cmake-utils.eclass X-VCS-Directories: eclass/ X-VCS-Committer: polynomial-c X-VCS-Committer-Name: Lars Wendler X-VCS-Revision: ac8c7b0f47bb1f266193375b67a6fd566d0f76d5 X-VCS-Branch: master Date: Thu, 8 Sep 2016 13:12:59 +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: a8e3a2cd-83e2-466d-bd08-7070704d6c0c X-Archives-Hash: 8aa860c2ea3ad2c9df7ae3f4057cd85d commit: ac8c7b0f47bb1f266193375b67a6fd566d0f76d5 Author: Christoph Junghans gentoo org> AuthorDate: Wed Aug 24 23:34:56 2016 +0000 Commit: Lars Wendler gentoo org> CommitDate: Thu Sep 8 13:12:48 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ac8c7b0f cmake-utils.eclass: print feature summary Closes: https://github.com/gentoo/gentoo/pull/2139 Signed-off-by: Lars Wendler gentoo.org> eclass/cmake-utils.eclass | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/eclass/cmake-utils.eclass b/eclass/cmake-utils.eclass index 393ee28..d5292bc 100644 --- a/eclass/cmake-utils.eclass +++ b/eclass/cmake-utils.eclass @@ -425,6 +425,13 @@ _cmake_modify-cmakelists() { Module \${CMAKE_MODULE_LINKER_FLAGS} Shared \${CMAKE_SHARED_LINKER_FLAGS}\n") _EOF_ + + if ! grep -Fiq FEATURE_SUMMARY "${CMAKE_USE_DIR}"/CMakeLists.txt; then + cat >> "${CMAKE_USE_DIR}"/CMakeLists.txt <<- _EOF_ || die + include(FeatureSummary) + FEATURE_SUMMARY(INCLUDE_QUIET_PACKAGES WHAT ALL) + _EOF_ + fi } # temporary function for moving cmake cleanups from from src_configure -> src_prepare.