diff options
author | Sam James <sam@gentoo.org> | 2021-09-08 08:18:37 +0100 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2021-09-08 08:18:37 +0100 |
commit | 7020928053e71d84e472480782bf4777d6ac001e (patch) | |
tree | be7a02c143cdafbd128299ba8189dffe07407350 /sys-apps/pv | |
parent | media-libs/libuninameslist: Stabilize 20200413-r2 ppc, #812068 (diff) | |
download | gentoo-7020928053e71d84e472480782bf4777d6ac001e.tar.gz gentoo-7020928053e71d84e472480782bf4777d6ac001e.tar.bz2 gentoo-7020928053e71d84e472480782bf4777d6ac001e.zip |
sys-apps/pv: fix PLOCALES list
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'sys-apps/pv')
-rw-r--r-- | sys-apps/pv/pv-1.6.19-r1.ebuild (renamed from sys-apps/pv/pv-1.6.19.ebuild) | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys-apps/pv/pv-1.6.19.ebuild b/sys-apps/pv/pv-1.6.19-r1.ebuild index 7acc907bef90..371943e4161b 100644 --- a/sys-apps/pv/pv-1.6.19.ebuild +++ b/sys-apps/pv/pv-1.6.19-r1.ebuild @@ -14,7 +14,7 @@ SLOT="0" KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~mips ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc64-solaris ~x86-solaris" IUSE="debug nls" -PLOCALES="de en fr pt_BR zh_CN" +PLOCALES="de fr pl pt" PLOCALE_BACKUP="en" DOCS=( README doc/NEWS doc/TODO ) @@ -48,10 +48,10 @@ src_prepare() { disable_locale() { local locale=${1} - einfo "Disabling locale ${locale}" - sed -i configure -e "/ALL_LINGUAS=/s:${lingua}::g" || die + sed -i configure -e "/ALL_LINGUAS=/s:${locale}::g" || die } + plocale_find_changes src/nls '' '.po' plocale_for_each_disabled_locale disable_locale } |