The following reply was made to PR pkg/53063; it has been noted by
GNATS.
From: Thomas Klausner <wiz%NetBSD.org@localhost>
To: NetBSD bugtracking <gnats-bugs%NetBSD.org@localhost>
Cc:
Subject: Re: pkg/53063: USE_PKGLOCALEDIR broken?
Date: Fri, 2 Mar 2018 08:56:05 +0100
> According to mk/configure/replace-localedir.mk:
>
######################################################################
> ### replace-localedir (PRIVATE)
>
######################################################################
> [...]
> .if empty(USE_PKGLOCALEDIR:M[nN][oO])
> SUBST_CLASSES+= pkglocaledir
> .endif
>
> Hence, I would remove the line 'USE_PKGLOCALDIR=yes' that sounds
confusing
> to me.
That's wrong, the variable still does something useful on systems
where LOCALEDIR is not share/locale.
Thomas