Date: Tue, 14 Sep 2004 15:21:18 +0200 From: Volker Stolz <vs@freebsd.org> To: freebsd-ports@freebsd.org Cc: Sergei Kolobov <sergei@freebsd.org> Subject: Re: Depending on a static library Message-ID: <20040914132118.GA63716@i2.informatik.rwth-aachen.de> In-Reply-To: <20040914112303.GA55752@elendil.ru> References: <20040914093252.GB799@garak.epita.fr> <20040914112303.GA55752@elendil.ru>
next in thread | previous in thread | raw e-mail | index | archive | help
In gmane.os.freebsd.devel.ports, you wrote: >> I'm truly convinced this is possible, but the Porter's handbook does not >> say anything about it. The only way I found is using the DEPENDS statement, >> but if I understood correctly while reading bsd.port.mk, this is not a >> conditional inclusion, it simply make a target in the specified directory. >> Is there any clean way to achieve this ? > > BUILD_DEPENDS= ${LOCALBASE}/lib/libbg.a:${PORTSDIR}/devel/bglibs \ > ${LOCALBASE}/lib/libcvm-client.a:${PORTSDIR}/security/cvm That's right. Just to state the obvious: There's no way of making sure you get the "correct version" of a static library since there's neither the notion of versioning them nor does the ports infrastructure provide an alternative. Volker -- http://www-i2.informatik.rwth-aachen.de/stolz/ *** PGP *** S/MIME Two more month.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040914132118.GA63716>