Quoting Pav Lucistnik <p...@freebsd.org> (from Fri, 17 Feb 2012 13:34:32 +0100):

On 2012/02/17 03: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?)

Only sure way to find out would be to run ldd on every binary in every package.

/usr/ports/Tools/scripts/explicit_lib_depends.sh looks which libs are recorded as directly required for each binary in an installed port and calculates a LIB_DEPENDS based upon this.

When I wanted to change the LIB_DEPENDS to match the output, I was told, that the LIB_DEPENDS wass correct, and the it is a bug (in libtool, pkg-config and similar ways of obtaining the libs) that additional libs are recorded there.

Bye,
Alexander.

--
Commoner's three laws of ecology:
        1) No action is without side-effects.
        2) Nothing ever goes away.
        3) There is no free lunch.

http://www.Leidinger.net    Alexander @ Leidinger.net: PGP ID = B0063FE7
http://www.FreeBSD.org       netchild @ FreeBSD.org  : PGP ID = 72077137

_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscr...@freebsd.org"

Reply via email to