From owner-freebsd-questions@FreeBSD.ORG Sun Apr 15 03:39:17 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 6748716A402 for ; Sun, 15 Apr 2007 03:39:17 +0000 (UTC) (envelope-from af300wsm@gmail.com) Received: from an-out-0708.google.com (an-out-0708.google.com [209.85.132.240]) by mx1.freebsd.org (Postfix) with ESMTP id 264A913C45B for ; Sun, 15 Apr 2007 03:39:17 +0000 (UTC) (envelope-from af300wsm@gmail.com) Received: by an-out-0708.google.com with SMTP id c24so1371938ana for ; Sat, 14 Apr 2007 20:39:16 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type; b=sptDKnmM51GkKxUeo/0QhAuGCcz4DJ4uAf51/NxUZBcf0MF5BToWzn0t/1QM054XC4o0/6tJe0D6LmQWCCGOqPnEBbLCFVYVjXLlZKHvveExNwMFE0eAyZzySDrJ8+vbtdt8oARKJlvheqq4luHAUUWt0ltlFUmWnzclYTOXRuA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:mime-version:content-type; b=b8RudUFBQhIDcNXDV77mDx/A88ycHRR1J1HwxO3gHHVMdDazzOU43O2jFwch/rKnyo+JdloRH3j7eczEwRQCRRJLk/8cY/QQxYaWgKPLlN+ukFGq/727zupxMKAm2eSKFIZmubV0FI1lNpGVCExGlMKEXXxDPBrCK787Nfu2UzE= Received: by 10.100.93.5 with SMTP id q5mr3571353anb.1176608356490; Sat, 14 Apr 2007 20:39:16 -0700 (PDT) Received: by 10.101.70.6 with HTTP; Sat, 14 Apr 2007 20:39:16 -0700 (PDT) Message-ID: <340a29540704142039i789b97d6md2c4113b53acdba6@mail.gmail.com> Date: Sat, 14 Apr 2007 21:39:16 -0600 From: "Andrew Falanga" To: freebsd-questions MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: 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:39:17 -0000 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