Subject: Re: Consistent "Optional Dependecy" handling
To: None <tech-pkg@netbsd.org>
From: Juan RP <jrp@hispabsd.org>
List: tech-pkg
Date: 08/01/2003 01:33:44
On Thu, Jul 31, 2003 at 06:32:55PM -0500, Nate Hill wrote:

> Okay, I see that there is already a USE_OSS flag (which is undefined 
> default) and it is checked in kdemultimedia3:
> 
> .if defined(USE_OSS)
> CONFIGURE_ARGS+=        --enable-audio=oss
> .endif
> 
> My question is wether I can implement this by just adding a USE_GTK 
> flag in bsd.pkg.defaults.mk? Is there some kludge that needs changing 
> elsewhere?

bsd.pkg.defaults.mk is only used to see what commons variables we can
use. You will have to do on any package that uses GTK, btw I don't like
this option, because we don't want many differents binaries packages, 
instead I prefer package-gtk or package-esd or whatever.

-- 
Juan RP		<jrp@hispabsd.org>
--