tech-pkg archive

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

Re: TOOL_DEPENDS vs. BUILD_DEPENDS



To pull a number from my behind, 95% of BUILD_DEPENDS in pkgsrc
should actually be TOOL_DEPENDS ;)

On Tue, Nov 22, 2022 at 06:00:21AM -0500, Greg Troxel wrote:
> > In general, most BUILD_DEPENDS should probably be TOOL_DEPENDS
> > instead. I can't think of a good example for a BUILD_DEPENDS, but
> > there must be one, somewhere :)
> 
> If there is static linking, then needing something to link against and
> not at runtime fits.

Yes, also header-only packages, generally like boost-headers.

Although, generally, packages that only install static libraries
should be converted Not Do That (or preferrably to use libtool instead).
I've converted a few that I've seen over the years.


Home | Main Index | Thread Index | Old Index