commit:     9701ffa7a0ac33b7606d45ca51233baec1f9def7
Author:     Andreas Sturmlechner <andreas.sturmlechner <AT> gmail <DOT> com>
AuthorDate: Sat Jan  2 01:36:11 2016 +0000
Commit:     Michael Palimaka <kensington <AT> gentoo <DOT> org>
CommitDate: Mon Jan  4 17:00:00 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9701ffa7

kde5.eclass: In kde5_src_prepare, place cmake-utils_src_prepare on top

This change makes PATCHES handling less error prone, as epatch will find
a pristine directory before there is punting and commenting.

 eclass/kde5.eclass | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/eclass/kde5.eclass b/eclass/kde5.eclass
index 6ed2bd7..9aede6d 100644
--- a/eclass/kde5.eclass
+++ b/eclass/kde5.eclass
@@ -1,4 +1,4 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
@@ -396,6 +396,8 @@ kde5_src_unpack() {
 kde5_src_prepare() {
        debug-print-function ${FUNCNAME} "$@"
 
+       cmake-utils_src_prepare
+
        # only build examples when required
        if ! use_if_iuse examples || ! use examples ; then
                comment_add_subdirectory examples
@@ -472,8 +474,6 @@ kde5_src_prepare() {
                        comment_add_subdirectory tests
                fi
        fi
-
-       cmake-utils_src_prepare
 }
 
 # @FUNCTION: kde5_src_configure

Reply via email to