summaryrefslogtreecommitdiff
path: root/editors
diff options
context:
space:
mode:
authormorr <morr>2015-01-02 12:32:13 +0000
committermorr <morr>2015-01-02 12:32:13 +0000
commit7e22d221608ad871959ab060a330f3d6131718f9 (patch)
treef3950268ff83c91eca074f6b118a40b4066f802e /editors
parent3ed97c6d824bbb2f92519bb3de651e8ff5232503 (diff)
downloadpkgsrc-7e22d221608ad871959ab060a330f3d6131718f9.tar.gz
Add support for lua in vim
Diffstat (limited to 'editors')
-rw-r--r--editors/vim-share/options.mk9
1 files changed, 7 insertions, 2 deletions
diff --git a/editors/vim-share/options.mk b/editors/vim-share/options.mk
index 7a653300543..c7f4631f786 100644
--- a/editors/vim-share/options.mk
+++ b/editors/vim-share/options.mk
@@ -1,6 +1,6 @@
-# $NetBSD: options.mk,v 1.3 2014/02/15 03:37:27 schmonz Exp $
+# $NetBSD: options.mk,v 1.4 2015/01/02 12:32:13 morr Exp $
-PKG_SUPPORTED_OPTIONS+= ruby python perl
+PKG_SUPPORTED_OPTIONS+= ruby python perl lua
PKG_OPTIONS_VAR= PKG_OPTIONS.vim
.include "../../mk/bsd.options.mk"
@@ -22,3 +22,8 @@ CONFIGURE_ENV+= vi_cv_path_python=${PYTHONBIN}
CONFIGURE_ARGS+= --enable-perlinterp
CONFIGURE_ENV+= vi_cv_path_perl=${PERL5}
.endif
+
+.if !empty(PKG_OPTIONS:Mlua)
+.include "../../lang/lua/buildlink3.mk"
+CONFIGURE_ARGS+= --enable-luainterp
+.endif