From owner-freebsd-ports@FreeBSD.ORG Thu Sep 13 15:55:52 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 441B316A41A for ; Thu, 13 Sep 2007 15:55:52 +0000 (UTC) (envelope-from carpetsmoker@rwxrwxrwx.net) Received: from mail.rwxrwxrwx.net (rwxrwxrwx.net [82.93.23.199]) by mx1.freebsd.org (Postfix) with ESMTP id ABB0E13C46C for ; Thu, 13 Sep 2007 15:55:51 +0000 (UTC) (envelope-from carpetsmoker@rwxrwxrwx.net) Received: by mail.rwxrwxrwx.net (Postfix, from userid 1001) id 51D206D47F; Thu, 13 Sep 2007 18:00:02 +0200 (CEST) Date: Thu, 13 Sep 2007 18:00:02 +0200 From: Martin Tournoij To: freebsd-ports@freebsd.org Message-ID: <20070913160001.GB49054@glitch.rwxrwxrwx.net> Mail-Followup-To: freebsd-ports@freebsd.org, Gergely_Santa@tempest.sk, obrien@FreeBSD.org References: <46E92692.7020202@tempest.sk> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable In-Reply-To: <46E92692.7020202@tempest.sk> User-Agent: mutt-ng/devel-r804 (FreeBSD) Cc: Gergely_Santa@tempest.sk, obrien@FreeBSD.org Subject: Re: configure editors/vim X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 13 Sep 2007 15:55:52 -0000 On Thu 13 Sep 2007 14:09, Gergely S=EF=BF=BDnta wrote: > Hi! > I'm a developer using gvim with it's tagging through exctags (somehow cta= gs never worked for me). As vim=20 > port have no configuration options, it can't be configured easyly through= 'make config'. I'm too lazy for=20 > digging Makefile for options every time I compile new version of vim, I a= dded configuration options to=20 > 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=20 > Makefile, but maybe they should be there. Anyway, I attach my change, may= be it will be acceptable to have=20 > it's way to ports. And if not, maybe it will help for someone else too :) >=20 > EdE >=20 >=20 > [root@ed /usr/ports/editors/vim]# diff -u Makefile.orig Makefile > --- Makefile.orig Thu Sep 13 13:52:20 2007 > +++ Makefile Thu Sep 13 13:52:27 2007 > @@ -29,6 +29,17 @@ >=20 > SLAVEDIRS=3D editors/vim-lite >=20 > +OPTIONS=3D 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 > + > .if defined(PACKAGE_BUILDING) && !defined(LITE) > #WITH_TCL=3D yes > WITH_PERL=3D yes You should send these kind of questions/suggestions to the port maintainer, not to the ports mailing list. I've cc-ed the port maintainer in this email. Some general tips on port knobs: You can use: grep WITH Makefile To get a list of knobs, which is easier than viewing the Makfile with less. You can use /etc/make.conf to specify default port knobs, here's my vim configuration in /etc/make.conf: =2Eif ${.CURDIR:M*/editors/vim} WITHOUT_X11=3D yes NO_GUI=3D yes =2Eif exists(/phong) WITH_PERL=3D yes WITH_PYTHON=3D yes WITH_CSCOPE=3D yes =2Eelif exists(/glitch) WITHOUT_PERL=3D yes =2Eendif =2Eendif The files /glitch and /phong are used to identify which machine we're running on, and adjust the knobs accordingly. Regards, Martin Tournoij