commit:     546b40181517adf67e0da07c95cb784c1cb5c857
Author:     Michael Palimaka <kensington <AT> gentoo <DOT> org>
AuthorDate: Sun Jan 17 09:41:22 2016 +0000
Commit:     Michael Palimaka <kensington <AT> gentoo <DOT> org>
CommitDate: Sun Jan 17 09:41:27 2016 +0000
URL:        https://gitweb.gentoo.org/proj/kde.git/commit/?id=546b4018

cmake-utils.eclass: cleanup after applying patches

This avoids issues with patches not applying cleanly to vanilla sources when
backporting or upstreaming.

 eclass/cmake-utils.eclass | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/eclass/cmake-utils.eclass b/eclass/cmake-utils.eclass
index ee08380..c0f9cc8 100644
--- a/eclass/cmake-utils.eclass
+++ b/eclass/cmake-utils.eclass
@@ -429,8 +429,8 @@ enable_cmake-utils_src_prepare() {
        pushd "${S}" > /dev/null || die
 
        if has "${EAPI:-0}" 6 ; then
-               _cleanup_cmake
                default_src_prepare
+               _cleanup_cmake
        fi
 
        if has "${EAPI:-0}" 2 3 4 5 ; then

Reply via email to