summaryrefslogtreecommitdiff
path: root/editors
diff options
context:
space:
mode:
Diffstat (limited to 'editors')
-rw-r--r--editors/vim-share/options.mk11
1 files changed, 9 insertions, 2 deletions
diff --git a/editors/vim-share/options.mk b/editors/vim-share/options.mk
index 4261a81e79d..7a653300543 100644
--- a/editors/vim-share/options.mk
+++ b/editors/vim-share/options.mk
@@ -1,6 +1,6 @@
-# $NetBSD: options.mk,v 1.2 2012/08/27 22:10:34 morr Exp $
+# $NetBSD: options.mk,v 1.3 2014/02/15 03:37:27 schmonz Exp $
-PKG_SUPPORTED_OPTIONS+= ruby python
+PKG_SUPPORTED_OPTIONS+= ruby python perl
PKG_OPTIONS_VAR= PKG_OPTIONS.vim
.include "../../mk/bsd.options.mk"
@@ -8,6 +8,7 @@ PKG_OPTIONS_VAR= PKG_OPTIONS.vim
.if !empty(PKG_OPTIONS:Mruby)
.include "../../lang/ruby/buildlink3.mk"
CONFIGURE_ARGS+= --enable-rubyinterp
+CONFIGURE_ENV+= vi_cv_path_ruby=${RUBY}
.endif
.if !empty(PKG_OPTIONS:Mpython)
@@ -15,3 +16,9 @@ CONFIGURE_ARGS+= --enable-rubyinterp
CONFIGURE_ARGS+= --enable-pythoninterp
CONFIGURE_ENV+= vi_cv_path_python=${PYTHONBIN}
.endif
+
+.if !empty(PKG_OPTIONS:Mperl)
+.include "../../lang/perl5/buildlink3.mk"
+CONFIGURE_ARGS+= --enable-perlinterp
+CONFIGURE_ENV+= vi_cv_path_perl=${PERL5}
+.endif