Opened 7 years ago

Closed 7 years ago

#55521 closed enhancement (fixed)

vim +ruby24

Reported by: iefdev (Eric F) Owned by: raimue (Rainer Müller)
Priority: Normal Milestone:
Component: ports Version:
Keywords: haspatch Cc:
Port: vim

Description

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.

Attachments (1)

vim+r24.diff (2.7 KB) - added by iEFdev 7 years ago.
diff names

Download all attachments as: .zip

Change History (4)

comment:1 Changed 7 years ago by mf2k (Frank Schima)

Cc: raimue removed
Owner: set to raimue
Status: newassigned
Version: 2.4.2

Changed 7 years ago by iEFdev

Attachment: vim+r24.diff added

diff names

comment:2 Changed 7 years ago by mf2k (Frank Schima)

Keywords: haspatch added

comment:3 Changed 7 years ago by raimue (Rainer Müller)

Resolution: fixed
Status: assignedclosed

In e3772b31e3de5db88e18e8005f94cd08f2df0c1f/macports-ports:

vim, MacVim: Add +ruby24 variant

Closes: #55521

Note: See TracTickets for help on using tickets.