summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2018-11-25 00:00:40 +0100
committerAndreas Sturmlechner <asturm@gentoo.org>2018-11-25 00:16:42 +0100
commit768af9d61966e1c12d1861d431884eff1379e400 (patch)
treeae666fab86ea7c5fe097852cf2f72d3360dabc3d /media-plugins/audacious-plugins
parentmedia-sound/audacious: Disable po dir if USE !nls (diff)
downloadgentoo-768af9d61966e1c12d1861d431884eff1379e400.tar.gz
gentoo-768af9d61966e1c12d1861d431884eff1379e400.tar.bz2
gentoo-768af9d61966e1c12d1861d431884eff1379e400.zip
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@gentoo.org>
Diffstat (limited to 'media-plugins/audacious-plugins')
-rw-r--r--media-plugins/audacious-plugins/audacious-plugins-9999.ebuild3
1 files changed, 3 insertions, 0 deletions
diff --git a/media-plugins/audacious-plugins/audacious-plugins-9999.ebuild b/media-plugins/audacious-plugins/audacious-plugins-9999.ebuild
index 343ebd431ade..d3d11e6d7792 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
}