commit:     b54d1207a26c3688d00909812b51666e546c2fea
Author:     Michael Palimaka <kensington <AT> gentoo <DOT> org>
AuthorDate: Sun Jan 17 10:17:36 2016 +0000
Commit:     Michael Palimaka <kensington <AT> gentoo <DOT> org>
CommitDate: Sun Jan 17 10:17:36 2016 +0000
URL:        https://gitweb.gentoo.org/proj/kde.git/commit/?id=b54d1207

cmake-utils.eclass: simplify

 eclass/cmake-utils.eclass | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/eclass/cmake-utils.eclass b/eclass/cmake-utils.eclass
index 5910360..4a72306 100644
--- a/eclass/cmake-utils.eclass
+++ b/eclass/cmake-utils.eclass
@@ -431,9 +431,7 @@ enable_cmake-utils_src_prepare() {
        if ! has "${EAPI:-0}" 2 3 4 5 ; then
                default_src_prepare
                _cleanup_cmake
-       fi
-
-       if has "${EAPI:-0}" 2 3 4 5 ; then
+       else
                debug-print "$FUNCNAME: PATCHES=$PATCHES"
                [[ ${PATCHES[@]} ]] && epatch "${PATCHES[@]}"
 

Reply via email to