From: Andreas Sturmlechner Date: Fri, 16 Dec 2016 23:49:32 +0000 (+0100) Subject: kde5.eclass: Fix configure with >=kde-apps/kde-l10n-16.12.0 L10N=sr X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=d57290d4bfea89e31f93047a634d4f74b25c167b;p=gentoo.git kde5.eclass: Fix configure with >=kde-apps/kde-l10n-16.12.0 L10N=sr Upstream added a subdirectory that should not be added to the project. Closes: https://github.com/gentoo/gentoo/pull/3139 Signed-off-by: Johannes Huber --- diff --git a/eclass/kde5.eclass b/eclass/kde5.eclass index 3669536737d3..ebdd790de334 100644 --- a/eclass/kde5.eclass +++ b/eclass/kde5.eclass @@ -773,7 +773,9 @@ _l10n_variant_subdir_buster() { esac for subdir in $(find ${dir} -mindepth 1 -maxdepth 1 -type d | sed -e "s:^\./::"); do - echo "add_subdirectory(${subdir##*/})" >> ${dir}/CMakeLists.txt + if [[ ${subdir##*/} != "cmake_modules" ]] ; then + echo "add_subdirectory(${subdir##*/})" >> ${dir}/CMakeLists.txt || die + fi done }