From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-950335-garchives=archives.gentoo.org@lists.gentoo.org>
Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(No client certificate requested)
	by finch.gentoo.org (Postfix) with ESMTPS id B4D33139694
	for <garchives@archives.gentoo.org>; Wed, 17 May 2017 07:36:19 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id E7DD6E0CC2;
	Wed, 17 May 2017 07:36:18 +0000 (UTC)
Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(No client certificate requested)
	by pigeon.gentoo.org (Postfix) with ESMTPS id C5DA3E0CC2
	for <gentoo-commits@lists.gentoo.org>; Wed, 17 May 2017 07:36:18 +0000 (UTC)
Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52])
	(using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))
	(No client certificate requested)
	by smtp.gentoo.org (Postfix) with ESMTPS id 914DD34164B
	for <gentoo-commits@lists.gentoo.org>; Wed, 17 May 2017 07:36:17 +0000 (UTC)
Received: from localhost.localdomain (localhost [IPv6:::1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id 3662B743E
	for <gentoo-commits@lists.gentoo.org>; Wed, 17 May 2017 07:36:16 +0000 (UTC)
From: "Andreas Sturmlechner" <asturm@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Content-Transfer-Encoding: 8bit
Content-type: text/plain; charset=UTF-8
Reply-To: gentoo-dev@lists.gentoo.org, "Andreas Sturmlechner" <asturm@gentoo.org>
Message-ID: <1495006568.4a240ab910f80bd21de7d5ef49890cdd1717844c.asturm@gentoo>
Subject: [gentoo-commits] repo/gentoo:master commit in: kde-apps/step/
X-VCS-Repository: repo/gentoo
X-VCS-Files: kde-apps/step/step-17.04.1.ebuild
X-VCS-Directories: kde-apps/step/
X-VCS-Committer: asturm
X-VCS-Committer-Name: Andreas Sturmlechner
X-VCS-Revision: 4a240ab910f80bd21de7d5ef49890cdd1717844c
X-VCS-Branch: master
Date: Wed, 17 May 2017 07:36:16 +0000 (UTC)
Precedence: bulk
List-Post: <mailto:gentoo-commits@lists.gentoo.org>
List-Help: <mailto:gentoo-commits+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org>
X-BeenThere: gentoo-commits@lists.gentoo.org
X-Archives-Salt: 737753da-e392-48bf-ae5d-1655a4530ef1
X-Archives-Hash: e70e82ba11c42be72b475f3539a5db27

commit:     4a240ab910f80bd21de7d5ef49890cdd1717844c
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Wed May 17 07:35:31 2017 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Wed May 17 07:36:08 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4a240ab9

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

Make missing 'po' subdirectory non-fatal.

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

Package-Manager: Portage-2.3.5, Repoman-2.3.1

 kde-apps/step/step-17.04.1.ebuild | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/kde-apps/step/step-17.04.1.ebuild b/kde-apps/step/step-17.04.1.ebuild
index c121e41b44e..8238b7a79b7 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