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 33ECA1382C5 for ; Sun, 21 Feb 2021 12:07:11 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 5BA7FE0830; Sun, 21 Feb 2021 12:07:10 +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 3F6D7E0830 for ; Sun, 21 Feb 2021 12:07:10 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (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 B3B32340DC5 for ; Sun, 21 Feb 2021 12:07:08 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 39CD24DE for ; Sun, 21 Feb 2021 12:07:07 +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: <1613909204.0bb55f6eaf3c718efe89f9458756a9c4559a344c.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: 0bb55f6eaf3c718efe89f9458756a9c4559a344c X-VCS-Branch: master Date: Sun, 21 Feb 2021 12:07:07 +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: e681809d-fa71-4a19-a33e-3f196a883e0c X-Archives-Hash: 3c42bcdd9f53bec69467d78a0adffbf8 commit: 0bb55f6eaf3c718efe89f9458756a9c4559a344c Author: Andreas Sturmlechner gentoo org> AuthorDate: Sun Feb 21 11:52:57 2021 +0000 Commit: Andreas Sturmlechner gentoo org> CommitDate: Sun Feb 21 12:06:44 2021 +0000 URL: https://gitweb.gentoo.org/proj/kde.git/commit/?id=0bb55f6e cmake.eclass: Document _cmake_check_build_dir and _cmake_modify-cmakelists Signed-off-by: Andreas Sturmlechner gentoo.org> eclass/cmake.eclass | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/eclass/cmake.eclass b/eclass/cmake.eclass index e9543c1fd3..ec3c9bf8d7 100644 --- a/eclass/cmake.eclass +++ b/eclass/cmake.eclass @@ -135,6 +135,9 @@ _cmake_banned_func() { die "${FUNCNAME[1]} is banned. use -D$1=\"\$(usex $2)\" instead" } +# @FUNCTION: _cmake_check_build_dir +# @INTERNAL +# @DESCRIPTION: # Determine using IN or OUT source build _cmake_check_build_dir() { : ${CMAKE_USE_DIR:=${S}} @@ -268,6 +271,9 @@ cmake-utils_use() { _cmake_banned_func "" "$@" ; } # Banned. Use -DNOFOO=$(usex !foo) instead. cmake-utils_useno() { _cmake_banned_func "" "$@" ; } +# @FUNCTION: _cmake_modify-cmakelists +# @INTERNAL +# @DESCRIPTION: # Internal function for modifying hardcoded definitions. # Removes dangerous definitions that override Gentoo settings. _cmake_modify-cmakelists() {