commit:     a5b9dda4d9336b746547e53c6c432993966b5891
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Fri Apr  7 20:52:50 2017 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Fri Apr  7 21:40:00 2017 +0000
URL:        https://gitweb.gentoo.org/proj/kde.git/commit/?id=a5b9dda4

kde5.eclass: LINGUAS handling: Also drop subdir paths

 eclass/kde5.eclass | 1 +
 1 file changed, 1 insertion(+)

diff --git a/eclass/kde5.eclass b/eclass/kde5.eclass
index 245a1427f3..eb6f43d635 100644
--- a/eclass/kde5.eclass
+++ b/eclass/kde5.eclass
@@ -550,6 +550,7 @@ kde5_src_prepare() {
                                rm -r ${lang} || die
                                if [[ -e CMakeLists.txt ]] ; then
                                        cmake_comment_add_subdirectory ${lang}
+                                       sed -e 
"/add_subdirectory([[:space:]]*${lang}\/.*[[:space:]]*)/d" -i CMakeLists.txt || 
die
                                fi
                        elif [[ -f ${lang} ]] && ! has ${lang/.po/} ${LINGUAS} 
; then
                                if [[ ${lang} != CMakeLists.txt && ${lang} != 
${PN}.pot ]] ; then

Reply via email to