Subject: Re: BUILD_USES_MSGFMT (was Re: creating a package)
To: Jeremy C. Reed <reed@reedmedia.net>
From: Julio M. Merino Vidal <jmmv84@gmail.com>
List: tech-pkg
Date: 09/14/2005 08:08:44
On 9/14/05, Jeremy C. Reed <reed@reedmedia.net> wrote:
> On Tue, 13 Sep 2005, Jeremy C. Reed wrote:
>=20
> >> What is BUILD_USES_MSGFMT?
> >
> > It means the package needs msgfmt(1) as a built-time dependency. It is
> > provided by gettext.
>=20
> Also to be consistent this should probably be moved to the improved tools
> setup such as:
>=20
> USE_TOOLS+=3Dmsgfmt

Johnny suggested to add 'msgfmt' and 'msgfmt-plural' tools, which looks lik=
e
a good idea.

However, I'd like the plural handling be more automatic.  We'd grep for the
po files for the msgid_plural string and base the decision to use the scrip=
t
on that.

--=20
Julio M. Merino Vidal <jmmv84@gmail.com>
http://www.livejournal.com/users/jmmv/
The NetBSD Project - http://www.NetBSD.org/