Ticket #35440: R-framework.diff

File R-framework.diff, 1.2 KB (added by kjellpk (Kjell Konis), 12 years ago)
  • Portfile

    old new  
    99name                        R-framework
    1010conflicts                   R
    1111version                     ${major}.${minor}.${point}
     12revision                    1
    1213categories                  math science
    1314maintainers                 me.com:kjell.konis
    1415license                     {GPL-2 GPL-3}
     
    206207livecheck.type      regex
    207208livecheck.url       [lindex ${master_sites} 0]
    208209livecheck.regex     >R-(\[0-9.\]+)${extract.suffix}<
     210
     211
     212
     213# Hopefully can get rid of this soon
     214
     215platform darwin 12 {
     216    configure.args-delete --with-blas="-framework vecLib" --with-lapack="-framework vecLib"
     217    configure.args-append --without-blas --without-lapack
     218    ui_msg "Temporary Mountain Lion issue: using builtin lapack"
     219}
     220
     221if {[variant_isset gcc45] || [variant_isset gcc46]} {
     222    if {${os.platform} == "darwin" && ${os.major} == 12} {
     223        ui_error "This version of the R-framework port does not compile with gcc45 or gcc46 on Mountain Lion"
     224        return -code error "incompatible variant"
     225    }
     226}
     227
     228