Skip to content

Commit

Permalink
kde5.eclass: In kde5_src_prepare, place cmake-utils_src_prepare on top
Browse files Browse the repository at this point in the history
This change makes PATCHES handling less error prone, as epatch will find
a pristine directory before there is punting and commenting.
  • Loading branch information
a17r authored and kensington committed Jan 4, 2016
1 parent 45e9f94 commit 9701ffa
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions eclass/kde5.eclass
Original file line number Diff line number Diff line change
@@ -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$

Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -472,8 +474,6 @@ kde5_src_prepare() {
comment_add_subdirectory tests
fi
fi

cmake-utils_src_prepare
}

# @FUNCTION: kde5_src_configure
Expand Down

0 comments on commit 9701ffa

Please sign in to comment.