[Bug 258632] misc/mc: X11 is not properly unset when disabled

From: <bugzilla-noreply_at_freebsd.org>
Date: Mon, 20 Sep 2021 14:44:10 UTC

            Bug ID: 258632
           Summary: misc/mc: X11 is not properly unset when disabled
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: danfe@FreeBSD.org
          Reporter: michael.osipov@siemens.com
          Assignee: danfe@FreeBSD.org
             Flags: maintainer-feedback?(danfe@FreeBSD.org)

The Makfile like 69 configures:

This is, unfortunately, useless because the configure script says: --with-x.
Therefore, the Makefile passes --enable-x/--disable-x which remains without any
effect. X will be autodetected even if you have (pseudo-)disabled it.

The fix is simple and works for me:

and that's it.

I have reported the same for vim in Bug 258407.

Without this fix and X11 explicitly disabled PuTTY session still tells me:
> PuTTY X11 proxy: unable to connect to forwarded X server: Network error: Connection refused

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