Opened 18 years ago

Closed 18 years ago

#11006 closed defect (fixed)

Port ruby has unnecessary dependencies

Reported by: bmakuch@… Owned by: pguyot (Paul Guyot)
Priority: Normal Milestone:
Component: ports Version: 1.3.2
Keywords: Cc:
Port:

Description

The ruby Portfile lists TCL and TK as required ports. Neither appear to be required for the underlying ruby interpreter to be compiled and installed and pulling in TK also pulls in XFree86.

Attachments (1)

Portfile.patch (824 bytes) - added by luc@… 18 years ago.

Download all attachments as: .zip

Change History (7)

comment:1 Changed 18 years ago by luc@…

  • This bug should have been assigned to the ruby port maintainer, aka pguyot.
  • The following post in the MacPortsUser mailing list shows a possible (although incomplete) solution for this problem.

Changed 18 years ago by luc@…

Attachment: Portfile.patch added

comment:2 Changed 18 years ago by luc@…

The attached patch file changes the ruby Portfile so it no longer lists Tcl and Tk as default dependencies and move these in a 'tk' variant. The --without-tk configure arg ensures that the tk extension is not compiled, which is a much easier solution than the one described in the aforementioned mailing list post :)

comment:3 Changed 18 years ago by pmq@…

Owner: changed from macports-dev@… to pguyot@…
Priority: BlockerExpected

comment:4 Changed 18 years ago by yeled@…

Resolution: fixed
Status: newclosed

sounds reasonable to me.

comment:5 Changed 18 years ago by blair (Blair Zajac)

Resolution: fixed
Status: closedreopened

I think we should also increment the revision number on this port file after this commit. Otherwise, we'll have people with the same ruby Port version with and without tcl/tk bindings depending upon when they build the package.

Regards, Blair

comment:6 Changed 18 years ago by pguyot (Paul Guyot)

Resolution: fixed
Status: reopenedclosed

Thanks. Committed.

Note: See TracTickets for help on using tickets.