commit: b56904fffadd50e7f13d49d47797604fd0ecbc87
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: Sat Jan 2 01:36:11 2016 +0000
URL: https://gitweb.gentoo.org/proj/kde.git/commit/?id=b56904ff
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 | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/eclass/kde5.eclass b/eclass/kde5.eclass
index fdc5128..1e429f2 100644
--- a/eclass/kde5.eclass
+++ b/eclass/kde5.eclass
@@ -449,6 +449,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
@@ -525,8 +527,6 @@ kde5_src_prepare() {
comment_add_subdirectory tests
fi
fi
-
- cmake-utils_src_prepare
}
# @FUNCTION: kde5_src_configure