tech-pkg archive

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


On Sun, May 23, 2010 at 11:11:40AM +0300, Aleksey Cheusov wrote:
>  >> Build dependencies caused by inclusion of files do
>  >> not alter BUILD_DEPENDS variable, only DEPENDS is affected.
>  >> Can anybody explain why?
> > Well, I don't think anybody can, considering it is not true.
> > BUILDLINK_DEPMETHOD in a can be set to either full or build.
> > I'd expect that to be documented, but I don't care enough to check.  It
> > doesn't resist a grep for BUILD_DEPENDS in mk/buildlink3 anyway.
> BUILDLINK_DEPMETHOD.<pkg> is documented and works as expected.  The
> problem is that BUILDLINK_DEPMETHOD.<pkg>=full changes DEPENDS variable
> but not BUILD_DEPENDS (BUILDLINK_DEPMETHOD.<pkg>=build works fine). I
> meant that if it changed both DEPENDS and BUILD_DEPENDS it'd be easier
> to optimize bulk builds (recursive rebuild due to change in non-library
> packages).

*sigh*, again, run-time dependencies are just assumed to also be build-
time dependencies in pkgsrc.

And it's even more the case with buildlink3 packages:  if they weren't
build-time dependencies, then there would be no need for a file.

Ever noticed "build" in "buildlink"?

Quentin Garnier - -
"See the look on my face from staying too long in one place
[...] every time the morning breaks I know I'm closer to falling"
KT Tunstall, Saving My Face, Drastic Fantastic, 2007.

Attachment: pgp01Sz_Gy0lC.pgp
Description: PGP signature

Home | Main Index | Thread Index | Old Index