Subject: Re: options.mk in buildlink files?
To: tech-pkg@netbsd.org, Todd Vierling <tv@duh.org>
From: Christian Hattemer <c.hattemer@arcor.de>
List: tech-pkg
Date: 04/23/2006 20:43:09
Hello Johnny,
On 20.04.06, you wrote:
> So, to recap, PKG_BUILD_OPTIONS should be set by first checking for the
> existence of the package, and if it does exist, then using the result
> of "pkg_info -Q PKG_OPTIONS <pkg>", otherwise do the same dance we do
> now.
Sounds interesting. However it seems like a lot of code that has to be
duplicated for each option.
Could that code be encapsulated somewhere else into a macro to make checking
less verbose?
Bye, Chris