diff options
author | martti <martti> | 2006-02-03 10:49:53 +0000 |
---|---|---|
committer | martti <martti> | 2006-02-03 10:49:53 +0000 |
commit | 9bb9a8aa36678ff0fc958e76fbb423aae2471d18 (patch) | |
tree | b78ea0d19c67212313bf89807849807639e042d7 /editors | |
parent | e83bf1a6385ecd6375abec8f012dbacea3fc5d06 (diff) | |
download | pkgsrc-9bb9a8aa36678ff0fc958e76fbb423aae2471d18.tar.gz |
Optional support for cscope. From Simon Schubert in a private mail.
Diffstat (limited to 'editors')
-rw-r--r-- | editors/vim-share/Makefile.common | 13 |
1 files changed, 12 insertions, 1 deletions
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 |