From owner-freebsd-ports@FreeBSD.ORG Mon Aug 21 19:21:47 2006 Return-Path: X-Original-To: freebsd-ports@FreeBSD.org Delivered-To: freebsd-ports@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3977E16A4E1 for ; Mon, 21 Aug 2006 19:21:47 +0000 (UTC) (envelope-from pav@FreeBSD.org) Received: from hood.oook.cz (hood.oook.cz [195.250.137.134]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3D66943D76 for ; Mon, 21 Aug 2006 19:21:41 +0000 (GMT) (envelope-from pav@FreeBSD.org) Received: from ikaros.oook.cz (localhost [127.0.0.1]) by hood.oook.cz (8.13.6/8.13.6) with ESMTP id k7LJLP7m029691 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 21 Aug 2006 21:21:25 +0200 (CEST) (envelope-from pav@FreeBSD.org) Received: (from pav@localhost) by ikaros.oook.cz (8.13.6/8.13.6/Submit) id k7LJLOvX029690; Mon, 21 Aug 2006 21:21:24 +0200 (CEST) (envelope-from pav@FreeBSD.org) X-Authentication-Warning: ikaros.oook.cz: pav set sender to pav@FreeBSD.org using -f From: Pav Lucistnik To: Yar Tikhiy In-Reply-To: <20060821071036.GA44406@comp.chem.msu.su> References: <20060821071036.GA44406@comp.chem.msu.su> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-+sJ/2gTacICvrucnxdKN" Date: Mon, 21 Aug 2006 21:21:24 +0200 Message-Id: <1156188084.29475.8.camel@ikaros.oook.cz> Mime-Version: 1.0 X-Mailer: Evolution 2.6.3 FreeBSD GNOME Team Port Cc: freebsd-ports@FreeBSD.org Subject: Re: A section on gettext for the Porter's Handbook X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: pav@FreeBSD.org List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 Aug 2006 19:21:47 -0000 --=-+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 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--