Ticket #47162: R-Portfile.diff
File R-Portfile.diff, 4.5 KB (added by kjellpk (Kjell Konis), 10 years ago) |
---|
-
Portfile
old new 8 8 9 9 set major 3 10 10 set minor 1 11 set point 211 set point 3 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 742a20d8c0d515434c36d1913f001f838e4dd431 \ 36 sha256 07e98323935baa38079204bfb9414a029704bb9c0ca5ab317020ae521a377312 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:xz \ 44 port:zlib 43 45 44 46 universal_variant no 45 47 … … 51 53 52 54 configure.pre_args --prefix=${frameworks_dir} 53 55 54 configure.args --enable- R-framework\56 configure.args --enable-memory-profiling \ 55 57 --enable-R-shlib \ 56 58 --enable-BLAS-shlib \ 57 --disable-openmp \58 --with-readline \59 --with-aqua \60 59 --without-tcltk \ 61 60 --without-cairo \ 62 --with- libpng\63 --without- jpeglib\61 --with-system-zlib \ 62 --without-internal-tzcode \ 64 63 --without-recommended-packages \ 65 --with-ICU \66 64 --without-x \ 67 --with-included-gettext \ 68 --without-internal-tzcode 65 --with-included-gettext 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