Opened 17 years ago

Closed 17 years ago

Last modified 16 years ago

#15127 closed update (fixed)

Upgrade of R port to version 2.7.0.

Reported by: konis@… Owned by: ryandesign (Ryan Carsten Schmidt)
Priority: Normal Milestone:
Component: ports Version: 1.6.0
Keywords: Cc:
Port:

Description

Upgrade of R port to version 2.7.0.

Attachments (3)

Portfile (8.9 KB) - added by konis@… 17 years ago.
R 2.7.0 Portfile.
R-links-with.txt (21.0 KB) - added by ryandesign (Ryan Carsten Schmidt) 17 years ago.
R-Portfile.diff (2.1 KB) - added by ryandesign (Ryan Carsten Schmidt) 17 years ago.

Download all attachments as: .zip

Change History (10)

Changed 17 years ago by konis@…

Attachment: Portfile added

R 2.7.0 Portfile.

comment:1 Changed 17 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: ryandesign@… added

comment:2 Changed 17 years ago by ryandesign (Ryan Carsten Schmidt)

The port builds fine with gcc43 (for me on 10.4.11 PPC) so I propose to allow the user to select gcc43 or gcc42. I suggest that gcc43 should be the default since that is the latest stable version of gcc.

The various R libraries link with many more other libraries than are declared as dependencies in the port. I suggest including all those libraries in the dependency list. Alternately, you could add configure arguments to instruct R not to link with those other libraries, if that's preferred.

I'll attach a text file showing what R links with, and a suggested patch for the portfile. Let me know what you think.

Changed 17 years ago by ryandesign (Ryan Carsten Schmidt)

Attachment: R-links-with.txt added

Changed 17 years ago by ryandesign (Ryan Carsten Schmidt)

Attachment: R-Portfile.diff added

comment:3 Changed 17 years ago by konis@…

There was a message on the R-SIG-MAC list (https://stat.ethz.ch/pipermail/r-sig-mac/2008-April/004776.html) a while ago saying that OS X 10.5.3 is going to include a stable gfortran. If this turns out to be true then I want to get rid of the dependency on gccXX altogether. Since anyone using the R port presumably already has gcc42 installed I don't want to make them update to gcc43 only to have the dependency removed in a few weeks. Perhaps we could leave gcc42 as the default for now - I can make gcc43 the default for 10.4.x in a revision after 10.5.3 is available.

Otherwise I am happy with all the changes you made. Thanks.

comment:4 Changed 17 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: ryandesign@… removed
Owner: changed from macports-tickets@… to ryandesign@…
Status: newassigned

comment:5 Changed 17 years ago by ryandesign (Ryan Carsten Schmidt)

Resolution: fixed
Status: assignedclosed

I committed my patch in r36650, changing it as you suggested so that gcc42 is the default.

In a later version you can change the default to gcc43 with no impact to existing users, since they will have still have the gcc42 variant selected and will thus continue to use gcc42, while new users will get gcc43.

comment:6 Changed 16 years ago by jmroot (Joshua Root)

Type: enhancementupdate

comment:7 Changed 16 years ago by (none)

Milestone: Port Updates

Milestone Port Updates deleted

Note: See TracTickets for help on using tickets.