Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 21 Aug 2006 21:21:24 +0200
From:      Pav Lucistnik <pav@FreeBSD.org>
To:        Yar Tikhiy <yar@comp.chem.msu.su>
Cc:        freebsd-ports@FreeBSD.org
Subject:   Re: A section on gettext for the Porter's Handbook
Message-ID:  <1156188084.29475.8.camel@ikaros.oook.cz>
In-Reply-To: <20060821071036.GA44406@comp.chem.msu.su>
References:  <20060821071036.GA44406@comp.chem.msu.su>

next in thread | previous in thread | raw e-mail | index | archive | help

--=-+sJ/2gTacICvrucnxdKN
Content-Type: text/plain; charset=ISO-8859-2
Content-Transfer-Encoding: quoted-printable

Yar Tikhiy p=ED=B9e v po 21. 08. 2006 v 11:10 +0400:

> Hi all,
>=20
> I hoped I had learned something about using gettext in ports,
> and felt I should write down a summary.  Here's what came out
> of that -- a proposed section for the Porter's Handbook.  Its
> HTML rendering is available there:
>=20
> http://people.freebsd.org/~yar/porters-handbook/using-gettext.html
>=20
> Remarks and corrections are welcome.  Thanks!

Not entirely convinced the section is needed at all. Anyway, here is
some constructive criticism:

1) Passing just LDFLAGS is not enough, you need also to pass
complementary header paths in CPPFLAGS:

CONFIGURE_ENV=3D  CPPFLAGS=3D"-I${LOCALBASE}/include" \
                LDFLAGS=3D"-L${LOCALBASE}/lib"

Also mention that this is only to be used when the configure script
can't find it's whereabouts without it. We don't need this in every
single Makefile -- ie. clutter.

Nits:

- I would drop the whole discussion about shlibver arguments to
  USE_GETTEXT. Just draws misuse.
- why GNU configure, GNU gettext? configure, gettext is just fine.
  Check the rest of the document and follow the style.

Otherwise it's acceptable, maybe the language is a bit too informal to
match the rest of the document, but whatever. Thanks!

--=20
Pav Lucistnik <pav@oook.cz>
              <pav@FreeBSD.org>

Oh, no! Aaargh! It is the most unnatural, most disgusting
creature imaginable: a two-eyed cyclops!

--=-+sJ/2gTacICvrucnxdKN
Content-Type: application/pgp-signature; name=signature.asc
Content-Description: Toto je =?UTF-8?Q?digit=C3=A1ln=C4=9B?=
	=?ISO-8859-1?Q?_podepsan=E1?= =?UTF-8?Q?_=C4=8D=C3=A1st?=
	=?ISO-8859-1?Q?_zpr=E1vy?=

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (FreeBSD)

iD8DBQBE6ge0ntdYP8FOsoIRAlVPAKCELpy2MAs4pB6tzXAP63TUEA6ttwCgym9S
A4Vg3tgQ6LEQrfA8qEAqKF0=
=FH8j
-----END PGP SIGNATURE-----

--=-+sJ/2gTacICvrucnxdKN--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1156188084.29475.8.camel>