Ignore:
Timestamp:
May 30, 2012, 1:06:59 PM (8 years ago)
Author:
vince@…
Message:

Modernizes gcc versions and makes qrupdate build with Atlas >= 3.9.76. Should fix #25662.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/math/qrupdate/Portfile

    r93488 r93765  
    7070variant atlas description {build with atlas instead of Accelerate framework} {
    7171    depends_lib-append      port:atlas
    72     build.args-append       BLAS="-L${prefix}/lib" LAPACK="-L${prefix}/lib -llapack"
    73     destroot.args-append    BLAS="-L${prefix}/lib" LAPACK="-L${prefix}/lib -llapack"
    74     test.args-append        BLAS="-L${prefix}/lib" LAPACK="-L${prefix}/lib -llapack"
     72    build.args-append       BLAS="-L${prefix}/lib -ltatlas" LAPACK="-L${prefix}/lib -llapack"
     73    destroot.args-append    BLAS="-L${prefix}/lib -ltatlas" LAPACK="-L${prefix}/lib -llapack"
     74    test.args-append        BLAS="-L${prefix}/lib -ltatlas" LAPACK="-L${prefix}/lib -llapack"
    7575}
    7676if {![variant_isset atlas]} {
     
    8787
    8888
    89 variant g95 conflicts gcc43 gcc44 gcc45 universal description {build with g95} {
     89variant g95 conflicts gcc45 gcc46 gcc47 universal description {build with g95} {
    9090    depends_build-append    port:g95
    9191    post-patch {
     
    9595}
    9696
    97 variant gcc43 conflicts g95 gcc44 gcc45 universal description {build with gcc43 fortran} {
    98     depends_lib-append    port:gcc43
    99     post-patch {
    100         reinplace "s|gfortran|gfortran-mp-4.3|" ${worksrcpath}/Makeconf
    101     }
    102 }
    103 
    104 variant gcc44 conflicts g95 gcc43 gcc45 description {build with gcc44 fortran} {
    105     depends_lib-append    port:gcc44
    106     post-patch {
    107         reinplace "s|gfortran|gfortran-mp-4.4|" ${worksrcpath}/Makeconf
    108     }
    109 }
    110 
    111 variant gcc45 conflicts g95 gcc43 gcc44 description {build with gcc45 fortran} {
     97variant gcc45 conflicts g95 gcc46 gcc47 universal description {build with gcc45 fortran} {
    11298    depends_lib-append    port:gcc45
    11399    post-patch {
     
    116102}
    117103
    118 if {![variant_isset gcc43] && ![variant_isset gcc44] \
     104variant gcc46 conflicts g95 gcc45 gcc47 description {build with gcc46 fortran} {
     105    depends_lib-append    port:gcc46
     106    post-patch {
     107        reinplace "s|gfortran|gfortran-mp-4.6|" ${worksrcpath}/Makeconf
     108    }
     109}
     110
     111variant gcc47 conflicts g95 gcc45 gcc46 description {build with gcc47 fortran} {
     112    depends_lib-append    port:gcc47
     113    post-patch {
     114        reinplace "s|gfortran|gfortran-mp-4.7|" ${worksrcpath}/Makeconf
     115    }
     116}
     117
     118if {![variant_isset gcc45] && ![variant_isset gcc47] \
    119119        && ![variant_isset g95]} {
    120     default_variants +gcc45
     120    default_variants +gcc46
    121121}
    122122
Note: See TracChangeset for help on using the changeset viewer.