From 50466a1e2276f135642ea04b0c9c30bad243c7c8 Mon Sep 17 00:00:00 2001 From: martti Date: Fri, 3 Feb 2006 10:49:53 +0000 Subject: Optional support for cscope. From Simon Schubert in a private mail. --- editors/vim-share/Makefile.common | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) (limited to 'editors/vim-share') diff --git a/editors/vim-share/Makefile.common b/editors/vim-share/Makefile.common index 8aa76473dba..2546ac3fcac 100644 --- a/editors/vim-share/Makefile.common +++ b/editors/vim-share/Makefile.common @@ -1,4 +1,4 @@ -# $NetBSD: Makefile.common,v 1.52 2005/12/27 10:17:29 martti Exp $ +# $NetBSD: Makefile.common,v 1.53 2006/02/03 10:49:53 martti Exp $ .include "../../editors/vim-share/version.mk" @@ -41,3 +41,14 @@ ALTERNATIVES_SRC= ${.CURDIR}/../../editors/vim-share/ALTERNATIVES .else ALTERNATIVES_SRC= .endif + +PKG_SUPPORTED_OPTIONS+= cscope +PKG_OPTIONS_VAR= PKG_OPTIONS.vim +PKG_SUGGESTED_OPTIONS= cscope + +.include "../../mk/bsd.options.mk" + +.if !empty(PKG_OPTIONS:Mcscope) +DEPENDS+= cscope-[0-9]*:../../devel/cscope +CONFIGURE_ARGS+= --enable-cscope +.endif -- cgit v1.2.3