How to recompile the VIM port for GUI

RW fbsd06 at mlists.homeunix.com
Fri May 11 20:13:14 UTC 2007


On Fri, 11 May 2007 13:01:39 -0600
"Andrew Falanga" <af300wsm at gmail.com> wrote:

> 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?

Don't do that. 

I'm wondering if this is due to the prefix change. Look at the output
of:

   pkg_info -px "^gtk-"

If you don't see 

        CWD to /usr/local

for your GTK ports, you'll need the rebuild some stuff:

  pkgdb -Ff
  portupgrade -rf pkg-config\*



More information about the freebsd-questions mailing list