media-sound/audacious: Disable po dir if USE !nls
authorAndreas Sturmlechner <asturm@gentoo.org>
Sat, 24 Nov 2018 22:53:23 +0000 (23:53 +0100)
committerAndreas Sturmlechner <asturm@gentoo.org>
Sat, 24 Nov 2018 23:16:42 +0000 (00:16 +0100)
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@gentoo.org>
media-sound/audacious/audacious-9999.ebuild

index 3bbf110f138876144ffd2b2576fd8475bdfd89b2..11547ce4fca94e13fa32585bfe59684c3600f908 100644 (file)
@@ -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
 }