kde-apps/step: Fix configure with USE=-nls

Make missing 'po' subdirectory non-fatal.

Reported-by: Jaak Ristioja <jaak@ristioja.ee>
Gentoo-bug: 618556

Package-Manager: Portage-2.3.5, Repoman-2.3.1
This commit is contained in:
Andreas Sturmlechner
2017-05-17 09:35:31 +02:00
parent d0ae01f622
commit 4a240ab910

View File

@@ -49,6 +49,10 @@ DEPEND="${RDEPEND}
src_prepare() {
kde5_src_prepare
# FIXME: Should be upstream in 17.04.2
sed -e 's/add_subdirectory( *po *)/ecm_optional_add_subdirectory(po)/' \
-i CMakeLists.txt || die
# FIXME: Drop duplicate upstream
sed -e '/find_package.*Xml Test/ s/^/#/' \
-i stepcore/CMakeLists.txt || die