From nobody@FreeBSD.org  Wed Jul 28 17:42:40 2010
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 124BB106564A
	for <freebsd-gnats-submit@FreeBSD.org>; Wed, 28 Jul 2010 17:42:40 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21])
	by mx1.freebsd.org (Postfix) with ESMTP id DC1AA8FC1D
	for <freebsd-gnats-submit@FreeBSD.org>; Wed, 28 Jul 2010 17:42:39 +0000 (UTC)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.14.3/8.14.3) with ESMTP id o6SHgdko020468
	for <freebsd-gnats-submit@FreeBSD.org>; Wed, 28 Jul 2010 17:42:39 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.14.3/8.14.3/Submit) id o6SHgdRI020467;
	Wed, 28 Jul 2010 17:42:39 GMT
	(envelope-from nobody)
Message-Id: <201007281742.o6SHgdRI020467@www.freebsd.org>
Date: Wed, 28 Jul 2010 17:42:39 GMT
From: David DEMELIER <demelier.david@gmail.com>
To: freebsd-gnats-submit@FreeBSD.org
Subject: vim with options everytime
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         149042
>Category:       ports
>Synopsis:       editors/vim: use options everytime
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    obrien
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Wed Jul 28 17:50:03 UTC 2010
>Closed-Date:    Tue Sep 07 22:50:56 UTC 2010
>Last-Modified:  Tue Sep 07 22:50:56 UTC 2010
>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@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:
Responsible-Changed-From-To: freebsd-ports-bugs->obrien 
Responsible-Changed-By: linimon 
Responsible-Changed-When: Thu Jul 29 00:00:30 UTC 2010 
Responsible-Changed-Why:  
Fix synopsis and assign. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=149042 
State-Changed-From-To: open->closed 
State-Changed-By: obrien 
State-Changed-When: Tue Sep 7 22:50:23 UTC 2010 
State-Changed-Why:  
OPTIONS is not a great and perfect framework. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=149042 
>Unformatted:
