From c69b1fa0eef6875e200f8c7343b5d2c4ac82551e Mon Sep 17 00:00:00 2001 From: Sam James Date: Thu, 1 Apr 2021 00:20:51 +0100 Subject: app-accessibility/yasr: make NLS fully optional Bug: https://bugs.gentoo.org/330879 Signed-off-by: Sam James --- app-accessibility/yasr/yasr-0.6.9-r1.ebuild | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'app-accessibility/yasr') diff --git a/app-accessibility/yasr/yasr-0.6.9-r1.ebuild b/app-accessibility/yasr/yasr-0.6.9-r1.ebuild index 1c7e089be171..3d1abf962f25 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 -- cgit v1.2.3-65-gdbad