From d57290d4bfea89e31f93047a634d4f74b25c167b Mon Sep 17 00:00:00 2001 From: Andreas Sturmlechner Date: Sat, 17 Dec 2016 00:49:32 +0100 Subject: 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 --- eclass/kde5.eclass | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'eclass') 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 } -- cgit v1.2.3-65-gdbad