diff -u -r -N /MacPorts/var/macports/sources/rsync.macports.org/release/ports/math/R/Portfile ./Portfile
old
|
new
|
|
3 | 3 | PortSystem 1.0 |
4 | 4 | |
5 | 5 | name R |
6 | | version 2.12.0 |
7 | | revision 2 |
| 6 | version 2.12.1 |
8 | 7 | categories math science |
9 | 8 | maintainers epfl.ch:kjell.konis |
10 | 9 | platforms darwin |
… |
… |
|
25 | 24 | http://cran.hu.r-project.org/src/base/R-2/ \ |
26 | 25 | http://cran.r-project.org/src/base/R-2/ |
27 | 26 | |
28 | | checksums md5 aa003654d238d70bf5bc7433b8257aac \ |
29 | | sha1 07b90a728e36585742603beccdee30b6864ef5af \ |
30 | | rmd160 e10511bc360284d3876b147a0351b662d80d22a4 |
| 27 | checksums md5 078e8d1179fc9a762e326e6da2725468 \ |
| 28 | sha1 41f443cd646f7773bd824c41ea53cac3102b428d \ |
| 29 | rmd160 a083689dc6785cd8072461f30ce4a7969fc7ec91 |
31 | 30 | |
32 | 31 | depends_lib port:gettext \ |
33 | 32 | port:icu \ |
… |
… |
|
69 | 68 | depends_lib-append port:gcc45 |
70 | 69 | } |
71 | 70 | |
| 71 | platform darwin 10 { |
| 72 | variant aqua description {Enable quartz graphics device} { |
| 73 | # This variant uses a hack in "CFString.h" that does not define the problematic CF_FORMAT_FUNCTION |
| 74 | # and CF_FORMAT_ARGUMENT macros if __INTEL_COMPILER is defined. Currently, that is the ONLY place |
| 75 | # in the 10.6 SDK where the __INTEL_COMPILER macro is checked, but that may change in the future. |
| 76 | # We also need to use Apple's ObjC compiler for the single "qdCocoa.m" file. |
| 77 | configure.args-delete --without-aqua |
| 78 | configure.args-append --with-aqua |
| 79 | patchfiles-append patch-QuartzDevice_h.diff |
| 80 | configure.objc /usr/bin/gcc-4.2 |
| 81 | } |
| 82 | } |
| 83 | |
72 | 84 | default_variants +recommended |
73 | 85 | |
74 | 86 | if {![variant_isset gcc42] && ![variant_isset gcc43] && ![variant_isset gcc44] && ![variant_isset gcc45]} { |
diff -u -r -N /MacPorts/var/macports/sources/rsync.macports.org/release/ports/math/R/files/patch-QuartzDevice_h.diff ./files/patch-QuartzDevice_h.diff
old
|
new
|
|
| 1 | --- src/include/R_ext/QuartzDevice.h 2010-09-16 18:02:11.000000000 -0400 |
| 2 | +++ src/include/R_ext/QuartzDevice.h 2010-12-15 11:12:40.000000000 -0500 |
| 3 | @@ -98,7 +98,9 @@ |
| 4 | #endif |
| 5 | |
| 6 | #if HAVE_AQUA |
| 7 | +#define __INTEL_COMPILER |
| 8 | #include <ApplicationServices/ApplicationServices.h> |
| 9 | +#undef __INTEL_COMPILER |
| 10 | #else |
| 11 | typedef void* CGContextRef; |
| 12 | #endif |