Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 1 Apr 2012 20:53:58 +0400
From:      Lev Serebryakov <lev@FreeBSD.org>
To:        Julien Laffaye <jlaffaye@freebsd.org>
Cc:        ports@freebsd.org, lev@FreeBSD.org
Subject:   Re: BUILD_DEPENDS and libraries -- how to express build-time-only dependency on library?
Message-ID:  <498407961.20120401205358@serebryakov.spb.ru>
In-Reply-To: <4F785246.60804@freebsd.org>
References:  <792848519.20120401165840@serebryakov.spb.ru> <4F785246.60804@freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Hello, Julien.
You wrote 1 =E0=EF=F0=E5=EB=FF 2012 =E3., 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=3D${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 :(

--=20
// Black Lion AKA Lev Serebryakov <lev@FreeBSD.org>




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?498407961.20120401205358>