pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/editors/vim-share Optional support for cscope. From Si...
details: https://anonhg.NetBSD.org/pkgsrc/rev/4d7d13f2d7c8
branches: trunk
changeset: 507509:4d7d13f2d7c8
user: martti <martti%pkgsrc.org@localhost>
date: Fri Feb 03 10:49:53 2006 +0000
description:
Optional support for cscope. From Simon Schubert in a private mail.
diffstat:
editors/vim-share/Makefile.common | 13 ++++++++++++-
1 files changed, 12 insertions(+), 1 deletions(-)
diffs (24 lines):
diff -r 25473555a0c0 -r 4d7d13f2d7c8 editors/vim-share/Makefile.common
--- a/editors/vim-share/Makefile.common Fri Feb 03 10:27:04 2006 +0000
+++ b/editors/vim-share/Makefile.common Fri Feb 03 10:49:53 2006 +0000
@@ -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 @@
.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
Home |
Main Index |
Thread Index |
Old Index