diff options
author | schmonz <schmonz@pkgsrc.org> | 2014-02-15 03:37:27 +0000 |
---|---|---|
committer | schmonz <schmonz@pkgsrc.org> | 2014-02-15 03:37:27 +0000 |
commit | fcaa817df0491a44bb659820c170b64fe7b19b7b (patch) | |
tree | ef2802a4c3801897e0beec9f5b4f1987653e30a9 /editors | |
parent | bfc2600d5328c545ca284fd63ecd0e3c97409059 (diff) | |
download | pkgsrc-fcaa817df0491a44bb659820c170b64fe7b19b7b.tar.gz |
Add an option to link with perl, and make the ruby option specify
which interpreter we mean (to avoid getting a system Ruby by mistake).
Approved by morr@.
Diffstat (limited to 'editors')
-rw-r--r-- | editors/vim-share/options.mk | 11 |
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 |