Ignore:
Timestamp:
Sep 1, 2010, 7:41:14 PM (9 years ago)
Author:
michaelld@…
Message:

Added variant 'gcc45'.

File:
1 edited

Legend:

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

    r70460 r71118  
    7474variant accelerate requires no_atlas description {compatibility variant} {}
    7575
    76 variant g95 conflicts gcc43 gcc44 universal description {build with g95} {
     76variant g95 conflicts gcc43 gcc44 gcc45 universal description {build with g95} {
    7777    depends_build-append    port:g95
    7878    post-patch {
     
    8282}
    8383
    84 variant gcc43 conflicts g95 gcc44 universal description {build with gcc43 fortran} {
     84variant gcc43 conflicts g95 gcc44 gcc45 universal description {build with gcc43 fortran} {
    8585    depends_lib-append    port:gcc43
    8686    post-patch {
     
    8989}
    9090
    91 variant gcc44 conflicts g95 gcc43 description {build with gcc44 fortran} {
     91variant gcc44 conflicts g95 gcc43 gcc45 description {build with gcc44 fortran} {
    9292    depends_lib-append    port:gcc44
    9393    post-patch {
     
    9696}
    9797
    98 if {![variant_isset gcc43] && ![variant_isset gcc44] && ![variant_isset g95]} {
     98variant gcc45 conflicts g95 gcc43 gcc44 description {build with gcc45 fortran} {
     99    depends_lib-append    port:gcc45
     100    post-patch {
     101        reinplace "s|gfortran|gfortran-mp-4.5|" ${worksrcpath}/Makeconf
     102    }
     103}
     104
     105if {![variant_isset gcc43] && ![variant_isset gcc44] && \
     106        ![variant_isset gcc45] && ![variant_isset g95]} {
    99107    default_variants +gcc44
    100108}
Note: See TracChangeset for help on using the changeset viewer.