Subject: Re: msgfmt and Makefile
To: Lubomir Sedlacik <salo@Xtrmntr.org>
From: =?ISO-8859-1?Q?C=E9sar_Catri=E1n?= C. <ccatrian@eml.cc>
List: tech-pkg
Date: 07/15/2004 11:54:28
On Thu, 15 Jul 2004 17:22:23 +0200
Lubomir Sedlacik <salo@Xtrmntr.org> wrote:

> Packages.txt:
>=20
>  10.12 Dependencies on other packages
>  =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
>  ...
>  Please also note the BUILD_USES_MSGFMT and BUILD_USES_GETTEXT_M4
>  definitions, which are provided as convenience definitions.  The
>  former works out whether msgfmt(1) is part of the base system, and,
>  if it isn't, installs the pkgsrc/devel/gettext package.
>=20
>=20
> regards,
>=20
> --=20
> -- Lubomir Sedlacik <salo@{NetBSD,Xtrmntr,silcnet}.org>   --
>=20

of course, no problem, but mi compilation fails if there is no .mo file:

Making all in po
msgfmt --statistics -c -v -o es.mo es.po
es.po: atenci=F3n: blablablabla

I need to put a .mo file there (binary), and I wanted to generate it
at buildtime (no binary policy :).
I'll send the .po file to the author, later; but I want to make available t=
he translation
in pkgsrc.