Opened 11 years ago

Closed 11 years ago

#43514 closed enhancement (fixed)

Add "relative" variant to ruby21

Reported by: kw@… Owned by: kimuraw (kimura wataru)
Priority: Normal Milestone:
Component: ports Version:
Keywords: haspatch Cc: cooljeanius (Eric Gallager)
Port: ruby21

Description

To succesfully embed Ruby in a standard Mac app bundle, it needs to be compiled with the " --enable-load-relative" flag. This will allow the interpreter to load libraries relative to its installation. The attached patch to the ruby21 portfile adds the "relative" variant. I have successfully built and tested Ruby with this flag.

Attachments (1)

Portfile-ruby21.diff (509 bytes) - added by kw@… 11 years ago.

Download all attachments as: .zip

Change History (5)

Changed 11 years ago by kw@…

Attachment: Portfile-ruby21.diff added

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

Keywords: haspatch added; relative app bundle removed
Owner: changed from macports-tickets@… to kimuraw@…
Version: 2.2.1

In the future, please Cc the port maintainers (port info --maintainers ruby21).

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

Cc: egall@… added

Cc Me!

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

Status: newassigned

thanks!

I'll merge your patch at next upgrade ruby-2.1.2.

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

Resolution: fixed
Status: assignedclosed

merged at r119917.

Note: See TracTickets for help on using tickets.