[Bug 258407] editors/vim: vim@console and vim@tiny is not truly console/tiny

From: <bugzilla-noreply_at_freebsd.org>
Date: Fri, 10 Sep 2021 15:48:36 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=258407

            Bug ID: 258407
           Summary: editors/vim: vim@console and vim@tiny is not truly
                    console/tiny
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: adamw@FreeBSD.org
          Reporter: michael.osipov@siemens.com
             Flags: maintainer-feedback?(adamw@FreeBSD.org)
          Assignee: adamw@FreeBSD.org

Created attachment 227808
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=227808&action=edit
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.

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