On Thu 13 Sep 2007 14:09, Gergely S�nta wrote: > Hi! > I'm a developer using gvim with it's tagging through exctags (somehow ctags > never worked for me). 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 :) > > EdE > > > [EMAIL PROTECTED] /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 @@ > > SLAVEDIRS= editors/vim-lite > > +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 > + > .if defined(PACKAGE_BUILDING) && !defined(LITE) > #WITH_TCL= yes > WITH_PERL= 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: .if ${.CURDIR:M*/editors/vim} WITHOUT_X11= yes NO_GUI= yes .if exists(/phong) WITH_PERL= yes WITH_PYTHON= yes WITH_CSCOPE= yes .elif exists(/glitch) WITHOUT_PERL= yes .endif .endif The files /glitch and /phong are used to identify which machine we're running on, and adjust the knobs accordingly. Regards, Martin Tournoij _______________________________________________ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "[EMAIL PROTECTED]"