#52600: swig-ruby needs to use current ruby23 port as dependency --------------------------+------------------------- Reporter: uri@… | Owner: michaelld@… Type: enhancement | Status: new Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: swig-ruby | --------------------------+------------------------- Comment (by uri@…):
Does swig-ruby work with both ruby (1.8) and ruby23 (2.3)?
It should.
I'm hoping we can make this dependency change something like "path:bin/ruby:ruby" ... stick with the "ruby" port unless some other rubyXY port is already installed.
This sounds like the right approach, IMHO.
After installing ruby and ruby23, I don't see a common file
Not sure what you mean. Installing ruby or ruby23, you get /opt/local/bin/ruby (the main interpreter), and bunch of libraries and supporting files. I don't think you can install them both at the same time.
Thus, we'll need to move to the +rubyXY variants, like what swig-php has
I don't know if we need to go that way - but if we do, I see no problem. It's easy enough on the user.
Do you know enough about Portfile editing to create such a patch & verify that it works as expected?
I can't claim this knowledge, but let me take a look... -- Ticket URL: <https://trac.macports.org/ticket/52600#comment:3> MacPorts <https://www.macports.org/> Ports system for the Mac operating system