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 9D81759CB2 for ; Fri, 15 Apr 2016 20:35:07 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id EB33AE07C9; Fri, 15 Apr 2016 20:35: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 91C63E07C9 for ; Fri, 15 Apr 2016 20:35:04 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (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 4C8B9340D23 for ; Fri, 15 Apr 2016 20:35:03 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 4ECBE80 for ; Fri, 15 Apr 2016 20:35:01 +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: <1460752207.dc5edd5d4ea11ea4e87c0d5388460633a51fb696.kensington@gentoo> Subject: [gentoo-commits] proj/kde:master commit in: eclass/ X-VCS-Repository: proj/kde X-VCS-Files: eclass/kde5.eclass X-VCS-Directories: eclass/ X-VCS-Committer: kensington X-VCS-Committer-Name: Michael Palimaka X-VCS-Revision: dc5edd5d4ea11ea4e87c0d5388460633a51fb696 X-VCS-Branch: master Date: Fri, 15 Apr 2016 20:35:01 +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: 41e09ae2-8b6a-44cb-a279-5ce594c626a3 X-Archives-Hash: bf9d41a9590514726f764ef253e20fb2 commit: dc5edd5d4ea11ea4e87c0d5388460633a51fb696 Author: Michael Palimaka gentoo org> AuthorDate: Fri Apr 15 20:30:07 2016 +0000 Commit: Michael Palimaka gentoo org> CommitDate: Fri Apr 15 20:30:07 2016 +0000 URL: https://gitweb.gentoo.org/proj/kde.git/commit/?id=dc5edd5d kde5.eclass: don't run pkg_pretend for kde-frameworks Merely exporting the phase function is very expensive, even if nothing useful is done inside it. Frameworks are supposed to support GCC 4.5 at a minimum which is old enough to make it safe enough to omit the check. eclass/kde5.eclass | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/eclass/kde5.eclass b/eclass/kde5.eclass index 5d2dc14..953a640 100644 --- a/eclass/kde5.eclass +++ b/eclass/kde5.eclass @@ -27,7 +27,11 @@ if [[ ${KDE_BUILD_TYPE} = live ]]; then esac fi -EXPORT_FUNCTIONS pkg_pretend pkg_setup pkg_nofetch src_unpack src_prepare src_configure src_compile src_test src_install pkg_preinst pkg_postinst pkg_postrm +if [[ ${CATEGORY} != kde-frameworks ]]; then + EXPORT_FUNCTIONS pkg_pretend +fi + +EXPORT_FUNCTIONS pkg_setup pkg_nofetch src_unpack src_prepare src_configure src_compile src_test src_install pkg_preinst pkg_postinst pkg_postrm # @ECLASS-VARIABLE: QT_MINIMAL # @DESCRIPTION: