Page MenuHomeFreeBSD

sanity: warn about unnused LIB_DEPENDS entries
Needs ReviewPublic

Authored by tcberner on Sat, Nov 21, 9:57 AM.

Details

Reviewers
mat
Group Reviewers
portmgr
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

Lint
No Linters Available
Unit
No Unit Test Coverage
Build Status
Buildable 34943
Build 31955: arc lint + arc unit

Event Timeline

tcberner created this revision.