From 037cae333dbd544d17e70097a472bf1efb430f97 Mon Sep 17 00:00:00 2001 From: msf Date: Tue, 11 Aug 2009 04:30:40 +0000 Subject: [PATCH] respect MODRUBY_LIB_DEPENDS, no plist change ok ckuethe@ --- editors/vim/Makefile | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/editors/vim/Makefile b/editors/vim/Makefile index 97ecb0dca5d..a493651c400 100644 --- a/editors/vim/Makefile +++ b/editors/vim/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.101 2009/08/10 06:31:09 kili Exp $ +# $OpenBSD: Makefile,v 1.102 2009/08/11 04:30:40 msf Exp $ COMMENT-main= vi clone, many additional features COMMENT-lang= vi clone, NLS subpackage @@ -74,9 +74,10 @@ WANTLIB+= m pthread util .endif .if ${FLAVOR:L:Mruby} +MODULES+= lang/ruby CONFIGURE_ARGS+=--enable-rubyinterp -MAKE_ENV+= RUBY="${DEPBASE}/bin/ruby" -LIB_DEPENDS+= ruby::lang/ruby +MAKE_ENV+= RUBY="${RUBY}" +LIB_DEPENDS+= ${MODRUBY_LIB_DEPENDS} WANTLIB+= m .endif