BUILD_DEPENDS and libraries -- how to express build-time-only dependency on library?

Julien Laffaye jlaffaye at freebsd.org
Sun Apr 1 13:04:02 UTC 2012


On 4/1/2012 2:58 PM, Lev Serebryakov wrote:
> Hello, Ports.
>
>    In case of static build of ported program, port need to have
> BUILD_DEPENDS on libraries. LIB_DEPENDS is not suitable here, because
> inc ase of static linkage, there will no dependency on livbrary in
> runtime.
>    But BUILD_DEPENDS search for files at absolute pathname or for
> executables.
>    Is it possible to express build-time-only dependency on library?
>
>
BUILD_DEPENDS=${LOCALBASE}/lib/libfoo.a:${PORTSDIR}/foo/libfoo ?


More information about the freebsd-ports mailing list