1 |
commit: 7020928053e71d84e472480782bf4777d6ac001e |
2 |
Author: Sam James <sam <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Sep 8 07:18:37 2021 +0000 |
4 |
Commit: Sam James <sam <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Sep 8 07:18:37 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=70209280 |
7 |
|
8 |
sys-apps/pv: fix PLOCALES list |
9 |
|
10 |
Signed-off-by: Sam James <sam <AT> gentoo.org> |
11 |
|
12 |
sys-apps/pv/{pv-1.6.19.ebuild => pv-1.6.19-r1.ebuild} | 6 +++--- |
13 |
1 file changed, 3 insertions(+), 3 deletions(-) |
14 |
|
15 |
diff --git a/sys-apps/pv/pv-1.6.19.ebuild b/sys-apps/pv/pv-1.6.19-r1.ebuild |
16 |
similarity index 91% |
17 |
rename from sys-apps/pv/pv-1.6.19.ebuild |
18 |
rename to sys-apps/pv/pv-1.6.19-r1.ebuild |
19 |
index 7acc907bef9..371943e4161 100644 |
20 |
--- a/sys-apps/pv/pv-1.6.19.ebuild |
21 |
+++ b/sys-apps/pv/pv-1.6.19-r1.ebuild |
22 |
@@ -14,7 +14,7 @@ SLOT="0" |
23 |
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~mips ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc64-solaris ~x86-solaris" |
24 |
IUSE="debug nls" |
25 |
|
26 |
-PLOCALES="de en fr pt_BR zh_CN" |
27 |
+PLOCALES="de fr pl pt" |
28 |
PLOCALE_BACKUP="en" |
29 |
|
30 |
DOCS=( README doc/NEWS doc/TODO ) |
31 |
@@ -48,10 +48,10 @@ src_prepare() { |
32 |
|
33 |
disable_locale() { |
34 |
local locale=${1} |
35 |
- einfo "Disabling locale ${locale}" |
36 |
- sed -i configure -e "/ALL_LINGUAS=/s:${lingua}::g" || die |
37 |
+ sed -i configure -e "/ALL_LINGUAS=/s:${locale}::g" || die |
38 |
} |
39 |
|
40 |
+ plocale_find_changes src/nls '' '.po' |
41 |
plocale_for_each_disabled_locale disable_locale |
42 |
} |