On 1 April 2012 17:53, Lev Serebryakov <l...@freebsd.org> wrote:
> Hello, Julien.
> You wrote 1 апреля 2012 г., 17:04:06:
>
>>>    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 ?
>  It works, but here are other problem: if iconv or gettext or
> something like this are used, they added after all libs anyway :(

Well, don't iconv and gettext require it?  In that case it needs
registering.  Otherwise iconv and gettext should have their deps
fixed....

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"

Reply via email to