#37647: R-framework depends on llvm-gcc42 but requires gfortran --------------------------+--------------------------- Reporter: gnwiii@… | Owner: kjell.konis@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: | Keywords: Port: R-framework | --------------------------+--------------------------- Comment (by crossd@…): Replying to [comment:3 kjell.konis@…]:
Message to committer: I changed the default compiler to gcc45. If gcc46 or gcc47 would be more appropriate please feel free to change.
The attached patch removes the llvm-gcc42 variant and make gcc45 the default. This was on my list of changes for R 3.0.0 which is due in April but it looks like llvm-gcc42 is twisting my arm. The patch also removes tcltk from the default dependencies to (kind of) address bug #37107 and properly sets OBJCXX in etc/Makeconf to address bug #35845.
FYI, on my system, I had to add the following to the gcc47 variant: configure.cflags-append -DOS_OBJECT_USE_OBJC=0 Otherwise, the C compiler ends up trying to parse an Objective-C header file through some transitive inclusion chain. Perhaps there's another way to effect the same thing, but since a patch is pending already.... -- Ticket URL: <https://trac.macports.org/ticket/37647#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS