Ticket #33512: R-Portfile.diff

File R-Portfile.diff, 1.9 KB (added by kjell.konis@…, 13 years ago)
  • Portfile

    old new  
    44
    55name             R
    66conflicts        R-framework
    7 version          2.14.1
     7version          2.14.2
    88categories       math science
    99maintainers      epfl.ch:kjell.konis
    1010license          GPL-2 GPL-3
     
    2626                 http://cran.hu.r-project.org/src/base/R-2/ \
    2727                 http://cran.r-project.org/src/base/R-2/
    2828
    29 checksums        rmd160  9dcd1d135701e3c682585346e7c48ac2c62012fd \
    30                  sha256  d8a18914005975f40ed8fb37e3532422f769fb454651a9ed75f73c2bee9c0c4c
     29checksums        rmd160  6055dd28a99baa7b23c55f74dc1479e93a0dee58 \
     30                 sha256  ccd8b43a746dc7105a1c77423ea1bb72dc333b41d9e9801a96d6f71c2266736e
    3131
    3232depends_build    port:pkgconfig
    3333
     
    9999
    100100default_variants +recommended
    101101
    102 if {![variant_isset gcc42] && ![variant_isset gcc43] && ![variant_isset gcc44] && ![variant_isset gcc45]} {
    103     default_variants-append +gcc44
     102if {![variant_isset gcc42] && ![variant_isset gcc43] && ![variant_isset gcc44] &&
     103    ![variant_isset gcc45] && ![variant_isset gcc46]} {
     104    default_variants-append +gcc45
    104105}
    105106
    106107post-patch {
     
    160161      ${destroot_so_path}"
    161162  }
    162163
     164  system "install_name_tool -change libR.dylib ${prefix}/lib/R/lib/${build_arch}/libR.dylib \
     165    ${destroot}${prefix}/lib/R/bin/exec/${build_arch}/R"
     166  system "install_name_tool -change libRblas.dylib ${prefix}/lib/R/lib/${build_arch}/libRblas.dylib \
     167    ${destroot}${prefix}/lib/R/bin/exec/${build_arch}/R"
     168
    163169  reinplace "s|-dylib_file libRblas\.dylib:\$\(R_HOME\)/lib\$\(R_ARCH\)/libRblas\.dylib| |" \
    164170            "${destroot}${prefix}/lib/R/etc/${build_arch}/Makeconf"
    165171}
     
    167173livecheck.type      regex
    168174livecheck.url       [lindex ${master_sites} 0]
    169175livecheck.regex     >${name}-(\[0-9.\]+)${extract.suffix}<
     176
     177
     178