Skip to content

Commit

Permalink
kde5.eclass: Fix configure with >=kde-apps/kde-l10n-16.12.0 L10N=sr
Browse files Browse the repository at this point in the history
Upstream added a subdirectory that should not be added to the project.

Closes: gentoo#3139
Signed-off-by: Johannes Huber <[email protected]>
  • Loading branch information
a17r authored and johu committed Dec 18, 2016
1 parent 77f1634 commit d57290d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion eclass/kde5.eclass
Original file line number Diff line number Diff line change
Expand Up @@ -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
}

Expand Down

0 comments on commit d57290d

Please sign in to comment.