On 17/02/2012 02:22, Stephen Montgomery-Smith wrote:
> Also, is there an effective and foolproof method to calculating all the
> LIB_DEPENDS?  (Remembering that some of the LIB_DEPENDS may depend on
> optional settings, and these all need to be considered?)

My p5-FreeBSD-Portindex can generate a shlib index -- all of the
LIB_DEPENDS for a port, and the LIB_DEPENDS or the LIB_DEPENDS and so on
recursively.  This will take account of your current options settings only.

Unfortunately, while having a LIB_DEPENDS chain like that is a first
step, it isn't accurate: there exist ports where there is a LIB_DEPENDS
chain, but no actual dependency on the shlib in question.  There are
also ports without a LIB_DEPENDS chain that will depend on the library
in question.

        Cheers,

        Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.
PGP: http://www.infracaninophile.co.uk/pgpkey


Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to