Opened 14 years ago

Closed 11 years ago

Last modified 11 years ago

#22835 closed enhancement (fixed)

ruby ruby186 ruby19: additional program-suffix variants

Reported by: reynhout@… Owned by: kimuraw (kimura wataru)
Priority: Normal Milestone:
Component: ports Version: 1.8.1
Keywords: Cc: febeling@…, cooljeanius (Eric Gallager)
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 (1)

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

Download all attachments as: .zip

Change History (5)

Changed 14 years ago by reynhout@…

Attachment: rubyports.diff added

diff -u ruby*/Portfile*

comment:1 Changed 14 years ago by jmroot (Joshua Root)

Cc: kimuraw@… febeling@… added

comment:2 Changed 14 years ago by nerdling (Jeremy Lavergne)

Cc: kimuraw@… removed
Owner: changed from macports-tickets@… to kimuraw@…

comment:3 Changed 11 years ago by kimuraw (kimura wataru)

Resolution: fixed
Status: newclosed

implemented at r103918.

comment:4 Changed 11 years ago by cooljeanius (Eric Gallager)

Cc: egall@… added

Cc Me!

Note: See TracTickets for help on using tickets.