Subject: Re: per package CONFIGURE_ARGS in mk.conf
To: None <tech-pkg@netbsd.org>
From: None <diro@nixsys.bz>
List: tech-pkg
Date: 11/04/2006 18:50:56
>> On Fri, Nov 03, 2006 at 07:51:02PM +0000, diro@nixsys.bz wrote:
>> Is there an easy way to specify CONFIGURE_ARGS for different packages in
>> mk.conf?
> You shouldn't do that, but it can be done by using ${.CURDIR}.
> Joerg
There are options i need to feed the mail/sqwebmail build, which aren't
covered in its PKG_OPTIONS. Rather then edit the Makefile, update via CVS
every quarter and deal with the mangled Makefile, i've found it easier to
just remove the whole tree and replace it anew each quarter. Instead of
re-editing the Makefile for certain packages, i was hoping there's an easier
way to feed it specific options.
What would be so horrible about having something like
CONFIGURE_ARGS.package_name? This would save having a lot of PKG_OPTIONS
settings for the many configure args that can be used to tweak specific
packages.
Just some thoughts. I'm always open to a better method.
!tr