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

Lev Serebryakov lev at FreeBSD.org
Sun Apr 1 12:58:49 UTC 2012


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?


-- 
// Black Lion AKA Lev Serebryakov <lev at FreeBSD.org>



More information about the freebsd-ports mailing list