Created
October 1, 2012 02:06
-
-
Save ujihisa/3809088 to your computer and use it in GitHub Desktop.
for lua support
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git vim.eclass vim.eclass | |
index 675f684..dec0e91 100644 | |
--- vim.eclass | |
+++ vim.eclass | |
@@ -80,20 +80,22 @@ if [[ ${MY_PN} == "vim-core" ]] ; then | |
IUSE="${IUSE} livecd" | |
PDEPEND="!livecd? ( app-vim/gentoo-syntax )" | |
else | |
- IUSE="${IUSE} cscope debug gpm perl python ruby" | |
+ IUSE="${IUSE} cscope debug gpm perl python ruby lua" | |
DEPEND="${DEPEND} | |
cscope? ( dev-util/cscope ) | |
gpm? ( >=sys-libs/gpm-1.19.3 ) | |
perl? ( dev-lang/perl ) | |
acl? ( kernel_linux? ( sys-apps/acl ) ) | |
- ruby? ( || ( dev-lang/ruby:1.9 dev-lang/ruby:1.8 ) )" | |
+ ruby? ( || ( dev-lang/ruby:1.9 dev-lang/ruby:1.8 ) ) | |
+ lua? ( dev-lang/lua )" | |
RDEPEND="${RDEPEND} | |
cscope? ( dev-util/cscope ) | |
gpm? ( >=sys-libs/gpm-1.19.3 ) | |
perl? ( dev-lang/perl ) | |
acl? ( kernel_linux? ( sys-apps/acl ) ) | |
ruby? ( || ( dev-lang/ruby:1.9 dev-lang/ruby:1.8 ) ) | |
+ lua? ( dev-lang/lua ) | |
!<app-vim/align-30-r1 | |
!<app-vim/vimbuddy-0.9.1-r1 | |
!<app-vim/autoalign-11 | |
@@ -409,6 +411,7 @@ vim_src_configure() { | |
--disable-perlinterp \ | |
--disable-pythoninterp \ | |
--disable-rubyinterp \ | |
+ --disable-luainterp \ | |
--disable-gpm" | |
else | |
@@ -421,6 +424,7 @@ vim_src_configure() { | |
myconf="${myconf} `use_enable perl perlinterp`" | |
myconf="${myconf} `use_enable python pythoninterp`" | |
myconf="${myconf} `use_enable ruby rubyinterp`" | |
+ myconf="${myconf} `use_enable lua luainterp`" | |
# tclinterp is broken; when you --enable-tclinterp flag, then | |
# the following command never returns: | |
# VIMINIT='let OS=system("uname -s")' vim |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment