commit: c69b1fa0eef6875e200f8c7343b5d2c4ac82551e Author: Sam James <sam <AT> gentoo <DOT> org> AuthorDate: Wed Mar 31 23:20:51 2021 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Thu Apr 1 21:17:08 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c69b1fa0
app-accessibility/yasr: make NLS fully optional Bug: https://bugs.gentoo.org/330879 Signed-off-by: Sam James <sam <AT> gentoo.org> app-accessibility/yasr/yasr-0.6.9-r1.ebuild | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/app-accessibility/yasr/yasr-0.6.9-r1.ebuild b/app-accessibility/yasr/yasr-0.6.9-r1.ebuild index 1c7e089be17..3d1abf962f2 100644 --- a/app-accessibility/yasr/yasr-0.6.9-r1.ebuild +++ b/app-accessibility/yasr/yasr-0.6.9-r1.ebuild @@ -26,9 +26,11 @@ PATCHES=( src_prepare() { default - local x="${BROOT}"/usr/share/gettext/po/Makefile.in.in - # bug 330879 - [[ -e $x ]] && cp -f $x po/ || die + if use nls ; then + local x="${BROOT}"/usr/share/gettext/po/Makefile.in.in + # bug 330879 + [[ -e $x ]] && cp -f $x po/ || die + fi rm -r "${S}"/m4 || die