aboutsummaryrefslogtreecommitdiffstats
path: root/editors
diff options
context:
space:
mode:
Diffstat (limited to 'editors')
-rw-r--r--editors/vim/Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/editors/vim/Makefile b/editors/vim/Makefile
index 580332889a11..22b1efef7ed0 100644
--- a/editors/vim/Makefile
+++ b/editors/vim/Makefile
@@ -41,7 +41,7 @@ WRKSRC= ${WRKDIR}/vim${PORTVERSION:C/\.[0-9]*$//:S/.//g}/src
PATCH_DIST_ARGS= -d ${WRKDIR}/${PORTNAME}${PORTVERSION:C/\.[0-9]*$//:S/.//g} --forward --quiet -E ${PATCH_DIST_STRIP}
# consider
#PATCH_DIST_ARGS= -t
-MAKE_ARGS+= CONF_ARGS="--prefix=${PREFIX} --with-tlib=termlib"
+MAKE_ARGS+= CONF_ARGS="--prefix=${PREFIX} --with-tlib=termlib ${CSCOPE_ARG}"
ALL_TARGET= #
PLIST_SUB= VIM_VER=${DISTNAME:S/-//:S/.//}
MAN1= evim.1 vim.1 vimdiff.1 vimtutor.1 xxd.1
@@ -60,6 +60,11 @@ I18N= CONF_OPT_MULTIBYTE="--enable-multibyte --enable-fontset --enable-xim"
WITHOUT_X11= yes
.endif
+.if defined(WITH_CSCOPE)
+RUN_DEPENDS+= cscope:${PORTSDIR}/devel/cscope
+CSCOPE_ARG= --enable-cscope
+.endif
+
.if !defined(WITHOUT_X11)
# for now default the GUI to the GTK+ one
# will be reviewed when the GTK+ 1.{3,4} behemoth is released