tech-pkg archive

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

Re: updating dependency BUILDLINK_API_DEPENDS



Jeremy C. Reed wrote:
How can we improve the buildlinking system to not say:

        ERROR: bar is not installed; can't buildlink files.

when it is really installed?

The problem is that a dependency "foo" is good enough. It has a dependency listed in its buildlink3.mk file of "bar".
But that "bar" buildlink3.mk file's BUILDLINK_API_DEPENDS.bar is higher 
than the installed version of "bar".
If a package needs a higher BUILDLINK_API_DEPENDS than its dependencies 
do, then it should explicitly include the buildlink3.mk file for that 
sub-dependency.  The rule should be that you should not set 
BUILDLINK_API_DEPENDS.bar unless you also include bar/buildlink3.mk.
        Cheers,

        -- Johnny C. Lam


Home | Main Index | Thread Index | Old Index