From owner-freebsd-questions@FreeBSD.ORG Sun Apr 15 03:47:52 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id C2B5316A400 for ; Sun, 15 Apr 2007 03:47:52 +0000 (UTC) (envelope-from youshi10@u.washington.edu) Received: from mxout1.cac.washington.edu (mxout1.cac.washington.edu [140.142.32.134]) by mx1.freebsd.org (Postfix) with ESMTP id A002C13C4B0 for ; Sun, 15 Apr 2007 03:47:52 +0000 (UTC) (envelope-from youshi10@u.washington.edu) Received: from smtp.washington.edu (smtp.washington.edu [140.142.33.9] (may be forged)) by mxout1.cac.washington.edu (8.13.7+UW06.06/8.13.7+UW07.03) with ESMTP id l3F3lq8I006213 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Sat, 14 Apr 2007 20:47:52 -0700 X-Auth-Received: from [192.168.10.45] (c-24-7-142-221.hsd1.ca.comcast.net [24.7.142.221]) (authenticated authid=youshi10) by smtp.washington.edu (8.13.7+UW06.06/8.13.7+UW07.03) with ESMTP id l3F3lpms004578 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Sat, 14 Apr 2007 20:47:51 -0700 Message-ID: <4621A082.7060808@u.washington.edu> Date: Sat, 14 Apr 2007 20:48:18 -0700 From: Garrett Cooper User-Agent: Thunderbird 1.5.0.10 (Windows/20070221) MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <340a29540704142039i789b97d6md2c4113b53acdba6@mail.gmail.com> In-Reply-To: <340a29540704142039i789b97d6md2c4113b53acdba6@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-PMX-Version: 5.3.0.289146, Antispam-Engine: 2.5.0.283055, Antispam-Data: 2007.4.14.203734 X-Uwash-Spam: Gauge=IIIIIII, Probability=7%, Report='__CT 0, __CTE 0, __CT_TEXT_PLAIN 0, __HAS_MSGID 0, __MIME_TEXT_ONLY 0, __MIME_VERSION 0, __SANE_MSGID 0, __USER_AGENT 0' Subject: Re: Recompiling the vim port for gui capability X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 15 Apr 2007 03:47:52 -0000 Andrew Falanga wrote: > Hi, > > I recently updated some of my ports (due to the fact that I now have a > high > speed connection to the Internet at home). One of the ports I updated > was > vim. I used portupgrade -r and let it do its thing. All > went well, but now gvim no longer exists. When I was try to execute > it, I > get, "E25: GUI cannot be used: Not enabled at compile time". I've > built vim > at work simply from the source code from vim.org and I know how to > build for > GUI support. However, I'm not very familiar with the BSD make or the > ports > making process and couldn't find a clean way of defining, or in this case > preventing the definition of, > > .if defined(NO_GUI) > WITHOUT_X11= yes > .endif > > I took this from /usr/ports/editors/vim/Makefile. How do I manipulate > the > ports build process to recompile vim with GUI support? I would rather > use > vim/gvim than any other editor and without GUI support, it's quite lame. > > By the way, after reading the response to my post about how to get > portupgrade back, I went to look through the /usr/ports/UPGRADING file > for > vim notes. However, the only thing I found concerning vim was > something to > with vim-part, or something similar to that, with respect to the KDE > distribution. There was nothing about the actual VIM port. Oh, nearly > forgot, before this, I had vim 6.x installed from ports. I did have > the GUI > version before hand. > > Thanks, > Andy Andy, If you use the editors/vim port and not editors/vim-lite, this should be enabled by default. If not, then you should talk to the port maintainer. -Garrett