summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2017-05-17 09:35:31 +0200
committerAndreas Sturmlechner <asturm@gentoo.org>2017-06-09 11:42:33 +0200
commit823e4dc9879144afb4abea123d95a9b324d59ed9 (patch)
tree73d4a4a0d617821b17f331ece3dcf9d576aba5a7 /kde-apps/step
parentpackage.mask: Remove obsolete media-video/motion <= 4.0.1 mask (diff)
downloadgentoo-823e4dc9879144afb4abea123d95a9b324d59ed9.tar.gz
gentoo-823e4dc9879144afb4abea123d95a9b324d59ed9.tar.bz2
gentoo-823e4dc9879144afb4abea123d95a9b324d59ed9.zip
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
Diffstat (limited to 'kde-apps/step')
-rw-r--r--kde-apps/step/step-17.04.2.ebuild4
1 files changed, 4 insertions, 0 deletions
diff --git a/kde-apps/step/step-17.04.2.ebuild b/kde-apps/step/step-17.04.2.ebuild
index c121e41b44ed..8238b7a79b70 100644
--- a/kde-apps/step/step-17.04.2.ebuild
+++ b/kde-apps/step/step-17.04.2.ebuild
@@ -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