Subject: Re: Handling options in bl3 files
To: Todd Vierling <email@example.com>
From: Dieter Baron <firstname.lastname@example.org>
Date: 06/01/2005 17:32:59
On Wed, Jun 01, 2005 at 11:28:53AM -0400, Todd Vierling wrote:
> On Wed, 1 Jun 2005, Dieter Baron wrote:
> > If kdelibs is already installed, the options used to compile the
> > installed package should be used, not the current option settings:
> > PKG_BUILD_OPTIONS.kdelibs!= \
> > pkg_info -B kdelibs | sed -n 's/^PKG_OPTIONS=[ ]*//p'
> Which could be problematic, since you have to calculate that *after* the
> package is installed, but the bl3 file is necessary to get it installed.
*If* the package is installed when the user runs make in the
dependent package, the value can be got at any time. If it is not,
calculating PKG_OPTIONS as per Mark's suggestion works fine (since it
will be built with those options).
> It's not *currently* a problem since this will get executed at each phase.
> It becomes a problem for me as it pisses all over derecursion. :-P
Not any more than Mark's suggestion.