Ticket #38959: vim-luajit.diff

File vim-luajit.diff, 939 bytes (added by raimue (Rainer Müller), 11 years ago)
  • Portfile

     
    277277    # Overwriting autoconf.cmd above removes dependency, add it again
    278278    depends_build-append port:autoconf
    279279}
    280 variant lua description {Enable Lua scripting} {
     280variant lua description {Enable Lua scripting} conflicts luajit {
    281281    configure.args-append   --enable-luainterp \
    282282                            --with-lua-prefix=${prefix}
    283283    depends_lib-append      port:lua
    284284}
     285variant luajit description {Enable Lua scripting using LuaJIT} conflicts lua {
     286    configure.args-append   --enable-luainterp \
     287                            --with-lua-prefix=${prefix} \
     288                            --with-luajit
     289    depends_lib-append      port:luajit
     290}
    285291
    286292variant cscope description {Enable source code browsing with cscope} {
    287293    configure.args-append   --enable-cscope