summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2021-04-01 00:20:51 +0100
committerSam James <sam@gentoo.org>2021-04-01 22:17:08 +0100
commitc69b1fa0eef6875e200f8c7343b5d2c4ac82551e (patch)
tree8f01a8f8ef7c816ec32b8995c6bd36e6146d1f76 /app-accessibility
parentapp-accessibility/yasr: port to EAPI 7, fix Prefix install (diff)
downloadgentoo-c69b1fa0eef6875e200f8c7343b5d2c4ac82551e.tar.gz
gentoo-c69b1fa0eef6875e200f8c7343b5d2c4ac82551e.tar.bz2
gentoo-c69b1fa0eef6875e200f8c7343b5d2c4ac82551e.zip
app-accessibility/yasr: make NLS fully optional
Bug: https://bugs.gentoo.org/330879 Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'app-accessibility')
-rw-r--r--app-accessibility/yasr/yasr-0.6.9-r1.ebuild8
1 files 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 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