From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-1058762-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 88A44138334
	for <garchives@archives.gentoo.org>; Sat, 24 Nov 2018 23:18:07 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 877B2E0B51;
	Sat, 24 Nov 2018 23:18:06 +0000 (UTC)
Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183])
	(using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))
	(No client certificate requested)
	by pigeon.gentoo.org (Postfix) with ESMTPS id 5F655E0B51
	for <gentoo-commits@lists.gentoo.org>; Sat, 24 Nov 2018 23:18:06 +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 73B9E335D50
	for <gentoo-commits@lists.gentoo.org>; Sat, 24 Nov 2018 23:18:04 +0000 (UTC)
Received: from localhost.localdomain (localhost [IPv6:::1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id 9CBC84B6
	for <gentoo-commits@lists.gentoo.org>; Sat, 24 Nov 2018 23:18:02 +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: <1543101402.768af9d61966e1c12d1861d431884eff1379e400.asturm@gentoo>
Subject: [gentoo-commits] repo/gentoo:master commit in: media-plugins/audacious-plugins/
X-VCS-Repository: repo/gentoo
X-VCS-Files: media-plugins/audacious-plugins/audacious-plugins-9999.ebuild
X-VCS-Directories: media-plugins/audacious-plugins/
X-VCS-Committer: asturm
X-VCS-Committer-Name: Andreas Sturmlechner
X-VCS-Revision: 768af9d61966e1c12d1861d431884eff1379e400
X-VCS-Branch: master
Date: Sat, 24 Nov 2018 23:18:02 +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: a1318acb-c1c4-464c-bc6a-d16335abdc0d
X-Archives-Hash: 3f07db60a89ec0f67d907dac9ce4df3f

commit:     768af9d61966e1c12d1861d431884eff1379e400
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Sat Nov 24 23:00:40 2018 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Sat Nov 24 23:16:42 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=768af9d6

media-plugins/audacious-plugins: Disable po dir if USE !nls

Build system fails to live up to the promise of --disable-nls,
so do it manually.

Bug: https://bugs.gentoo.org/512698
Package-Manager: Portage-2.3.52, Repoman-2.3.12
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>

 media-plugins/audacious-plugins/audacious-plugins-9999.ebuild | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/media-plugins/audacious-plugins/audacious-plugins-9999.ebuild b/media-plugins/audacious-plugins/audacious-plugins-9999.ebuild
index 343ebd431ad..d3d11e6d779 100644
--- a/media-plugins/audacious-plugins/audacious-plugins-9999.ebuild
+++ b/media-plugins/audacious-plugins/audacious-plugins-9999.ebuild
@@ -110,6 +110,9 @@ S="${WORKDIR}/${MY_P}"
 
 src_prepare() {
 	default
+	if ! use nls; then
+		sed -e "/SUBDIRS/s/ po//" -i Makefile || die # bug #512698
+	fi
 	[[ ${PV} == *9999 ]] && eautoreconf
 }