tech-pkg archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Application of package options from within buildlink3.mk?



>>How that .stage-install_makevars.mk file came into being after
>>this, and how it came to contain the wrong values I have no idea
>>about.  I don't think any of my actions should have caused that
>>to happen.
>
> The way PKG_BUILD_OPTIONS works is to query the currently installed
> package.  My guess is that you had a much older package installed at
> the start, "pkg_info -Q PKG_OPTIONS" for that old package returned
> empty, and that value was cached and ultimately used even though at
> some point later the installed package was updated with the correct
> option.

OK.  I think that is a plausible explanation, thanks for that.

It probably will not be the first time someone introduces a new
option which defaults to "on" between earlier installation time
and "now".  I'll leave it to others to decide if this is the way
it ought to be handled.

Regards,

- Håvard


Home | Main Index | Thread Index | Old Index