Created attachment 227808 [details] Patch for Makefile If flavors tiny or console are used you expect that no X is involved. Unfortunately, the port does not properly handle that: * The configure option says: > --enable-gui=OPTS X11 GUI. default=auto OPTS=auto/no/gtk2/gnome2/gtk3/motif/athena/neXtaw/haiku/photon/carbon So it is still X11 * If you have X11 installed, e.g., for Wireshark, it will still link with X11 no matter what To make is truly tiny/console you MUST pass --without-x. Attached is a patch which addresses this for tiny and console for me.
Good catch!
(In reply to Adam Weinberger from comment #1) Thanks looking forward to a commit. Hopefully before the next quarterly branch.
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=ed60959f8da5f8f2820993b3fa6761c501d2f59b commit ed60959f8da5f8f2820993b3fa6761c501d2f59b Author: Michael Osipov <michael.osipov@siemens.com> AuthorDate: 2021-09-18 23:50:28 +0000 Commit: Adam Weinberger <adamw@FreeBSD.org> CommitDate: 2021-09-18 23:51:58 +0000 editors/git: Explicitly disable X for console Builds PR: 258407 editors/vim/Makefile | 2 ++ 1 file changed, 2 insertions(+)
Committed. Thanks!