Ticket #47479: R-Portfile.diff
File R-Portfile.diff, 4.6 KB (added by kjellpk (Kjell Konis), 10 years ago) |
---|
-
Portfile
old new 7 7 name R 8 8 9 9 set major 3 10 set minor 111 set point 210 set minor 2 11 set point 0 12 12 13 13 #Remember to remove revision line when bumping version 14 14 version ${major}.${minor}.${point} … … 32 32 master_sites http://cran.rstudio.com/src/base/R-3/ \ 33 33 http://cran.r-project.org/src/base/R-3/ 34 34 35 checksums rmd160 b2aaa42daac1ae5d114995de514d211d78a4e0a6\36 sha256 bcd150afcae0e02f6efb5f35a6ab72432be82e849ec52ce0bb89d8c342a8fa7a35 checksums rmd160 a67e255e77baf7db164ee8a869c03137a33a6571 \ 36 sha256 f5ae953f18ba6f3d55b46556bbbf73441350f9fd22625402b723a2b81ff64f35 37 37 38 38 depends_build port:pkgconfig 39 39 40 40 depends_lib port:readline \ 41 41 port:icu \ 42 port:libiconv 42 port:libiconv \ 43 port:zlib 43 44 44 45 universal_variant no 45 46 … … 51 52 52 53 configure.pre_args --prefix=${frameworks_dir} 53 54 54 configure.args --enable- R-framework\55 configure.args --enable-memory-profiling \ 55 56 --enable-R-shlib \ 56 57 --enable-BLAS-shlib \ 57 --disable-openmp \58 --with-readline \59 --with-aqua \60 58 --without-tcltk \ 61 59 --without-cairo \ 62 --with- libpng\63 --without- jpeglib\60 --with-system-zlib \ 61 --without-internal-tzcode \ 64 62 --without-recommended-packages \ 65 --with-ICU \66 63 --without-x \ 67 64 --with-included-gettext \ 68 --without-internal-tzcode 65 --without-system-xz #bug introduced in R-3.2.0, doesn't link to system copy, put port:xz back too 66 67 if {${os.major} < 13} { 68 configure.args-append --disable-openmp 69 } 69 70 70 71 platform darwin 13 { 71 72 configure.cflags-append -flax-vector-conversions 72 73 } 73 74 74 variant accelerate conflicts builtin_lapack description {build using the BLAS and Lapack in Apple's Accelerate framework} { 75 configure.args-append --with-blas="-framework Accelerate" \ 76 --with-lapack="-framework Accelerate" 75 variant accelerate conflicts atlas builtin_lapack description {build using the BLAS and Lapack in Apple's Accelerate framework} { 76 configure.args-append --with-blas="-framework Accelerate" --with-lapack 77 77 } 78 78 79 79 variant atlas conflicts accelerate builtin_lapack description {build using the BLAS in the atlas port} { … … 82 82 #See A.3.2 in R Installation and Administration for why atlas LAPACK not used 83 83 } 84 84 85 variant builtin_lapack conflicts accelerate description {build using reference BLAS and Lapack} {85 variant builtin_lapack conflicts accelerate atlas description {build using reference BLAS and Lapack} { 86 86 configure.args-append --without-blas --without-lapack 87 87 } 88 88 … … 92 92 path:lib/pkgconfig/glib-2.0.pc:glib2 \ 93 93 port:freetype \ 94 94 port:fontconfig \ 95 port:gettext 95 port:gettext \ 96 port:libpng \ 97 port:tiff \ 98 port:jpeg 96 99 configure.args-delete --without-cairo 97 100 configure.args-append --with-cairo 98 101 } … … 173 176 port:xorg-libXt \ 174 177 port:tiff \ 175 178 port:jpeg \ 176 port:libpng \ 177 port:zlib 179 port:libpng 178 180 configure.args-delete --without-x \ 179 181 --without-jpeglib 180 182 configure.args-append --with-x \ … … 191 193 } 192 194 193 195 if {![variant_isset accelerate] && ![variant_isset atlas] && ![variant_isset builtin_lapack]} { 194 default_variants-append + accelerate196 default_variants-append +builtin_lapack 195 197 } 196 198 197 199 test.run yes … … 248 250 livecheck.type regex 249 251 livecheck.url [lindex ${master_sites} 0] 250 252 livecheck.regex >${name}-(\[0-9.\]+)${extract.suffix}< 253 254 255