How to recompile the VIM port for GUI

Andrew Falanga af300wsm at gmail.com
Fri May 11 19:01:45 UTC 2007


On 5/11/07, RW <fbsd06 at mlists.homeunix.com> wrote:
> On Fri, 11 May 2007 07:48:16 -0600
> "Andrew Falanga" <af300wsm at gmail.com> wrote:
>
> > On 5/11/07, Pietro Cerutti <gahr at gahr.ch> wrote:
> > > Andrew Falanga wrote:
> > > > Hi,
> > > Hello,
> > > > So, how do I modify the build environment properly to allow for
> > > > the building of the GUI?  There are several variables referenced
> > > > in the Makefile in /usr/ports/editors/vim, but I'm not sure what
> > > > to make of them.
> > >
> > > cd /usr/ports/editors/vim
> > > make WITH_GTK2=yes
> > > make install
> > >
> >
> > Thanks, I'll give that a try tonight.
>
>
> I don't think this should be needed. Setting WITH_GTK2=yes makes it
> use gtk 2.x instead of gtk 1.x. I have it working and up-to-date with
> the latter.
>
> Check that you don't have NO_GUI or WITHOUT_X11 defined somewhere.

I saw both of those in the make file.  Would I want to do the same
thing as was suggested above, but with those variables; e.g. make
NO_GUI=no?

It's for this reason that I asked about this here.  Where would they
be defined?  All I did, if I recall, was install the vim port from
using sysinstall when I originally installed FreeBSD.  After that, I
installed cvsup-without-gui, updated my ports tree and then used
portupgrade to upgrade the vim port (after installing portupgrade of
course).  I didn't actually define NO_GUI or WITHOUT_X11 anywhere when
I originally did the install, and when I had originally installed the
vim port it did work with the GUI.

Andy


More information about the freebsd-questions mailing list