building editors/vim with GTK2 option

Joe Marcus Clarke marcus at marcuscom.com
Mon Jan 7 18:31:47 EST 2008


On Mon, 2008-01-07 at 17:36 -0500, Chess Griffin wrote:
> I can't seem to figure out how to build editors/vim with the GTK2 option
> enabled.  I first followed the 'Configuring port OPTIONS' in the
> readme and created a vim/options file with the following:
> 
> _OPTIONS_READ=vim-7.1.211
> WITH_GTK2=yes
> 
> but that didn't work.  Tinderbox built the regular vim with the GTK1
> interface.

Did you follow the rest of the instructions, and enable OPTIONS:

./tc configOptions -e -o /options

What is the output of:

./tc configOptions

> 
> So, I then used a hook to copy a custom make.conf over into the Build
> at the 'postBuildExtract' stage.  This make.conf only had
> WITH_GTK2=yes in it.  The file copied over correctly, but it caused
> vim to fail the build with an mtree error.  I can attach portions of
> the log if that would help.

Sounds like a port bug to me, but the log would definitely be helpful.
On the other hand, this may be an issue with the generated Makefile
being out of sync with the Build environment.  When the Makefile is
generated, the make.conf used will be the one in the Jail directory
(e.g. /space/jails/JAIL/make.conf).  If that file doesn't exist, or you
don't want to set your options there, then you need to use a .env file
(e.g. portstree.env, build.env, jail.env).

This might change.  It would probably make more sense for makemake to
check /space/build/BUILD/make.conf, but that's not how it works now.

> 
> I then tried to build it manually without tindered by specifying the
> -o option to ./tc addPort.  That did not work because the Vim
> Makefile uses a different options configuration.  Doing 'make config'
> with Vim doesn't do anything.  One needs to build it WITH_GTK2=yes or
> WITH_OPTIONS=yes in which case some ncurses options are presented.

Then simply creating an options file won't help.  Looks like the
make.conf approach is the way to go, but the port may be broken with
GTK2.

Joe

-- 
PGP Key : http://www.marcuscom.com/pgp.asc
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: This is a digitally signed message part
Url : http://marcuscom.com/pipermail/tinderbox-list/attachments/20080107/2b40f3cc/attachment.bin 


More information about the tinderbox-list mailing list