gvim GUI cannot be used

Roland Smith rsmith at xs4all.nl
Fri Jul 5 22:32:01 UTC 2013


On Fri, Jul 05, 2013 at 05:41:11PM +0200, Raphael Ahrens wrote:
> Ahh, thank you.
> kentn at kpa.biglobe.ne.jp wrote on Sat, 06.Jul.13 00:03:
> > Hi,
> > 
> > On Fri, 5 Jul 2013 14:11:41 +0200
> > Raphael Ahrens <tant.sinnister at googlemail.com> wrote:
> > 
> > > When I execute "cd /usr/ports/editors/vim; make config" I get
> > > 	===> No options to configure
> > 
> > try: setenv WITH_OPTIONS=yes
> that did the trick, but I assume this is not the way it is supposed
> to happen.

The port maintainer has made it so, for reasons unknown. This is a marked 
deviation from basically all other ports; the vim port is the only port 
that uses WITH_OPTIONS.

The switch was dropped in r314778 of the ports tree:
http://svnweb.freebsd.org/ports/head/editors/vim/Makefile?revision=314778&view=markup
but it was brought back in r322016:
http://svnweb.freebsd.org/ports/head/editors/vim/Makefile?revision=322016&view=markup

I ran into the same issue because I installed vim when WITH_OPTIONS was
absent.

The best way to get around this issue once and for all is to add the 
following to /etc/make.conf:

----- /etc/make.conf excerpt -----
.if ${.CURDIR:M*/editors/vim}
WITH_OPTIONS=YES
.endif
----- /etc/make.conf excerpt -----

Roland
-- 
R.F.Smith                                   http://rsmith.home.xs4all.nl/
[plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated]
pgp: 1A2B 477F 9970 BA3C 2914  B7CE 1277 EFB0 C321 A725 (KeyID: C321A725)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20130706/c3880202/attachment.sig>


More information about the freebsd-questions mailing list