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
 }
 

Reply via email to