From owner-freebsd-ports-bugs@FreeBSD.ORG Mon Jun 13 17:10:08 2011 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9C5861065678 for ; Mon, 13 Jun 2011 17:10:08 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 79FC58FC14 for ; Mon, 13 Jun 2011 17:10:08 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id p5DHA8R2033704 for ; Mon, 13 Jun 2011 17:10:08 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id p5DHA8LV033703; Mon, 13 Jun 2011 17:10:08 GMT (envelope-from gnats) Resent-Date: Mon, 13 Jun 2011 17:10:08 GMT Resent-Message-Id: <201106131710.p5DHA8LV033703@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Eir Nym Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id ED5191065670 for ; Mon, 13 Jun 2011 17:00:18 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22]) by mx1.freebsd.org (Postfix) with ESMTP id 428B48FC08 for ; Mon, 13 Jun 2011 17:00:18 +0000 (UTC) Received: from red.freebsd.org (localhost [127.0.0.1]) by red.freebsd.org (8.14.4/8.14.4) with ESMTP id p5DH0IeR034205 for ; Mon, 13 Jun 2011 17:00:18 GMT (envelope-from nobody@red.freebsd.org) Received: (from nobody@localhost) by red.freebsd.org (8.14.4/8.14.4/Submit) id p5DH0IwC034204; Mon, 13 Jun 2011 17:00:18 GMT (envelope-from nobody) Message-Id: <201106131700.p5DH0IwC034204@red.freebsd.org> Date: Mon, 13 Jun 2011 17:00:18 GMT From: Eir Nym To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: ports/157845: editors/vim lacks python and other features when using WITH_VIM_OPTIONS X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 13 Jun 2011 17:10:08 -0000 >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 .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: