Ticket #31513: R-Portfile.diff
File R-Portfile.diff, 2.8 KB (added by kjell.konis@…, 13 years ago) |
---|
-
Portfile
old new 3 3 PortSystem 1.0 4 4 5 5 name R 6 version 2.13.1 7 revision 1 6 conflicts R-framework 7 version 2.14.0 8 8 categories math science 9 9 maintainers epfl.ch:kjell.konis 10 license GPL-2 GPL-3 10 11 platforms darwin 11 12 12 13 description R is GNU S - an interpreted language for statistical computing … … 25 26 http://cran.hu.r-project.org/src/base/R-2/ \ 26 27 http://cran.r-project.org/src/base/R-2/ 27 28 28 checksums sha1 8b9d48c7a654186064f369652ea34a085eff239b \ 29 rmd160 3d83b907f6c81980a7e65bdf942936d6ce02a850 29 checksums rmd160 f2f2805c8660d58050be1d11abf376843dbb40ea \ 30 sha256 036204f56f8128e633a5d2fe56ebe0ba5a5e8501abe2056736d12a99bf69b910 31 32 depends_build port:pkgconfig 30 33 31 34 depends_lib port:gettext \ 32 35 port:icu \ 33 36 path:lib/pkgconfig/glib-2.0.pc:glib2 \ 34 37 port:jpeg \ 35 38 port:libiconv \ 39 path:lib/pkgconfig/cairo.pc:cairo \ 36 40 path:lib/pkgconfig/pango.pc:pango \ 37 41 port:readline \ 38 42 port:tcl \ … … 68 72 depends_lib-append port:gcc45 69 73 } 70 74 71 platform darwin 10{72 variant aqua description {Enable quartz graphics device} {75 variant aqua description {Enable quartz graphics device} { 76 if {${os.platform} == "darwin" && ${os.major} == 10} { 73 77 # This variant uses a hack in "CFString.h" that does not define the problematic CF_FORMAT_FUNCTION 74 78 # and CF_FORMAT_ARGUMENT macros if __INTEL_COMPILER is defined. Currently, that is the ONLY place 75 79 # in the 10.6 SDK where the __INTEL_COMPILER macro is checked, but that may change in the future. … … 78 82 configure.args-append --with-aqua 79 83 patchfiles-append patch-QuartzDevice_h.diff 80 84 configure.objc /usr/bin/gcc-4.2 85 } else { 86 ui_error "The +aqua variant is for Snow Leopard (Mac OS X 10.6) only - for Aqua support on Lion (Mac OS X 10.7) use the R-framework port" 87 return -code error 81 88 } 82 89 } 83 90 … … 87 94 default_variants-append +gcc44 88 95 } 89 96 90 post- extract{97 post-patch { 91 98 reinplace "s|R_HOME|\"${prefix}/lib/R\"|" "${worksrcpath}/src/unix/Rscript.c" 92 99 } 93 100 … … 97 104 --enable-BLAS-shlib \ 98 105 --enable-R-shlib \ 99 106 --disable-nls \ 100 --without-libintl-prefix \101 107 --disable-R-framework \ 102 108 --without-aqua \ 103 109 --with-tcl-config=${prefix}/lib/tclConfig.sh \