#17606: Default variant of vim doesn't build due to X11 dependency --------------------------------------+------------------------------------- Reporter: pgijnxn02@… | Owner: raimue@… Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.7.0 Keywords: Xsetlocale X11 | Port: vim --------------------------------------+------------------------------------- Comment(by messi@…): Replying to [comment:6 raimue@…]:
Replying to [comment:5 messi@…]:
This problem comes with `--enable-multibyte`. Replacing it with `--disable-multibyte` also fixes the problem. No libX11 needed.
Thanks for tracking this down. Strange enough that multibyte support needs X. How should I change this? Should I move multibyte in its own variant, as it was until some time ago? Good question. I think you should take a look at `./src/auto/configure:15458` first. When you allow `--enable-multibyte` to be set (globally or by variant) you should make sure that `$x_includes` is empty if X11 is not installed. Otherwise `configure` tries to link the check program against libX11.
-- Ticket URL: <http://trac.macports.org/ticket/17606#comment:7> MacPorts <http://www.macports.org/> Ports system for Mac OS