Created attachment 223243 [details] v1 - libepoll-shim is used by libwayland-server instead - glib20 is implicitly added by pango and only used to free pango stuff
Created attachment 223244 [details] poudriere testport
Submitter is committer
lgtm. Is there some tooling to detect such unneeded dependencies?
A commit references this bug: Author: jbeich Date: Tue Mar 16 16:35:28 UTC 2021 New revision: 568580 URL: https://svnweb.freebsd.org/changeset/ports/568580 Log: x11-wm/hikari: drop unused dependencies - libepoll-shim is used by graphics/wayland instead - glib20 is auto-added via USE_GNOME due to being part of pango API PR: 254264 Approved by: Alexander Sieg (maintainer) Changes: head/x11-wm/hikari/Makefile
(In reply to Alexander Sieg from comment #3) > Is there some tooling to detect such unneeded dependencies? I don't think so, only noticed during devel/libepoll-shim update when testing consumers. One can compare NEEDED lines in poudriere logs, enable DEVELOPER=1 then re-populate deps from scratch and check LDFLAGS+=-Wl,--as-needed impact.