Date: Mon, 13 Jun 2011 17:00:18 GMT From: Eir Nym <eirnym@gmail.com> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/157845: editors/vim lacks python and other features when using WITH_VIM_OPTIONS Message-ID: <201106131700.p5DH0IwC034204@red.freebsd.org> Resent-Message-ID: <201106131710.p5DHA8LV033703@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 157845 >Category: ports >Synopsis: editors/vim lacks python and other features when using WITH_VIM_OPTIONS >Confidential: no >Severity: serious >Priority: high >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Mon Jun 13 17:10:08 UTC 2011 >Closed-Date: >Last-Modified: >Originator: Eir Nym >Release: FreeBSD 9.0-CURRENT r222913 >Organization: Private Person >Environment: # ex:ts=8 # Ports collection makefile for: vim # Date created: Sat June 29, 1996 # Whom: David O'Brien (obrien@cs.ucdavis.edu) # # $FreeBSD: ports/editors/vim/Makefile,v 1.383 2011/02/28 18:07:35 obrien Exp $ # >Description: When I compile vim(1) with options, it will be built with another options. For example, I have WITHOUT_NLS and WITH_VIM_OPTIONS in my make.conf(5), and setted options according following configuration, no Python support will be in vim(1): # make show-options ===> The following configuration options are available for vim-7.3.121: PERL=on "Enable Perl interpreter" PYTHON=on "Enable Python interpreter" RUBY=on "Enable Ruby interpreter" TCL=on "Enable TCL interpreter" LUA=off "Enable lua interpreter" LANG=on "VIm Translations" CSCOPE=on "Enable cscope" EXUBERANT_CTAGS=on "Use exctags instead of ctags" X11=off "X11 support (required for options below)" X11_ONLY=off "CLI-only Vim, but with basic X11 support" XTERM_SAVE=off "Restore xterm screen after exit" ATHENA=off "Athena GUI" GTK2=off "GTK2 GUI" GNOME2=off "Gnome2 GUI" MOTIF=off "Motif GUI" ===> Use 'make config' to modify these settings # make -V MAKE_ARGS CONF_ARGS="--prefix=/usr/local --with-tlib=termlib " CONF_OPT_FEAT="--with-features=big" CONF_OPT_CSCOPE="--enable-cscope" CONF_OPT_PERL="--enable-perlinterp" CONF_OPT_TCL="--enable-tclinterp --with-tclsh=""" CONF_OPT_GUI="--enable-gui=no --without-x" CONF_OPT_MULTIBYTE="--enable-multibyte --enable-fontset --enable-xim" >How-To-Repeat: # echo WITH_VIM_OPTIONS=yes >> /etc/make.conf # cd /usr/ports/editors/vim && make config # make -V MAKE_ARGS >Fix: Apply following patch and you can see correct MAKE_ARGS and dependencies: #make -V MAKE_ARGS CONF_ARGS="--prefix=/usr/local --with-tlib=termlib " CONF_OPT_PYTHON="--enable-pythoninterp" CONF_OPT_RUBY="--enable-rubyinterp" CONF_OPT_FEAT="--with-features=big" CONF_OPT_CSCOPE="--enable-cscope" CONF_OPT_PERL="--enable-perlinterp" CONF_OPT_TCL="--enable-tclinterp --with-tclsh="tclsh8.5"" CONF_OPT_GUI="--enable-gui=no --without-x" CONF_OPT_MULTIBYTE="--enable-multibyte --enable-fontset --enable-xim" Patch attached with submission follows: --- Makefile.orig 2011-06-13 12:17:45.702881200 +0000 +++ Makefile 2011-06-13 12:16:47.812881766 +0000 @@ -53,6 +53,7 @@ PLIST_SUB= VIM_VER=${_DATADIR} MAN1= evim.1 vim.1 vimdiff.1 vimtutor.1 xxd.1 MLINKS= vim.1 rvim.1 vim.1 rview.1 +.include <bsd.port.options.mk> .if !defined(LITE) MLINKS+= vim.1 gvim.1 vim.1 gview.1 vimdiff.1 gvimdiff.1 \ vim.1 rgvim.1 vim.1 rgview.1 evim.1 eview.1 >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201106131700.p5DH0IwC034204>