summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <andreas.sturmlechner@gmail.com>2016-01-02 02:36:11 +0100
committerMichael Palimaka <kensington@gentoo.org>2016-01-05 04:00:00 +1100
commit9701ffa7a0ac33b7606d45ca51233baec1f9def7 (patch)
tree44a83f8db4b4f9d60a5f239926acf83f85c792a3 /eclass/kde5.eclass
parentapp-portage/eix: update copyright and DESCRIPTION to quiet repoman (diff)
downloadgentoo-9701ffa7a0ac33b7606d45ca51233baec1f9def7.tar.gz
gentoo-9701ffa7a0ac33b7606d45ca51233baec1f9def7.tar.bz2
gentoo-9701ffa7a0ac33b7606d45ca51233baec1f9def7.zip
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.
Diffstat (limited to 'eclass/kde5.eclass')
-rw-r--r--eclass/kde5.eclass6
1 files changed, 3 insertions, 3 deletions
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