Ticket #57042: patch-ruby25.diff

File patch-ruby25.diff, 3.2 KB (added by xstnztk (Martin Jerabek), 6 years ago)

Patch to add a ruby25 variant to vim.

  • Portfile

    old new  
    134134}
    135135
    136136variant ruby requires ruby18 description {Compatibility variant, requires +ruby18} {}
    137 variant ruby18 conflicts ruby19 ruby20 ruby21 ruby22 ruby23 ruby24 description {Enable Ruby scripting} {
     137variant ruby18 conflicts ruby19 ruby20 ruby21 ruby22 ruby23 ruby24 ruby25 description {Enable Ruby scripting} {
    138138    configure.args-append   --enable-rubyinterp
    139139    configure.args-append   --with-ruby-command=${prefix}/bin/ruby1.8
    140140    depends_lib-append      port:ruby
    141141}
    142 variant ruby19 conflicts ruby18 ruby20 ruby21 ruby22 ruby23 ruby24 description {Enable Ruby scripting} {
     142variant ruby19 conflicts ruby18 ruby20 ruby21 ruby22 ruby23 ruby24 ruby25 description {Enable Ruby scripting} {
    143143    configure.args-append   --enable-rubyinterp
    144144    configure.args-append   --with-ruby-command=${prefix}/bin/ruby1.9
    145145    depends_lib-append      port:ruby19
    146146}
    147 variant ruby20 conflicts ruby18 ruby19 ruby21 ruby22 ruby23 ruby24 description {Enable Ruby scripting} {
     147variant ruby20 conflicts ruby18 ruby19 ruby21 ruby22 ruby23 ruby24 ruby25 description {Enable Ruby scripting} {
    148148    configure.args-append   --enable-rubyinterp
    149149    configure.args-append   --with-ruby-command=${prefix}/bin/ruby2.0
    150150    depends_lib-append      port:ruby20
    151151}
    152 variant ruby21 conflicts ruby18 ruby19 ruby20 ruby22 ruby23 ruby24 description {Enable Ruby scripting} {
     152variant ruby21 conflicts ruby18 ruby19 ruby20 ruby22 ruby23 ruby24 ruby25 description {Enable Ruby scripting} {
    153153    configure.args-append   --enable-rubyinterp
    154154    configure.args-append   --with-ruby-command=${prefix}/bin/ruby2.1
    155155    depends_lib-append      port:ruby21
    156156}
    157 variant ruby22 conflicts ruby18 ruby19 ruby20 ruby21 ruby23 ruby24 description {Enable Ruby scripting} {
     157variant ruby22 conflicts ruby18 ruby19 ruby20 ruby21 ruby23 ruby24 ruby25 description {Enable Ruby scripting} {
    158158    configure.args-append   --enable-rubyinterp
    159159    configure.args-append   --with-ruby-command=${prefix}/bin/ruby2.2
    160160    depends_lib-append      port:ruby22
    161161}
    162 variant ruby23 conflicts ruby18 ruby19 ruby20 ruby21 ruby22 ruby24 description {Enable Ruby scripting} {
     162variant ruby23 conflicts ruby18 ruby19 ruby20 ruby21 ruby22 ruby24 ruby25 description {Enable Ruby scripting} {
    163163    configure.args-append   --enable-rubyinterp
    164164    configure.args-append   --with-ruby-command=${prefix}/bin/ruby2.3
    165165    depends_lib-append      port:ruby23
    166166}
    167 variant ruby24 conflicts ruby18 ruby19 ruby20 ruby21 ruby22 ruby23 description {Enable Ruby scripting} {
     167variant ruby24 conflicts ruby18 ruby19 ruby20 ruby21 ruby22 ruby23 ruby25 description {Enable Ruby scripting} {
    168168    configure.args-append   --enable-rubyinterp
    169169    configure.args-append   --with-ruby-command=${prefix}/bin/ruby2.4
    170170    depends_lib-append      port:ruby24
    171171}
     172variant ruby25 conflicts ruby18 ruby19 ruby20 ruby21 ruby22 ruby23 ruby24 description {Enable Ruby scripting} {
     173    configure.args-append   --enable-rubyinterp
     174    configure.args-append   --with-ruby-command=${prefix}/bin/ruby2.5
     175    depends_lib-append      port:ruby25
     176}
    172177
    173178variant tcl description {Enable Tcl scripting} {
    174179    configure.args-append   --enable-tclinterp \