Subject: Re: Handling options in bl3 files
To: Thomas Klausner <wiz@NetBSD.org>
From: Todd Vierling <email@example.com>
Date: 06/01/2005 09:54:12
On Wed, 1 Jun 2005, Thomas Klausner wrote:
> While trying to convert devel/allegro to the options
> framework, I stumbled over the following problem:
> Its bl3.mk file has contains
> .if !empty(USE_ESOUND:M[Yy][Ee][Ss])
> . include "../../audio/esound/buildlink3.mk"
> which should be convert to match against the PKG_OPTIONS
> of the (to-be-) installed package.
> How should this be done?
Is allegro an abstraction API with a consistent ABI regardless of output
modules? If so, meaning that esound is not exposed to allegro-using apps,
then this .include should not exist at all in the allegro bl3 file.
(This is yet another instance, I believe, of "too tight" bl3 inclusion.)
-- Todd Vierling <firstname.lastname@example.org> <email@example.com> <firstname.lastname@example.org>