Page MenuHomeFreeBSD

sanity: warn about unnused LIB_DEPENDS entries
ClosedPublic

Authored by tcberner on Nov 21 2020, 9:57 AM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Oct 13, 6:37 AM
Unknown Object (File)
Sun, Oct 12, 3:00 PM
Unknown Object (File)
Thu, Oct 9, 11:53 AM
Unknown Object (File)
Tue, Oct 7, 12:06 AM
Unknown Object (File)
Thu, Oct 2, 4:55 PM
Unknown Object (File)
Wed, Oct 1, 4:34 PM
Unknown Object (File)
Thu, Sep 25, 10:59 AM
Unknown Object (File)
Sat, Sep 20, 4:46 AM
Subscribers

Details

Summary

This might be a bad idea, and certainly not a great implementation :) ...

stage-qa already warns about missing dependencies. However, it does not warn
about possibly unneeded ones.

This change tries to address this, by simply walking the list of linked against
shared libraries and then matching the entries of LIB_DEPENDS against them.

Diff Detail

Repository
R11 FreeBSD ports repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable