From owner-freebsd-ports@FreeBSD.ORG Sat Sep 15 02:13:27 2007 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3A46A16A419 for ; Sat, 15 Sep 2007 02:13:27 +0000 (UTC) (envelope-from obrien@NUXI.org) Received: from dragon.nuxi.org (trang.nuxi.org [74.95.12.85]) by mx1.freebsd.org (Postfix) with ESMTP id D3B8413C459 for ; Sat, 15 Sep 2007 02:13:26 +0000 (UTC) (envelope-from obrien@NUXI.org) Received: from dragon.nuxi.org (obrien@localhost [127.0.0.1]) by dragon.nuxi.org (8.14.1/8.14.1) with ESMTP id l8F27k5J020140; Fri, 14 Sep 2007 19:07:46 -0700 (PDT) (envelope-from obrien@dragon.nuxi.org) Received: (from obrien@localhost) by dragon.nuxi.org (8.14.1/8.14.1/Submit) id l8F27kNr020139; Fri, 14 Sep 2007 19:07:46 -0700 (PDT) (envelope-from obrien) Date: Fri, 14 Sep 2007 19:07:46 -0700 From: "David O'Brien" To: freebsd-ports@freebsd.org, Gergely_Santa@tempest.sk Message-ID: <20070915020746.GA20080@dragon.NUXI.org> References: <46E92692.7020202@tempest.sk> <20070913160001.GB49054@glitch.rwxrwxrwx.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20070913160001.GB49054@glitch.rwxrwxrwx.net> X-Operating-System: FreeBSD 7.0-CURRENT Organization: The NUXI BSD Group X-Pgp-Rsa-Fingerprint: B7 4D 3E E9 11 39 5F A3 90 76 5D 69 58 D9 98 7A X-Pgp-Rsa-Keyid: 1024/34F9F9D5 User-Agent: Mutt/1.5.11 Cc: Subject: Re: configure editors/vim X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: obrien@freebsd.org List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 15 Sep 2007 02:13:27 -0000 On Thu, Sep 13, 2007 at 06:00:02PM +0200, Martin Tournoij wrote: > > As vim port have no configuration options, it can't be configured > > easyly through 'make config'. I'm too lazy for digging Makefile for > > options every time I compile new version of vim, I added > > configuration options to Makefile. I'm new to FreeBSD, also to it's > > Ports, so maybe I don't see the reasons, these options aren't in the > > Makefile, but maybe they should be there. Anyway, I attach my > > change, maybe it will be acceptable to have it's way to ports. And if > > not, maybe it will help for someone else too :) Hum.. if there is some demand for OPTIONS feature, what do folks think about this patch? Brownie ports for someone that can explain why this always happens for me with ports that have OPTIONS: bash$ make cd /usr/ports/editors/vim && make config; ===> Switching to root credentials to create /var/db/ports/vim Password: ===> Returning to user credentials [3]+ Stopped WITH_OPTIONS=1 make Index: Makefile =================================================================== RCS file: /home/pcvs/ports/editors/vim/Makefile,v retrieving revision 1.305 diff -u -p -r1.305 Makefile --- Makefile 11 Sep 2007 19:22:31 -0000 1.305 +++ Makefile 15 Sep 2007 02:05:41 -0000 @@ -29,6 +29,10 @@ COMMENT?= Vi "workalike", with many addi SLAVEDIRS= editors/vim-lite +.if defined(WITH_OPTIONS) || defined(WITH_VIM_OPTIONS) +.include "${.CURDIR}/options" +.endif + .if defined(PACKAGE_BUILDING) && !defined(LITE) #WITH_TCL= yes WITH_PERL= yes Index: options =================================================================== RCS file: options diff -N options --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ options 15 Sep 2007 02:05:41 -0000 @@ -0,0 +1,10 @@ +OPTIONS= PERL "Enable Perl interpreter" off \ + PYTHON "Enable Python interpreter" off \ + RUBY "Enable Ruby interpreter" off \ + CSCOPE "Enable cscope" off \ + EXUBERANT_CTAGS "Use exctags instead of ctags" off \ + ATHENA "Athena GUI" off \ + GTK2 "GTK2 GUI" off \ + GNOME "Gnome1 GUI" off \ + MOTIF "Motif GUI" off \ + XTERM_SAVE "" off