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)
Fri, May 22, 10:04 AM
Unknown Object (File)
Thu, May 21, 6:59 PM
Unknown Object (File)
Thu, May 14, 6:15 AM
Unknown Object (File)
Wed, May 13, 7:52 AM
Unknown Object (File)
Wed, May 6, 11:59 PM
Unknown Object (File)
Fri, May 1, 12:29 PM
Unknown Object (File)
Wed, Apr 29, 12:27 PM
Unknown Object (File)
Apr 25 2026, 8:43 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