kde5.eclass: comment_add_subdirectory -> cmake_comment_add_subdirectory
authorMichael Palimaka <kensington@gentoo.org>
Tue, 26 Jan 2016 13:19:10 +0000 (00:19 +1100)
committerMichael Palimaka <kensington@gentoo.org>
Tue, 26 Jan 2016 13:33:25 +0000 (00:33 +1100)
eclass/kde5.eclass

index 9aede6d6f79bf92cdcefc5a31e4a996b4e29c037..8b528b2fdbac5be74fe9a0ff59144f633c7b96b2 100644 (file)
@@ -400,12 +400,12 @@ kde5_src_prepare() {
 
        # only build examples when required
        if ! use_if_iuse examples || ! use examples ; then
-               comment_add_subdirectory examples
+               cmake_comment_add_subdirectory examples
        fi
 
        # only enable handbook when required
        if ! use_if_iuse handbook ; then
-               comment_add_subdirectory ${KDE_DOC_DIR}
+               cmake_comment_add_subdirectory ${KDE_DOC_DIR}
 
                if [[ ${KDE_HANDBOOK} = forceoptional ]] ; then
                        punt_bogus_dep KF5 DocTools
@@ -423,7 +423,7 @@ kde5_src_prepare() {
                                                rm -rf ${lang}
                                        fi
                                        if [[ -e CMakeLists.txt ]] ; then
-                                               comment_add_subdirectory ${lang}
+                                               cmake_comment_add_subdirectory ${lang}
                                        fi
                                fi
                        done
@@ -434,7 +434,7 @@ kde5_src_prepare() {
                        pushd ${KDE_DOC_DIR} > /dev/null || die
                        for lang in *; do
                                if ! has ${lang} ${LINGUAS} ; then
-                                       comment_add_subdirectory ${lang}
+                                       cmake_comment_add_subdirectory ${lang}
                                fi
                        done
                        popd > /dev/null || die
@@ -445,7 +445,7 @@ kde5_src_prepare() {
 
        # in frameworks, tests = manual tests so never build them
        if [[ ${CATEGORY} = kde-frameworks ]]; then
-               comment_add_subdirectory tests
+               cmake_comment_add_subdirectory tests
        fi
 
        case ${KDE_PUNT_BOGUS_DEPS} in
@@ -465,13 +465,13 @@ kde5_src_prepare() {
                if [[ ${KDE_TEST} = forceoptional ]] ; then
                        punt_bogus_dep Qt5 Test
                        # if forceoptional, also cover non-kde categories
-                       comment_add_subdirectory autotests
-                       comment_add_subdirectory test
-                       comment_add_subdirectory tests
+                       cmake_comment_add_subdirectory autotests
+                       cmake_comment_add_subdirectory test
+                       cmake_comment_add_subdirectory tests
                elif [[ ${CATEGORY} = kde-frameworks || ${CATEGORY} = kde-plasma || ${CATEGORY} = kde-apps ]] ; then
-                       comment_add_subdirectory autotests
-                       comment_add_subdirectory test
-                       comment_add_subdirectory tests
+                       cmake_comment_add_subdirectory autotests
+                       cmake_comment_add_subdirectory test
+                       cmake_comment_add_subdirectory tests
                fi
        fi
 }