commit:     2a5008e569266c828d659083a5a017acb88cccf2
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Sat Nov 24 22:53:23 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=2a5008e5

media-sound/audacious: 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-sound/audacious/audacious-9999.ebuild | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/media-sound/audacious/audacious-9999.ebuild 
b/media-sound/audacious/audacious-9999.ebuild
index 3bbf110f138..11547ce4fca 100644
--- a/media-sound/audacious/audacious-9999.ebuild
+++ b/media-sound/audacious/audacious-9999.ebuild
@@ -51,6 +51,9 @@ src_unpack() {
 
 src_prepare() {
        default
+       if ! use nls; then
+               sed -e "/SUBDIRS/s/ po//" -i Makefile || die # bug #512698
+       fi
        [[ ${PV} == *9999 ]] && eautoreconf
 }
 

Reply via email to