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)
Sun, May 5, 11:46 PM
Unknown Object (File)
Sun, Apr 21, 7:16 PM
Unknown Object (File)
Apr 3 2024, 2:57 PM
Unknown Object (File)
Apr 3 2024, 2:57 PM
Unknown Object (File)
Apr 3 2024, 2:57 PM
Unknown Object (File)
Apr 3 2024, 1:48 PM
Unknown Object (File)
Mar 28 2024, 11:54 AM
Unknown Object (File)
Mar 18 2024, 8:19 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