[MacPorts] #55521: vim +ruby24

MacPorts noreply at macports.org
Fri Dec 15 18:27:09 UTC 2017


#55521: vim +ruby24
-------------------------+-------------------
 Reporter:  iEFdev       |      Owner:
     Type:  enhancement  |     Status:  new
 Priority:  Normal       |  Milestone:
Component:  ports        |    Version:  2.4.2
 Keywords:               |       Port:  vim
-------------------------+-------------------
 I noticed ruby24 is missing in the port file. //Adding a patch...//

 ---


 I'm thinking of the variant with `ruby` (ie ruby18). Just as an idea...
 Would it make sense to have a generic version that picks whatever version
 I already have, &/or switching to using `port select ...`?

 // Not sure if the if-command is correct, but as a visual idea:

 {{{
 variant ruby description {generic variant, using current (active) version
 \
                           ('port select --list ruby')} {
     configure.args-append   --enable-rubyinterp
     configure.args-append   --with-ruby-command=${prefix}/bin/ruby
     # if no rubyNN - install latest
     if {!${prefix}/bin/ruby} {
         depends_lib-append      port:ruby24
     }
 }
 }}}

 And move that to the last version.

--
Ticket URL: <https://trac.macports.org/ticket/55521>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list