[Bug 295353] ports-mgmt/pkg: does not show a dependency for a package, but removing it wants to remove many others; autoremove trying to remove a manually installed package

From: <bugzilla-noreply_at_freebsd.org>
Date: Sun, 17 May 2026 14:58:32 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=295353

--- Comment #5 from Martin Birgmeier <d8zNeCFG@aon.at> ---
(In reply to Baptiste Daroussin from comment #4)

Thank you for reopening.

I believe that for consistency, %r[nov] should also include shlib dependencies.

Also, autoremove must never propose to remove a port not marked as auto.

The issue surfaced because when using portmaster to upgrade ports, x11/libinput
was picking up gtk4 instead of gtk3 (meson.build is checking for both, with
gtk4 first), but only the gtk3 dependency is in libinput's Makefile as a
dependency.

-- Martin

-- 
You are receiving this mail because:
You are the assignee for the bug.