Subject: Re: pkglint complaining about USE_NCURSES
To: Georg Schwarz <georg.schwarz@freenet.de>
From: Lubomir Sedlacik <salo@Xtrmntr.org>
List: tech-pkg
Date: 04/23/2006 16:17:33
--yNb1oOkm5a9FJOVX
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

[ now in a more serious way :) ]

On Sun, Apr 23, 2006 at 04:03:00PM +0200, Georg Schwarz wrote:
> When I run pkglint 4.60 against www/lynx it complains:
>=20
> WARN: options.mk:35: USE_NCURSES should be set to YES or yes.
> 0 errors and 1 warnings found.
>=20
> www/lynx has in options.mk
>=20
> USE_NCURSES=3D         color
>=20
> It that syntax incorrect, or is pkglint wrong to complain?

the syntax is against established practice and the pkglint complaint is
also wrong.

USE_NCURSES should be either [Nn][Oo] or defined with a comment
describing why.

without checking what "color" actually means in the lynx/ncurses
context, the definition should be something like:

  USE_NCURSES=3D		# needs 'color' from ncurses

or similar.

regards,

--=20
-- Lubomir Sedlacik <salo@{NetBSD,Xtrmntr,silcnet}.org>   --

--yNb1oOkm5a9FJOVX
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (NetBSD)

iD8DBQFES4x9iwjDDlS8cmMRAvqNAJ9cfDKdKsOQBB1p/Rhviz5YvWs5xwCfXSZX
Dzav8iZI7SDEXpFbpXPxpNE=
=cMnq
-----END PGP SIGNATURE-----

--yNb1oOkm5a9FJOVX--