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, Dec 15, 7:05 PM
Unknown Object (File)
Nov 21 2025, 12:46 AM
Unknown Object (File)
Nov 21 2025, 12:39 AM
Unknown Object (File)
Nov 21 2025, 12:39 AM
Unknown Object (File)
Nov 21 2025, 12:39 AM
Unknown Object (File)
Nov 20 2025, 5:54 AM
Unknown Object (File)
Nov 15 2025, 11:55 PM
Unknown Object (File)
Nov 13 2025, 6:24 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