On 1 April 2012 14:04, Julien Laffaye <jlaff...@freebsd.org> wrote: > 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 ?
By the way, using LIB_DEPENDS is wrong for depending on static libraries anyway; LIB_DEPENDS uses ldconfig to check for them, which is for dynamic linking. Chris _______________________________________________ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"