New Ticket     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Ticket #22835 (new enhancement)

Opened 2 years ago

Last modified 21 months ago

ruby ruby186 ruby19: additional program-suffix variants

Reported by: reynhout@… Owned by: kimuraw@…
Priority: Normal Milestone:
Component: ports Version: 1.8.1
Keywords: Cc: febeling@…
Port: ruby ruby186 ruby19

Description

ruby and ruby186 currently have no program-suffix variants

ruby19 has "nosuffix" to install executables as "ruby" rather than default "ruby1.9", etc.

Suggestion is to add variants as follows:

  • ruby186: +suffix186 ("ruby1.8.6", etc)
  • ruby: +suffix18 ("ruby1.8", etc)

+suffix187 ("ruby1.8.7", etc)

  • ruby19: +suffix191 ("ruby1.9.1", etc)

Justifications

  • 1.8.7 will be the final 1.8, but there are some use cases for keeping 1.8.6 around, so it should be convenient for 1.8.6 and 1.8.7 to coexist.
  • 1.9.1 is the current 1.9, but 1.9.2 is right around the corner, with significant changes, so having 1.9.1 and 1.9.2 coexistent is likely to be useful as well.

Peripherally, 1.9 should probably soon default to a suffixless install, and the other ports updated to reflect.

Trivial patches attached.

Attachments

rubyports.diff Download (1.7 KB) - added by reynhout@… 2 years ago.
diff -u ruby*/Portfile*

Change History

Changed 2 years ago by reynhout@…

diff -u ruby*/Portfile*

Changed 2 years ago by jmr@…

  • cc kimuraw@…, febeling@… added

Changed 21 months ago by snc@…

  • owner changed from macports-tickets@… to kimuraw@…
  • cc kimuraw@… removed
Note: See TracTickets for help on using tickets.