summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2017-05-17 09:35:31 +0200
committerAndreas Sturmlechner <asturm@gentoo.org>2017-09-09 13:48:44 +0200
commit6f315cfed4a16334e349c4fa68f80a4e970c5fb4 (patch)
tree7ed91841699bd4b8c60e4ff088c71b96b40aa5be /kde-apps
parentkde-frameworks: Version bump KDE Frameworks 5.38.0 (diff)
downloadgentoo-6f315cfed4a16334e349c4fa68f80a4e970c5fb4.tar.gz
gentoo-6f315cfed4a16334e349c4fa68f80a4e970c5fb4.tar.bz2
gentoo-6f315cfed4a16334e349c4fa68f80a4e970c5fb4.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.08.1.ebuild4
1 files changed, 4 insertions, 0 deletions
diff --git a/kde-apps/step/step-17.08.1.ebuild b/kde-apps/step/step-17.08.1.ebuild
index c121e41b44ed..8a2c802d6417 100644
--- a/kde-apps/step/step-17.08.1.ebuild
+++ b/kde-apps/step/step-17.08.1.ebuild
@@ -49,6 +49,10 @@ DEPEND="${RDEPEND}
src_prepare() {
kde5_src_prepare
+ # FIXME: Should be upstream in 17.08.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