From 9701ffa7a0ac33b7606d45ca51233baec1f9def7 Mon Sep 17 00:00:00 2001 From: Andreas Sturmlechner Date: Sat, 2 Jan 2016 02:36:11 +0100 Subject: 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(-) (limited to 'eclass/kde5.eclass') diff --git a/eclass/kde5.eclass b/eclass/kde5.eclass index 6ed2bd7759b2..9aede6d6f79b 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 -- cgit v1.2.3-65-gdbad