Ignore:
Timestamp:
Sep 7, 2013, 7:49:56 AM (6 years ago)
Author:
mojca@…
Message:

qrupdate: remove obsolete no_atlas, add gcc49, make gcc48 default (its dependency octave defaults to gcc48)

File:
1 edited

Legend:

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

    r110143 r110831  
    22# $Id$
    33
    4 PortSystem                      1.0
     4PortSystem          1.0
    55PortGroup           muniversal 1.0
    66
     
    1414maintainers         nomaintainer
    1515description         library for fast updates of QR and Cholesky decompositions
    16 long_description \
    17     a Fortran library for fast updates of QR and Cholesky decompositions
     16long_description    a Fortran library for fast updates of QR and Cholesky decompositions
    1817homepage            http://sourceforge.net/projects/${name}/
    1918platforms           darwin
     
    6564}
    6665
    67 
    68 variant no_atlas description {Legacy compatibility variant} {}
    69 
    7066variant atlas description {build with atlas instead of Accelerate framework} {
    7167    depends_lib-append      port:atlas
     
    8076}
    8177
    82 if {[variant_isset g95] || [variant_isset no_atlas]} {
     78if {[variant_isset g95]} {
    8379    default_variants -atlas
    8480} else {
     
    8783
    8884
    89 variant g95 conflicts gcc45 gcc46 gcc47 gcc48 universal description {build with g95} {
     85variant g95 conflicts gcc45 gcc46 gcc47 gcc48 gcc49 universal description {build with g95} {
    9086    depends_build-append    port:g95
    9187    post-patch {
     
    9591}
    9692
    97 variant gcc45 conflicts g95 gcc46 gcc47 gcc48 universal description {build with gcc45 fortran} {
     93variant gcc45 conflicts g95 gcc46 gcc47 gcc48 gcc49 universal description {build with gcc45 fortran} {
    9894    depends_lib-append    path:lib/libgcc/libgcc_s.1.dylib:libgcc
    9995    depends_build-append  port:gcc45
     
    10399}
    104100
    105 variant gcc46 conflicts g95 gcc45 gcc47 gcc48 description {build with gcc46 fortran} {
     101variant gcc46 conflicts g95 gcc45 gcc47 gcc48 gcc49 description {build with gcc46 fortran} {
    106102    depends_lib-append    path:lib/libgcc/libgcc_s.1.dylib:libgcc
    107103    depends_build-append  port:gcc46
     
    111107}
    112108
    113 variant gcc47 conflicts g95 gcc45 gcc46 gcc48 description {build with gcc47 fortran} {
     109variant gcc47 conflicts g95 gcc45 gcc46 gcc48 gcc49 description {build with gcc47 fortran} {
    114110    depends_lib-append    path:lib/libgcc/libgcc_s.1.dylib:libgcc
    115111    depends_build-append  port:gcc47
     
    119115}
    120116
    121 variant gcc48 conflicts g95 gcc45 gcc46 gcc47 description {build with gcc48 fortran} {
     117variant gcc48 conflicts g95 gcc45 gcc46 gcc47 gcc49 description {build with gcc48 fortran} {
    122118    depends_lib-append    path:lib/libgcc/libgcc_s.1.dylib:libgcc
    123119    depends_build-append  port:gcc48
     
    127123}
    128124
    129 if {![variant_isset gcc45] && ![variant_isset gcc46] \
    130         && ![variant_isset g95] && ![variant_isset gcc48]} {
    131         default_variants +gcc47
     125variant gcc49 conflicts g95 gcc45 gcc46 gcc47 gcc48 description {build with gcc49 fortran} {
     126    depends_lib-append    path:lib/libgcc/libgcc_s.1.dylib:libgcc
     127    depends_build-append  port:gcc49
     128    post-patch {
     129        reinplace "s|gfortran|gfortran-mp-4.9|" ${worksrcpath}/Makeconf
     130    }
    132131}
    133132
     133if {![variant_isset g95]   && ![variant_isset gcc45] && \
     134    ![variant_isset gcc46] && ![variant_isset gcc47] && \
     135    ![variant_isset gcc48] && ![variant_isset gcc49]} {
     136    default_variants-append +gcc48
     137}
    134138
    135139test.run yes
Note: See TracChangeset for help on using the changeset viewer.