Gentoo Archives: gentoo-commits

From: Sam James <sam@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-accessibility/yasr/
Date: Thu, 01 Apr 2021 21:17:33
Message-Id: 1617311828.c69b1fa0eef6875e200f8c7343b5d2c4ac82551e.sam@gentoo
1 commit: c69b1fa0eef6875e200f8c7343b5d2c4ac82551e
2 Author: Sam James <sam <AT> gentoo <DOT> org>
3 AuthorDate: Wed Mar 31 23:20:51 2021 +0000
4 Commit: Sam James <sam <AT> gentoo <DOT> org>
5 CommitDate: Thu Apr 1 21:17:08 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c69b1fa0
7
8 app-accessibility/yasr: make NLS fully optional
9
10 Bug: https://bugs.gentoo.org/330879
11 Signed-off-by: Sam James <sam <AT> gentoo.org>
12
13 app-accessibility/yasr/yasr-0.6.9-r1.ebuild | 8 +++++---
14 1 file changed, 5 insertions(+), 3 deletions(-)
15
16 diff --git a/app-accessibility/yasr/yasr-0.6.9-r1.ebuild b/app-accessibility/yasr/yasr-0.6.9-r1.ebuild
17 index 1c7e089be17..3d1abf962f2 100644
18 --- a/app-accessibility/yasr/yasr-0.6.9-r1.ebuild
19 +++ b/app-accessibility/yasr/yasr-0.6.9-r1.ebuild
20 @@ -26,9 +26,11 @@ PATCHES=(
21 src_prepare() {
22 default
23
24 - local x="${BROOT}"/usr/share/gettext/po/Makefile.in.in
25 - # bug 330879
26 - [[ -e $x ]] && cp -f $x po/ || die
27 + if use nls ; then
28 + local x="${BROOT}"/usr/share/gettext/po/Makefile.in.in
29 + # bug 330879
30 + [[ -e $x ]] && cp -f $x po/ || die
31 + fi
32
33 rm -r "${S}"/m4 || die