ports/149042: vim with options everytime
David DEMELIER
demelier.david at gmail.com
Wed Jul 28 17:50:04 UTC 2010
>Number: 149042
>Category: ports
>Synopsis: vim with options everytime
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Wed Jul 28 17:50:03 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator: David DEMELIER
>Release: 8.1-RELEASE
>Organization:
malikania
>Environment:
FreeBSD Melon.malikania.fr 8.1-RELEASE FreeBSD 8.1-RELEASE #1: Sun Jul 25 00:21:16 CEST 2010 root at Melon.malikania.fr:/usr/obj/usr/src/sys/Melon amd64
>Description:
I was always sad to use portconf or any knob to configure vim. I saw that a variable WITH_OPTIONS or WITH_VIM_OPTIONS exist but I think this is useless and we should keep it simple and simple and use the great and perfect options framework.
>How-To-Repeat:
cd /usr/ports/editors/vim && make config
>Fix:
--- Makefile.orig 2010-07-28 19:37:02.000000000 +0200
+++ Makefile 2010-07-28 19:37:41.000000000 +0200
@@ -34,9 +34,23 @@
SLAVEDIRS= editors/vim-lite
-.if defined(WITH_OPTIONS) || defined(WITH_VIM_OPTIONS)
-.include "${.CURDIR}/../vim/options"
-.endif
+OPTIONS= PERL "Enable Perl interpreter" off \
+ PYTHON "Enable Python interpreter" off \
+ RUBY "Enable Ruby interpreter" off \
+ TCL "Enable TCL interpreter" off \
+ LANG "VIm Translations" off \
+ CSCOPE "Enable cscope" off \
+ EXUBERANT_CTAGS "Use exctags instead of ctags" off \
+ X11 "X11 support (required for options below)" off \
+ X11_ONLY "CLI-only Vim, but with basic X11 support" off \
+ XTERM_SAVE "Restore xterm screen after exit" off \
+ ATHENA "Athena GUI" off \
+ GTK "GTK+ 1.2 GUI" off \
+ GTK2 "GTK2 GUI" off \
+ GNOME "Gnome1 GUI" off \
+ MOTIF "Motif GUI" off \
+
+.include <bsd.port.options.mk>
CONFLICTS= vim6* vim*-lite
MAKE_JOBS_UNSAFE= yes
--- options 2010-07-28 19:35:08.000000000 +0200
+++ /dev/null 2010-07-28 19:38:41.000000000 +0200
@@ -1,15 +0,0 @@
-OPTIONS= PERL "Enable Perl interpreter" off \
- PYTHON "Enable Python interpreter" off \
- RUBY "Enable Ruby interpreter" off \
- TCL "Enable TCL interpreter" off \
- LANG "VIm Translations" off \
- CSCOPE "Enable cscope" off \
- EXUBERANT_CTAGS "Use exctags instead of ctags" off \
- X11 "X11 support (required for options below)" off \
- X11_ONLY "CLI-only Vim, but with basic X11 support" off \
- XTERM_SAVE "Restore xterm screen after exit" off \
- ATHENA "Athena GUI" off \
- GTK "GTK+ 1.2 GUI" off \
- GTK2 "GTK2 GUI" off \
- GNOME "Gnome1 GUI" off \
- MOTIF "Motif GUI" off \
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list