tech-pkg archive

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

Re: TOOL_DEPENDS vs BUILD_DEPENDS



On Sat, Jun 03, 2023 at 12:47:04PM +0000, Taylor R Campbell wrote:
> TL;DR: I propose to mass-change all uses of BUILD_DEPENDS outside
> pkgsrc/mk to TOOL_DEPENDS, with no impact on native compilation and
> possible benefits to cross-compilation.
>
> Thoughts?

Yes, please. Also check mk, I think some of the BUILD_DEPENDS there
should be TOOL_DEPENDS too.

pkglint should also warn about it.

> In retrospect, this may have been a mistake: essentially the only
> legitimate uses of BUILD_DEPENDS come out of buildlink3.mk, so I
> probably should have just renamed that to BUILDLINK_DEPENDS and used
> it internally in buildlink3.mk, but it seemed riskier to cosmetically
> touch infrastructure I wasn't otherwise changing.

Can you name a couple real BUILD_DEPENDS?
 Thomas


Home | Main Index | Thread Index | Old Index