Re: git: 9a5a5a037897 - main - japanese/kterm: Sanitize MANPREFIX

From: Moin Rahman <bofh_at_freebsd.org>
Date: Mon, 22 Jan 2024 21:18:25 UTC

> On Jan 22, 2024, at 10:00 PM, Hiroki Sato <hrs@freebsd.org> wrote:
> 
> Muhammad Moinur Rahman <bofh@FreeBSD.org> wrote
>  in <202401222027.40MKRVaH012805@gitrepo.freebsd.org>:
> 
> bo> The branch main has been updated by bofh:
> bo>
> bo> URL: https://cgit.FreeBSD.org/ports/commit/?id=9a5a5a0378972be4f6b9d4d4c67c68baaebb1daa
> bo>
> bo> commit 9a5a5a0378972be4f6b9d4d4c67c68baaebb1daa
> bo> Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
> bo> AuthorDate: 2024-01-22 19:37:27 +0000
> bo> Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
> bo> CommitDate: 2024-01-22 20:26:42 +0000
> bo>
> bo>     japanese/kterm: Sanitize MANPREFIX
> bo>
> bo>     Approved by:    portmgr (blanket)
> 
> ...
> 
> bo> -man/ja.UTF-8/man1/kterm.1.gz
> bo> -man/man1/kterm.1.gz
> bo> +share/man/ja/man1/kterm.1.gz
> bo> +share/man/man1/kterm.1.gz
> 
> Why does ja.UTF-8 need to be replaced with ja?  The man(1) utility
> searches man/<lang_country.charset> and man/<lang.charset>, not
> man/<lang>.
> 
> -- Hiroki

That's only applicable for base. Apart from that and ${PREFIX}/man
and ${PREFIX}/share/man everything has to be added to the MANPATH.

If you want to defer feel free to change it.

Kind regards,
Moin