summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2017-05-17 09:35:31 +0200
committerAndreas Sturmlechner <asturm@gentoo.org>2017-05-17 09:36:08 +0200
commit4a240ab910f80bd21de7d5ef49890cdd1717844c (patch)
tree0b41f12fec4d6e370d10cb56ebce90ecb489e4d6 /kde-apps
parentnet-mail/cyrus-imap-admin dev-libs/cyrus-imap-dev Mask for removal (diff)
downloadgentoo-4a240ab910f80bd21de7d5ef49890cdd1717844c.tar.gz
gentoo-4a240ab910f80bd21de7d5ef49890cdd1717844c.tar.bz2
gentoo-4a240ab910f80bd21de7d5ef49890cdd1717844c.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')
-rw-r--r--kde-apps/step/step-17.04.1.ebuild4
1 files changed, 4 insertions, 0 deletions
diff --git a/kde-apps/step/step-17.04.1.ebuild b/kde-apps/step/step-17.04.1.ebuild
index c121e41b44ed..8238b7a79b70 100644
--- a/kde-apps/step/step-17.04.1.ebuild
+++ b/kde-apps/step/step-17.04.1.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