NetBSD Problem Report #40710

From www@NetBSD.org  Sat Feb 21 16:10:23 2009
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11])
	by narn.NetBSD.org (Postfix) with ESMTP id 0BB2863BB35
	for <gnats-bugs@gnats.netbsd.org>; Sat, 21 Feb 2009 16:10:23 +0000 (UTC)
Message-Id: <20090221161022.CAC7D63B8C3@narn.NetBSD.org>
Date: Sat, 21 Feb 2009 16:10:22 +0000 (UTC)
From: schmidtm@mathematik.uni-marburg.de
Reply-To: schmidtm@mathematik.uni-marburg.de
To: gnats-bugs@NetBSD.org
Subject: pkgsrc editors/vim is build by default without cscope support
X-Send-Pr-Version: www-1.0

>Number:         40710
>Category:       pkg
>Synopsis:       pkgsrc editors/vim is build by default without cscope support
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    martti
>State:          closed
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Sat Feb 21 16:15:00 +0000 2009
>Closed-Date:    Tue Aug 25 08:27:28 +0000 2009
>Last-Modified:  Tue Aug 25 08:27:28 +0000 2009
>Originator:     Matthias Schmidt
>Release:        DragonFly 2.3.0-DEVELOPMENT
>Organization:
>Environment:
DragonFly hammer01 2.3.0-DEVELOPMENT DragonFly 2.3.0-DEVELOPMENT #1: Thu Feb  5 02:38:43 CET 2009     matthias@hammer01:/build/obj/build/src/sys/GENERIC  i386

>Description:
Note: this PR is not DragonFly specific.

The vim editor in pkgsrc (editors/vim) is build by default without cscope support. cscope is a handy tool for every developer, so the support should be build-in by default. I know there is a knob to add --enable-cscope, but it's turned off.

It is perfectly possible to add cscope support to vim without depending on cscope itself (either for building or running). If you don't have cscope installed, vim will only refuse to issue cscope specific commands. 
>How-To-Repeat:
Compile editors/vim without changing any package options. Try to run a cscope command from within vim.
>Fix:
Add --enable-cscope to the default configure arguments in editors/vim-share/Makefile.command and remove the cscope options.

There is no dependency on cscope itself, so it could be added without doing any harm. If the user really wants to use both, he could easily install cscope afterward.

>Release-Note:

>Audit-Trail:

Responsible-Changed-From-To: pkg-manager->martti
Responsible-Changed-By: wiz@NetBSD.org
Responsible-Changed-When: Sat, 21 Feb 2009 17:01:02 +0000
Responsible-Changed-Why:
Over to maintainer.


From: Hasso Tepper <hasso@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc: 
Subject: PR/40710 CVS commit: pkgsrc/editors/vim-share
Date: Tue, 25 Aug 2009 08:17:36 +0000

 Module Name:	pkgsrc
 Committed By:	hasso
 Date:		Tue Aug 25 08:17:36 UTC 2009

 Modified Files:
 	pkgsrc/editors/vim-share: Makefile.common

 Log Message:
 Remove cscope option and make it default. Via PR 40710 and discussed with
 martti@.


 To generate a diff of this commit:
 cvs rdiff -u -r1.126 -r1.127 pkgsrc/editors/vim-share/Makefile.common

 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.

State-Changed-From-To: open->closed
State-Changed-By: hasso@NetBSD.org
State-Changed-When: Tue, 25 Aug 2009 08:27:28 +0000
State-Changed-Why:
Committed. Thanks!

>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.