Subject: Re: *_OPTIONS for package options
To: Johnny C. Lam <jlam@NetBSD.org>
From: grant beattie <grant@NetBSD.org>
Date: 07/24/2004 20:47:09
Content-Type: text/plain; charset=us-ascii
On Sat, Jul 24, 2004 at 09:02:50AM +0000, Johnny C. Lam wrote:
> I don't see how we can implement this without touching the package
> Makefile. The package Makefile must contain the logic for actually
> using the selected build options, e.g.
> .if !empty(PKG_OPTIONS:MPAM)
> . include "../../security/PAM/buildlink3.mk"
> CONFIGURE_ARGS+=3D --with-pam
> So we clearly can't remove those sections of the package Makefiles.
> The header of the example ("Global and legacy options") shown in
> bsd.options.mk is there solely to provide backwards-compatibility for
> using the old options, until we can deprecate and remove all instances
> of them.
> I think this is about as succinct as I can make it for the package
> developer to use.
looks good to me! thanks for doing this :)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (NetBSD)
-----END PGP SIGNATURE-----