Ticket #38232: gcc47.diff

File gcc47.diff, 94.0 KB (added by larryv (Lawrence Velázquez), 11 years ago)
  • trunk/dports/audio/ardour2/Portfile

    diff --git a/trunk/dports/audio/ardour2/Portfile b/trunk/dports/audio/ardour2/Portfile
    a b  
    7878        depends_lib-append port:slv2
    7979}
    8080
    81 variant gcc43 conflicts gcc44 gcc45 description {build with gcc 4.3} {
     81variant gcc43 conflicts gcc44 gcc45 gcc46 gcc47 description {build with gcc 4.3} {
    8282    depends_build-append    port:gcc43
    8383    configure.compiler      macports-gcc-4.3
    8484    build.env               CC=${configure.cc} CXX=${configure.cxx} CPP=${configure.cpp}
    8585    destroot.env            CC=${configure.cc} CXX=${configure.cxx} CPP=${configure.cpp}
    8686}
    8787
    88 variant gcc44 conflicts gcc43 gcc45 description {build with gcc 4.4} {
     88variant gcc44 conflicts gcc43 gcc45 gcc46 gcc47 description {build with gcc 4.4} {
    8989    depends_build-append    port:gcc44
    9090    configure.compiler      macports-gcc-4.4
    9191    build.env               CC=${configure.cc} CXX=${configure.cxx} CPP=${configure.cpp}
    9292    destroot.env            CC=${configure.cc} CXX=${configure.cxx} CPP=${configure.cpp}
    9393}
    9494
    95 variant gcc45 conflicts gcc43 gcc44 description {build with gcc 4.5} {
     95variant gcc45 conflicts gcc43 gcc44 gcc46 gcc47 description {build with gcc 4.5} {
    9696    depends_build-append    port:gcc45
    9797    configure.compiler      macports-gcc-4.5
    9898    build.env               CC=${configure.cc} CXX=${configure.cxx} CPP=${configure.cpp}
    9999    destroot.env            CC=${configure.cc} CXX=${configure.cxx} CPP=${configure.cpp}
    100100}
    101101
    102 if {![variant_isset gcc43] && ![variant_isset gcc44]} {
    103     default_variants +gcc45
     102variant gcc46 conflicts gcc43 gcc44 gcc45 gcc47 description {build with gcc 4.6} {
     103    depends_build-append    port:gcc46
     104    configure.compiler      macports-gcc-4.6
     105    build.env               CC=${configure.cc} CXX=${configure.cxx} CPP=${configure.cpp}
     106    destroot.env            CC=${configure.cc} CXX=${configure.cxx} CPP=${configure.cpp}
    104107}
    105108
     109variant gcc47 conflicts gcc43 gcc44 gcc45 gcc46 description {build with gcc 4.7} {
     110    depends_build-append    port:gcc47
     111    configure.compiler      macports-gcc-4.7
     112    build.env               CC=${configure.cc} CXX=${configure.cxx} CPP=${configure.cpp}
     113    destroot.env            CC=${configure.cc} CXX=${configure.cxx} CPP=${configure.cpp}
     114}
     115
     116if {![variant_isset gcc43] && ![variant_isset gcc44] && ![variant_isset gcc45] && ![variant_isset gcc46]} {
     117    default_variants +gcc47
     118}
     119
    106120platform darwin 10 {
    107121    # Broken on SL due to lack of support in scons configuration script.
    108122    pre-fetch {
  • trunk/dports/devel/fortrancl/Portfile

    diff --git a/trunk/dports/devel/fortrancl/Portfile b/trunk/dports/devel/fortrancl/Portfile
    a b  
    3838        ${destroot}${prefix}/share/${name}/examples/
    3939}
    4040
    41 if {![variant_isset g95]} {
    42    default_variants +gcc45
     41if {![variant_isset g95] && ![variant_isset gcc45] && ![variant_isset gcc46]} {
     42   default_variants +gcc47
    4343}
    4444
    45 variant gcc45 conflicts g95 description {build with gfortran-mp-4.5} {
     45variant gcc45 conflicts g95 gcc46 gcc47 description {build with gfortran-mp-4.5} {
    4646   depends_build-append    port:gcc45
    4747   configure.compiler      macports-gcc-4.5
    4848}
    4949
    50 variant g95 conflicts gcc45 description {build with g95} {
     50variant gcc46 conflicts g95 gcc45 gcc47 description {build with gfortran-mp-4.6} {
     51   depends_build-append    port:gcc46
     52   configure.compiler      macports-gcc-4.6
     53}
     54
     55variant gcc47 conflicts g95 gcc45 gcc46 description {build with gfortran-mp-4.7} {
     56   depends_build-append    port:gcc47
     57   configure.compiler      macports-gcc-4.7
     58}
     59
     60variant g95 conflicts gcc45 gcc46 gcc47 description {build with g95} {
    5161   depends_build-append    port:gcc45
    5262   configure.fc            g95
    5363}
  • trunk/dports/devel/lua-numlua/Portfile

    diff --git a/trunk/dports/devel/lua-numlua/Portfile b/trunk/dports/devel/lua-numlua/Portfile
    a b  
    44
    55name                    lua-numlua
    66version                 0.2.1
    7 revision                1
     7revision                2
    88license                 MIT
    99categories              devel
    1010platforms               darwin
     
    2929                        rmd160  6238e6b79cd446c47a676c4bcb3afa8fd41c42a6
    3030
    3131depends_build-append    port:lua \
    32                         port:gcc43
     32                        port:gcc47
    3333
    3434depends_lib-append      lib:fftw:fftw-3
    3535
  • trunk/dports/devel/pure-gen/Portfile

    diff --git a/trunk/dports/devel/pure-gen/Portfile b/trunk/dports/devel/pure-gen/Portfile
    a b  
    2525
    2626# pure-gen uses gcc at runtime to parse C headers but the
    2727# -fdirectives-only option it needs is only available in gcc 4.3 and up.
    28 variant gcc43 conflicts gcc44 gcc45 gcc46 description {Use gcc43 for runtime C header parsing} {
     28variant gcc43 conflicts gcc44 gcc45 gcc46 gcc47 description {Use gcc43 for runtime C header parsing} {
    2929    depends_run-append          path:bin/gcc-mp-4.3:gcc43
    3030    global gcc_version
    3131    set gcc_version             4.3
    3232}
    33 variant gcc44 conflicts gcc43 gcc45 gcc46 description {Use gcc44 for runtime C header parsing} {
     33variant gcc44 conflicts gcc43 gcc45 gcc46 gcc47 description {Use gcc44 for runtime C header parsing} {
    3434    depends_run-append          path:bin/gcc-mp-4.4:gcc44
    3535    global gcc_version
    3636    set gcc_version             4.4
    3737}
    38 variant gcc45 conflicts gcc43 gcc44 gcc46 description {Use gcc45 for runtime C header parsing} {
     38variant gcc45 conflicts gcc43 gcc44 gcc46 gcc47 description {Use gcc45 for runtime C header parsing} {
    3939    depends_run-append          path:bin/gcc-mp-4.5:gcc45
    4040    global gcc_version
    4141    set gcc_version             4.5
    4242}
    43 variant gcc46 conflicts gcc43 gcc44 gcc45 description {Use gcc46 for runtime C header parsing} {
     43variant gcc46 conflicts gcc43 gcc44 gcc45 gcc47 description {Use gcc46 for runtime C header parsing} {
    4444    depends_run-append          path:bin/gcc-mp-4.6:gcc46
    4545    global gcc_version
    4646    set gcc_version             4.6
    4747}
     48variant gcc47 conflicts gcc43 gcc44 gcc45 gcc46 description {Use gcc47 for runtime C header parsing} {
     49    depends_run-append          path:bin/gcc-mp-4.6:gcc47
     50    global gcc_version
     51    set gcc_version             4.7
     52}
    4853if {![variant_isset gcc43] && ![variant_isset gcc44] && ![variant_isset gcc45] && ![variant_isset gcc46]} {
    4954    if {${os.platform} == "darwin" && ${os.major} < 9} {
    5055        # gcc44 doesn't build for me on Tiger
    5156        default_variants +gcc43
    5257    } else {
    53         default_variants +gcc45
     58        default_variants +gcc47
    5459    }
    5560}
    5661
  • trunk/dports/devel/swig/Portfile

    diff --git a/trunk/dports/devel/swig/Portfile b/trunk/dports/devel/swig/Portfile
    a b  
    4949    chicken     {port:chicken           chicken}
    5050    clisp       {port:clisp             clisp}
    5151    csharp      {port:mono              csharp}
    52     gcj         {port:gcc45             "gcj=${prefix}/bin/gcj-mp-4.5 --with-gcjh=${prefix}/bin/gcjh-mp-4.5"}
     52    gcj         {port:gcc47             "gcj=${prefix}/bin/gcj-mp-4.7 --with-gcjh=${prefix}/bin/gcjh-mp-4.7"}
    5353    go          {port:go                go}
    5454    guile       {port:guile             guile}
    5555    java        {bin:java:kaffe         java}
     
    8989}
    9090
    9191subport swig-gcj {
    92     variant gcc43 conflicts gcc44 gcc45 description {build using GCJ 4.3} {
    93         depends_lib-delete port:gcc45
     92    variant gcc43 conflicts gcc44 gcc45 gcc47 description {build using GCJ 4.3} {
     93        depends_lib-delete port:gcc47
    9494        depends_lib-append port:gcc43
    95         configure.args-delete --with-gcj=${prefix}/bin/gcj-mp-4.5 --with-gcjh=${prefix}/bin/gcjh-mp-4.5
     95        configure.args-delete --with-gcj=${prefix}/bin/gcj-mp-4.7 --with-gcjh=${prefix}/bin/gcjh-mp-4.7
    9696        configure.args-append --with-gcj=${prefix}/bin/gcj-mp-4.3 --with-gcjh=${prefix}/bin/gcjh-mp-4.3
    9797    }
    9898
    99     variant gcc44 conflicts gcc43 gcc45 description {build using GCJ 4.4} {
    100         depends_lib-delete port:gcc45
     99    variant gcc44 conflicts gcc43 gcc45 gcc47 description {build using GCJ 4.4} {
     100        depends_lib-delete port:gcc47
    101101        depends_lib-append port:gcc44
    102         configure.args-delete --with-gcj=${prefix}/bin/gcj-mp-4.5 --with-gcjh=${prefix}/bin/gcjh-mp-4.5
     102        configure.args-delete --with-gcj=${prefix}/bin/gcj-mp-4.7 --with-gcjh=${prefix}/bin/gcjh-mp-4.7
    103103        configure.args-append --with-gcj=${prefix}/bin/gcj-mp-4.4 --with-gcjh=${prefix}/bin/gcjh-mp-4.4
    104104    }
    105105
    106     # just a placeholder variant until gcc46 gets added
    107     variant gcc45 conflicts gcc43 gcc44 description {build using GCJ 4.5} {}
     106    variant gcc45 conflicts gcc43 gcc44 gcc47 description {build using GCJ 4.5} {
     107        depends_lib-delete port:gcc47
     108        depends_lib-append port:gcc45
     109        configure.args-delete --with-gcj=${prefix}/bin/gcj-mp-4.7 --with-gcjh=${prefix}/bin/gcjh-mp-4.7
     110        configure.args-append --with-gcj=${prefix}/bin/gcj-mp-4.5 --with-gcjh=${prefix}/bin/gcjh-mp-4.5
     111    }
    108112
    109     if {![variant_isset gcc43] && ![variant_isset gcc44]} {
    110         default_variants +gcc45
     113    # No +gcc46 because the gcc46 port does not build GCJ.
     114
     115    # Placeholder variant for the default.
     116    variant gcc47 conflicts gcc43 gcc44 gcc45 description {build using GCJ 4.7} {}
     117
     118    if {![variant_isset gcc43] && ![variant_isset gcc44] && ![variant_isset gcc45]} {
     119        default_variants +gcc47
    111120    }
    112121}
    113122
  • trunk/dports/fuse/offlinefs/Portfile

    diff --git a/trunk/dports/fuse/offlinefs/Portfile b/trunk/dports/fuse/offlinefs/Portfile
    a b  
    55
    66name                offlinefs
    77version             0.4.6
    8 revision            1
     8revision            2
    99categories          fuse
    1010
    1111platforms           darwin
     
    3232depends_build       port:automake \
    3333                    port:autoconf \
    3434                    port:libtool  \
    35                     port:gcc45
     35                    port:gcc47
    3636
    3737depends_lib         port:fuse4x \
    3838                    port:dbus-devel \
  • trunk/dports/games/snoopy/Portfile

    diff --git a/trunk/dports/games/snoopy/Portfile b/trunk/dports/games/snoopy/Portfile
    a b  
    3131    patchfiles          patch-brain.c.diff
    3232}
    3333
    34 variant gcc45 conflicts gcc43 gcc44 description {build with gcc 4.5} {
     34variant gcc47 conflicts gcc43 gcc44 gcc45 gcc46 description {build with gcc 4.7} {
     35    depends_lib-append  port:gcc47
     36    configure.compiler  macports-gcc-4.7
     37}
     38
     39variant gcc46 conflicts gcc43 gcc44 gcc45 gcc47 description {build with gcc 4.6} {
     40    depends_lib-append  port:gcc46
     41    configure.compiler  macports-gcc-4.6
     42}
     43
     44variant gcc45 conflicts gcc43 gcc44 gcc46 gcc47 description {build with gcc 4.5} {
    3545    depends_lib-append  port:gcc45
    3646    configure.compiler  macports-gcc-4.5
    3747}
    3848
    39 variant gcc44 conflicts gcc43 gcc45 description {build with gcc 4.4} {
     49variant gcc44 conflicts gcc43 gcc45 gcc46 gcc47 description {build with gcc 4.4} {
    4050    depends_lib-append  port:gcc44
    4151    configure.compiler  macports-gcc-4.4
    4252}
    4353
    44 variant gcc43 conflicts gcc44 gcc45 description {build with gcc 4.3} {
     54variant gcc43 conflicts gcc44 gcc45 gcc46 gcc47 description {build with gcc 4.3} {
    4555    depends_lib-append  port:gcc43
    4656    configure.compiler  macports-gcc-4.3
    4757}
    4858
    49 if {![variant_isset gcc43] && ![variant_isset gcc44]} {
    50     default_variants +gcc45
     59if {![variant_isset gcc43] && ![variant_isset gcc44] && ![variant_isset gcc45] && ![variant_isset gcc46]} {
     60    default_variants +gcc47
    5161}
    5262
    5363livecheck.type      regex
  • trunk/dports/graphics/pgplot/Portfile

    diff --git a/trunk/dports/graphics/pgplot/Portfile b/trunk/dports/graphics/pgplot/Portfile
    a b  
    223223    }
    224224}
    225225
    226 variant gcc43 description {build with gfortran from gcc43} conflicts gcc44 gcc45 gcc46 g95 {
     226variant gcc43 description {build with gfortran from gcc43} conflicts gcc44 gcc45 gcc46 gcc47 g95 {
    227227    depends_lib-append  port:gcc43
    228228    configure.fc        ${prefix}/bin/gfortran-mp-4.3
    229229}
    230230
    231 variant gcc44 description {build with gfortran from gcc44} conflicts gcc43 gcc45 gcc46 g95 {
     231variant gcc44 description {build with gfortran from gcc44} conflicts gcc43 gcc45 gcc46 gcc47 g95 {
    232232    depends_lib-append  port:gcc44
    233233    configure.fc        ${prefix}/bin/gfortran-mp-4.4
    234234}
    235235
    236 variant gcc45 description {build with gfortran from gcc45} conflicts gcc43 gcc44 gcc46 g95 {
     236variant gcc45 description {build with gfortran from gcc45} conflicts gcc43 gcc44 gcc46 gcc47 g95 {
    237237    depends_lib-append  port:gcc45
    238238    configure.fc        ${prefix}/bin/gfortran-mp-4.5
    239239}
    240240
    241 variant gcc46 description {build with gfortran from gcc46} conflicts gcc43 gcc44 gcc45 g95 {
     241variant gcc46 description {build with gfortran from gcc46} conflicts gcc43 gcc44 gcc45 gcc47 g95 {
    242242    depends_lib-append  port:gcc46
    243243    configure.fc        ${prefix}/bin/gfortran-mp-4.6
    244244}
    245245
    246 variant g95 description {build with g95} conflicts gcc43 gcc44 gcc45 gcc46 {
     246variant gcc47 description {build with gfortran from gcc47} conflicts gcc43 gcc44 gcc45 gcc46 g95 {
     247    depends_lib-append  port:gcc47
     248    configure.fc        ${prefix}/bin/gfortran-mp-4.7
     249}
     250
     251variant g95 description {build with g95} conflicts gcc43 gcc44 gcc45 gcc46 gcc47 {
    247252    depends_lib-append  port:g95
    248253    configure.fc        ${prefix}/bin/g95
    249254}
    250255
    251 if {![variant_isset g95] && ![variant_isset gcc43] && ![variant_isset gcc44] && ![variant_isset gcc46]} {
    252     default_variants +gcc45
     256if {![variant_isset g95] && ![variant_isset gcc43] && ![variant_isset gcc44] && ![variant_isset gcc45] && ![variant_isset gcc46]} {
     257    default_variants +gcc47
    253258}
    254259
    255260variant docs description {Create and install docs} {
  • trunk/dports/lang/adaptor/Portfile

    diff --git a/trunk/dports/lang/adaptor/Portfile b/trunk/dports/lang/adaptor/Portfile
    a b  
    6060
    6161destroot.destdir PREFIX=${destroot}${prefix}/lib/${name}
    6262
    63 variant gcc43 conflicts g95 gcc44 gcc45 description {build with gfortran 4.3} {
     63variant gcc43 conflicts g95 gcc44 gcc45 gcc46 gcc47 description {build with gfortran 4.3} {
    6464    depends_lib-append port:gcc43
    6565    configure.f77 ${prefix}/bin/gfortran-mp-4.3
    6666    configure.f90 ${prefix}/bin/gfortran-mp-4.3
    6767}
    6868
    69 variant gcc44 conflicts g95 gcc43 gcc45 description {build with gfortran 4.4} {
     69variant gcc44 conflicts g95 gcc43 gcc45 gcc46 gcc47 description {build with gfortran 4.4} {
    7070    depends_lib-append port:gcc44
    7171    configure.f77 ${prefix}/bin/gfortran-mp-4.4
    7272    configure.f90 ${prefix}/bin/gfortran-mp-4.4
    7373}
    7474
    75 variant gcc45 conflicts g95 gcc43 gcc44 description {build with gfortran 4.5} {
     75variant gcc45 conflicts g95 gcc43 gcc44 gcc46 gcc47 description {build with gfortran 4.5} {
    7676    depends_lib-append port:gcc45
    7777    configure.f77 ${prefix}/bin/gfortran-mp-4.5
    7878    configure.f90 ${prefix}/bin/gfortran-mp-4.5
    7979}
    8080
    81 variant g95 conflicts gcc43 gcc44 gcc45 description {build with g95} {
     81variant gcc46 conflicts g95 gcc43 gcc44 gcc45 gcc47 description {build with gfortran 4.6} {
     82    depends_lib-append port:gcc46
     83    configure.f77 ${prefix}/bin/gfortran-mp-4.6
     84    configure.f90 ${prefix}/bin/gfortran-mp-4.6
     85}
     86
     87variant gcc47 conflicts g95 gcc43 gcc44 gcc45 gcc46 description {build with gfortran 4.7} {
     88    depends_lib-append port:gcc47
     89    configure.f77 ${prefix}/bin/gfortran-mp-4.7
     90    configure.f90 ${prefix}/bin/gfortran-mp-4.7
     91}
     92
     93variant g95 conflicts gcc43 gcc44 gcc45 gcc46 gcc47 description {build with g95} {
    8294    depends_lib-append port:g95
    8395    configure.f77 ${prefix}/bin/g95
    8496    configure.f90 ${prefix}/bin/g95
     
    8799
    88100}
    89101
    90 if {![variant_isset gcc43] && ![variant_isset gcc44] && ![variant_isset g95]} {
    91     default_variants +gcc45
     102if {![variant_isset gcc43] && ![variant_isset gcc44] && ![variant_isset gcc45] && ![variant_isset gcc46] && ![variant_isset g95]} {
     103    default_variants +gcc47
    92104}
  • trunk/dports/lang/ftidy/Portfile

    diff --git a/trunk/dports/lang/ftidy/Portfile b/trunk/dports/lang/ftidy/Portfile
    a b  
    3131
    3232patchfiles              tidy.for.patch
    3333
    34 if { ![variant_isset gcc43] && ![variant_isset gcc44] } {
    35     default_variants    +gcc45
     34if { ![variant_isset gcc43] && ![variant_isset gcc44] && ![variant_isset gcc45] && ![variant_isset gcc46] } {
     35    default_variants    +gcc47
    3636}
    3737
    38 variant gcc43 conflicts gcc44 gcc45 description {Build using gcc43} {
     38variant gcc43 conflicts gcc44 gcc45 gcc46 gcc47 description {Build using gcc43} {
    3939    depends_build   port:gcc43
    4040    configure.compiler  macports-gcc-4.3
    4141}
    4242
    43 variant gcc44 conflicts gcc43 gcc45 description {Build using gcc44} {
     43variant gcc44 conflicts gcc43 gcc45 gcc46 gcc47 description {Build using gcc44} {
    4444    depends_build   port:gcc44
    4545    configure.compiler  macports-gcc-4.4
    4646}
    4747
    48 variant gcc45 conflicts gcc43 gcc44 description {Build using gcc45} {
     48variant gcc45 conflicts gcc43 gcc44 gcc46 gcc47 description {Build using gcc45} {
    4949    depends_build   port:gcc45
    5050    configure.compiler  macports-gcc-4.5
    5151}
    5252
     53variant gcc46 conflicts gcc43 gcc44 gcc45 gcc47 description {Build using gcc46} {
     54    depends_build   port:gcc46
     55    configure.compiler  macports-gcc-4.6
     56}
     57
     58variant gcc47 conflicts gcc43 gcc44 gcc45 gcc46 description {Build using gcc47} {
     59    depends_build   port:gcc47
     60    configure.compiler  macports-gcc-4.7
     61}
     62
    5363build.pre_args        ${configure.fflags} ${configure.f77_archflags}
    5464pre-build {
    5565    build.cmd         ${configure.f77}
  • trunk/dports/lang/omnixmp/Portfile

    diff --git a/trunk/dports/lang/omnixmp/Portfile b/trunk/dports/lang/omnixmp/Portfile
    a b  
    4545    ln -s ${prefix}/lib/${name}/bin/xmpcc ${destroot}${prefix}/bin
    4646}
    4747
    48 if {![variant_isset gcc44] && ![variant_isset gcc46] && ![variant_isset gcc47]} {
    49     default_variants    +gcc45
     48if {![variant_isset gcc44] && ![variant_isset gcc45] && ![variant_isset gcc46]} {
     49    default_variants    +gcc47
    5050}
    5151
    5252if {![variant_isset mpich]} {
  • trunk/dports/math/R/Portfile

    diff --git a/trunk/dports/math/R/Portfile b/trunk/dports/math/R/Portfile
    a b  
    103103
    104104if {![variant_isset gcc42] && ![variant_isset gcc43] && ![variant_isset gcc44] &&
    105105    ![variant_isset gcc45] && ![variant_isset gcc46] && ![variant_isset gcc47]} {
    106     default_variants-append +gcc45
     106    default_variants-append +gcc47
    107107}
    108108
    109109post-patch {
  • trunk/dports/math/arpack/Portfile

    diff --git a/trunk/dports/math/arpack/Portfile b/trunk/dports/math/arpack/Portfile
    a b  
    9191        configure.env-append F77=${prefix}/bin/g95
    9292}
    9393
    94 if { ![variant_isset gcc43] && ![variant_isset gcc44] && ![variant_isset gcc46] && ![variant_isset gcc47] && ![variant_isset g95] } {
    95         default_variants      +gcc45
     94if { ![variant_isset gcc43] && ![variant_isset gcc44] && ![variant_isset gcc45] && ![variant_isset gcc46] && ![variant_isset g95] } {
     95        default_variants      +gcc47
    9696}
    9797
    9898# warning: this is ignored if atlas is installed
  • trunk/dports/math/atlas/Portfile

    diff --git a/trunk/dports/math/atlas/Portfile b/trunk/dports/math/atlas/Portfile
    a b  
    125125        configure.cc        ${prefix}/bin/clang-mp-3.2
    126126    } else {
    127127
    128         # Defaults to gcc45
    129         set gccversion 4.5
    130         default_variants +gcc45
     128        # Defaults to gcc47
     129        set gccversion 4.7
     130        default_variants +gcc47
    131131    }
    132132} else {
    133133
     
    159159
    160160    } else {
    161161
    162         # Defaults to gcc45
    163         set gccversion 4.5
    164         default_variants    +gcc45
     162        # Defaults to gcc47
     163        set gccversion 4.7
     164        default_variants    +gcc47
    165165    }
    166166}
    167167
  • trunk/dports/math/dotwrp/Portfile

    diff --git a/trunk/dports/math/dotwrp/Portfile b/trunk/dports/math/dotwrp/Portfile
    a b  
    2020
    2121use_configure   no
    2222
    23 if { ![variant_isset g95] && ![variant_isset gcc44] && ![variant_isset gcc46] && ![variant_isset gcc47]} {
    24     default_variants +gcc45
     23if { ![variant_isset g95] && ![variant_isset gcc44] && ![variant_isset gcc45] && ![variant_isset gcc46]} {
     24    default_variants +gcc47
    2525}
    2626
    2727if {[variant_isset g95]} {
     
    6363    depends_build       port:gcc46
    6464}
    6565
    66 variant gcc47 conflicts g95 gcc44 gcc45 gcc46 description {compile with gfortran-mp-4.6} {
     66variant gcc47 conflicts g95 gcc44 gcc45 gcc46 description {compile with gfortran-mp-4.7} {
    6767    depends_build       port:gcc47
    6868}
  • trunk/dports/math/fftw/Portfile

    diff --git a/trunk/dports/math/fftw/Portfile b/trunk/dports/math/fftw/Portfile
    a b  
    3636
    3737variant fortran requires g95 description {obsolete synonym for g95} {}
    3838
    39 variant g95 conflicts gcc43 gcc44 gcc45 description {include fortran-callable wrappers built with g95} {
     39variant g95 conflicts gcc43 gcc44 gcc45 gcc46 gcc47 description {include fortran-callable wrappers built with g95} {
    4040        depends_lib-append      port:g95
    4141        configure.f77           ${prefix}/bin/g95
    4242}
    4343
    44 variant gcc43 conflicts g95 gcc44 gcc45 description {include fortran-callable wrappers built with gcc 4.3} {
     44variant gcc43 conflicts g95 gcc44 gcc45 gcc46 gcc47 description {include fortran-callable wrappers built with gcc 4.3} {
    4545        depends_lib-append      port:gcc43
    4646        configure.compiler  macports-gcc-4.3
    4747}
    4848
    49 variant gcc44 conflicts g95 gcc43 gcc45 description {include fortran-callable wrappers built with gcc 4.4} {
     49variant gcc44 conflicts g95 gcc43 gcc45 gcc46 gcc47 description {include fortran-callable wrappers built with gcc 4.4} {
    5050        depends_lib-append      port:gcc44
    5151        configure.compiler  macports-gcc-4.4
    5252}
    5353
    54 variant gcc45 conflicts g95 gcc43 gcc44 description {include fortran-callable wrappers built with gcc 4.5} {
     54variant gcc45 conflicts g95 gcc43 gcc44 gcc46 gcc47 description {include fortran-callable wrappers built with gcc 4.5} {
    5555        depends_lib-append      port:gcc45
    5656        configure.compiler  macports-gcc-4.5
    5757}
    5858
    59 if {[variant_isset g95] || [variant_isset gcc43] || [variant_isset gcc44] || [variant_isset gcc45]} {
     59variant gcc46 conflicts g95 gcc43 gcc44 gcc45 gcc47 description {include fortran-callable wrappers built with gcc 4.6} {
     60        depends_lib-append      port:gcc46
     61        configure.compiler  macports-gcc-4.6
     62}
     63
     64variant gcc47 conflicts g95 gcc43 gcc44 gcc45 gcc46 description {include fortran-callable wrappers built with gcc 4.7} {
     65        depends_lib-append      port:gcc47
     66        configure.compiler  macports-gcc-4.7
     67}
     68
     69if {[variant_isset g95] || [variant_isset gcc43] || [variant_isset gcc44] || [variant_isset gcc45] || [variant_isset gcc46] || [variant_isset gcc47]} {
    6070    configure.args-delete       --disable-fortran
    6171    configure.args-append       --enable-fortran
    6272    if {![variant_isset g95]} {
  • trunk/dports/math/fftw-single/Portfile

    diff --git a/trunk/dports/math/fftw-single/Portfile b/trunk/dports/math/fftw-single/Portfile
    a b  
    4242                --infodir=${prefix}/share/info \
    4343                --enable-shared
    4444
    45 variant g95 conflicts gcc43 gcc44 gcc45 description {include fortran-callable wrappers built with g95} {
     45variant g95 conflicts gcc43 gcc44 gcc45 gcc46 gcc47 description {include fortran-callable wrappers built with g95} {
    4646        depends_lib-append      port:g95
    4747        configure.f77           ${prefix}/bin/g95
    4848}
    4949
    50 variant gcc43 conflicts g95 gcc44 gcc45 description {include fortran-callable wrappers built with gcc 4.3} {
     50variant gcc43 conflicts g95 gcc44 gcc45 gcc46 gcc47 description {include fortran-callable wrappers built with gcc 4.3} {
    5151        depends_lib-append      port:gcc43
    5252        configure.compiler  macports-gcc-4.3
    5353}
    5454
    55 variant gcc44 conflicts g95 gcc43 gcc45 description {include fortran-callable wrappers built with gcc 4.4} {
     55variant gcc44 conflicts g95 gcc43 gcc45 gcc46 gcc47 description {include fortran-callable wrappers built with gcc 4.4} {
    5656        depends_lib-append      port:gcc44
    5757        configure.compiler  macports-gcc-4.4
    5858}
    5959
    60 variant gcc45 conflicts g95 gcc43 gcc44 description {include fortran-callable wrappers built with gcc 4.5} {
     60variant gcc45 conflicts g95 gcc43 gcc44 gcc46 gcc47 description {include fortran-callable wrappers built with gcc 4.5} {
    6161        depends_lib-append      port:gcc45
    6262        configure.compiler  macports-gcc-4.5
    6363}
    6464
    65 if {[variant_isset g95] || [variant_isset gcc43] || [variant_isset gcc44] || [variant_isset gcc45]} {
     65variant gcc46 conflicts g95 gcc43 gcc44 gcc45 gcc47 description {include fortran-callable wrappers built with gcc 4.6} {
     66        depends_lib-append      port:gcc46
     67        configure.compiler  macports-gcc-4.6
     68}
     69
     70variant gcc47 conflicts g95 gcc43 gcc44 gcc45 gcc46 description {include fortran-callable wrappers built with gcc 4.7} {
     71        depends_lib-append      port:gcc47
     72        configure.compiler  macports-gcc-4.7
     73}
     74
     75if {[variant_isset g95] || [variant_isset gcc43] || [variant_isset gcc44] || [variant_isset gcc45] || [variant_isset gcc46] || [variant_isset gcc47]} {
    6676    configure.args-delete       --disable-fortran
    6777    configure.args-append       --enable-fortran
    6878    if {![variant_isset g95]} {
  • trunk/dports/math/octave/Portfile

    diff --git a/trunk/dports/math/octave/Portfile b/trunk/dports/math/octave/Portfile
    a b  
    109109    }
    110110}
    111111
    112 variant gcc43 description {build with the macports gcc43 toolchain} conflicts gcc44 gcc45 g95 {
     112variant gcc43 description {build with the macports gcc43 toolchain} conflicts gcc44 gcc45 gcc46 gcc47 g95 {
    113113    depends_build-append    port:gcc43
    114114    configure.compiler      macports-gcc-4.3
    115115}
    116116
    117 variant gcc44 description {build with the macports gcc44 toolchain} conflicts gcc43 gcc45 g95 {
     117variant gcc44 description {build with the macports gcc44 toolchain} conflicts gcc43 gcc45 gcc46 gcc47 g95 {
    118118    depends_build-append    port:gcc44
    119119    configure.compiler      macports-gcc-4.4
    120120}
    121121
    122 variant gcc45 description {build with the macports gcc45 toolchain} conflicts gcc43 gcc44 g95 {
     122variant gcc45 description {build with the macports gcc45 toolchain} conflicts gcc43 gcc44 gcc46 gcc47 g95 {
    123123    depends_build-append    port:gcc45
    124124    configure.compiler      macports-gcc-4.5
    125125}
    126126
    127 variant g95 description {build with g95} requires accelerate conflicts atlas gcc43 gcc44 gcc45 {
     127variant gcc46 description {build with the macports gcc46 toolchain} conflicts gcc43 gcc44 gcc45 gcc47 g95 {
     128    depends_build-append    port:gcc46
     129    configure.compiler      macports-gcc-4.6
     130}
     131
     132variant gcc47 description {build with the macports gcc47 toolchain} conflicts gcc43 gcc44 gcc45 gcc46 g95 {
     133    depends_build-append    port:gcc47
     134    configure.compiler      macports-gcc-4.7
     135}
     136
     137variant g95 description {build with g95} requires accelerate conflicts atlas gcc43 gcc44 gcc45 gcc46 gcc47 {
    128138    depends_build-append    port:g95
    129139    configure.f77       "${prefix}/bin/g95"
    130140}
    131141
    132 if { ![variant_isset gcc43] && ![variant_isset gcc44] && ![variant_isset g95] } {
    133     default_variants +gcc45
     142if { ![variant_isset gcc43] && ![variant_isset gcc44] && ![variant_isset gcc45] && ![variant_isset gcc46] && ![variant_isset g95] } {
     143    default_variants +gcc47
    134144}
    135 if {![variant_isset gcc43] && ![variant_isset gcc44] && ![variant_isset gcc45] && ![variant_isset g95]} {
     145if {![variant_isset gcc43] && ![variant_isset gcc44] && ![variant_isset gcc45] && ![variant_isset gcc46] && ![variant_isset gcc47] && ![variant_isset g95]} {
    136146    pre-fetch {
    137147        return -code error "You must use one of the compiler variants."
    138148    }
  • trunk/dports/math/octave-devel/Portfile

    diff --git a/trunk/dports/math/octave-devel/Portfile b/trunk/dports/math/octave-devel/Portfile
    a b  
    148148# check for GCC / G95 variants.  The default here must match the
    149149# default found in the 'atlas' port (but, this is not checked for).
    150150
    151 # check for setting the default variant (gcc44)
     151# check for setting the default variant (gcc47)
    152152if { ![variant_isset gcc43] && ![variant_isset gcc44] && \
    153          ![variant_isset gcc46] && ![variant_isset gcc47] && ![variant_isset g95] } {
    154     default_variants +gcc45
     153         ![variant_isset gcc45] && ![variant_isset gcc46] && ![variant_isset g95] } {
     154    default_variants +gcc47
    155155}
    156156
    157 # check if the user disabled just the default variant: -gcc44
     157# check if the user disabled just the default variant: -gcc47
    158158if { ![variant_isset gcc43] && ![variant_isset gcc44] && \
    159159         ![variant_isset gcc45] && ![variant_isset gcc46] && \
    160160         ![variant_isset gcc47] && ![variant_isset g95] } {
  • trunk/dports/math/qrupdate/Portfile

    diff --git a/trunk/dports/math/qrupdate/Portfile b/trunk/dports/math/qrupdate/Portfile
    a b  
    115115    }
    116116}
    117117
    118 if {![variant_isset gcc46] && ![variant_isset gcc47] \
     118if {![variant_isset gcc45] && ![variant_isset gcc46] \
    119119        && ![variant_isset g95]} {
    120         if {![variant_isset universal]} {
    121                 default_variants +gcc45
    122         } else {
    123                 default_variants +gcc46
    124         }
     120        default_variants +gcc47
    125121}
    126122
    127123
  • trunk/dports/math/shogun/Portfile

    diff --git a/trunk/dports/math/shogun/Portfile b/trunk/dports/math/shogun/Portfile
    a b  
    143143#   configure.args-delete --disable-doxygen
    144144# }
    145145
    146 variant gcc43 conflicts gcc44 gcc45 description {build with gcc 4.3} {}
    147 variant gcc44 conflicts gcc43 gcc45 description {build with gcc 4.4} {}
    148 variant gcc45 conflicts gcc43 gcc44 description {build with gcc 4.5} {}
     146variant gcc43 conflicts gcc44 gcc45 gcc46 gcc47 description {build with gcc 4.3} {}
     147variant gcc44 conflicts gcc43 gcc45 gcc46 gcc47 description {build with gcc 4.4} {}
     148variant gcc45 conflicts gcc43 gcc44 gcc46 gcc47 description {build with gcc 4.5} {}
     149variant gcc46 conflicts gcc43 gcc44 gcc45 gcc47 description {build with gcc 4.6} {}
     150variant gcc47 conflicts gcc43 gcc44 gcc45 gcc46 description {build with gcc 4.7} {}
    149151
    150152if {[variant_isset gcc43]} {
    151153    set gccversion 4.3
    152154} elseif {[variant_isset gcc44]} {
    153155    set gccversion 4.4
     156} elseif {[variant_isset gcc45]} {
     157    set gccversion 4.5
     158} elseif {[variant_isset gcc46]} {
     159    set gccversion 4.6
    154160} else {
    155     default_variants +gcc45
    156     set gccversion 4.5
     161    default_variants +gcc47
     162    set gccversion 4.7
    157163}
    158164
    159165set gccnumber [join [split ${gccversion} .] ""]
  • trunk/dports/net/lam/Portfile

    diff --git a/trunk/dports/net/lam/Portfile b/trunk/dports/net/lam/Portfile
    a b  
    3535
    3636destroot.args   docdir=${prefix}/share/doc/lam
    3737
    38 variant gcc43 description {enable Fortran support with GCC 4.3} conflicts gcc44 gcc45 g95 {
     38variant gcc43 description {enable Fortran support with GCC 4.3} conflicts gcc44 gcc45 gcc46 gcc47 g95 {
    3939        depends_lib   port:gcc43
    4040        configure.args-delete   --without-fc
    4141        configure.args-append   --with-fc=${prefix}/bin/gfortran-mp-4.3
    4242}
    4343
    44 variant gcc44 description {enable Fortran support with GCC 4.4} conflicts gcc43 gcc45 g95 {
     44variant gcc44 description {enable Fortran support with GCC 4.4} conflicts gcc43 gcc45 gcc46 gcc47 g95 {
    4545        depends_lib   port:gcc44
    4646        configure.args-delete   --without-fc
    4747        configure.args-append   --with-fc=${prefix}/bin/gfortran-mp-4.4
    4848}
    4949
    50 variant gcc45 description {enable Fortran support with GCC 4.5} conflicts gcc43 gcc44 g95 {
     50variant gcc45 description {enable Fortran support with GCC 4.5} conflicts gcc43 gcc44 gcc46 gcc47 g95 {
    5151        depends_lib   port:gcc45
    5252        configure.args-delete   --without-fc
    5353        configure.args-append   --with-fc=${prefix}/bin/gfortran-mp-4.5
    5454}
    5555
    56 variant g95 description {enable Fortran support with G95} conflicts gcc43 gcc44 gcc45 {
     56variant gcc46 description {enable Fortran support with GCC 4.6} conflicts gcc43 gcc44 gcc45 gcc47 g95 {
     57        depends_lib   port:gcc46
     58        configure.args-delete   --without-fc
     59        configure.args-append   --with-fc=${prefix}/bin/gfortran-mp-4.6
     60}
     61
     62variant gcc47 description {enable Fortran support with GCC 4.7} conflicts gcc43 gcc44 gcc45 gcc46 g95 {
     63        depends_lib   port:gcc47
     64        configure.args-delete   --without-fc
     65        configure.args-append   --with-fc=${prefix}/bin/gfortran-mp-4.7
     66}
     67
     68variant g95 description {enable Fortran support with G95} conflicts gcc43 gcc44 gcc45 gcc46 gcc47 {
    5769        depends_lib   port:g95
    5870        configure.args-delete   --without-fc
    5971        configure.args-append   --with-fc=${prefix}/bin/g95
  • trunk/dports/perl/p5-extutils-f77/Portfile

    diff --git a/trunk/dports/perl/p5-extutils-f77/Portfile b/trunk/dports/perl/p5-extutils-f77/Portfile
    a b  
    55
    66perl5.branches      5.8 5.10 5.12 5.14 5.16
    77perl5.setup         ExtUtils-F77 1.16
    8 revision            3
     8revision            4
    99license             {Artistic-1 GPL}
    1010maintainers         nomaintainer
    1111description         Helper for linking C with Fortran subroutines
     
    2222if {${perl5.major} != ""} {
    2323# Note, patch-F77.pm has some bits specific to gcc43, so if this dependency
    2424# is updated, update the patch as well
    25 depends_lib-append  port:gcc43
     25depends_lib-append  port:gcc47
    2626
    2727supported_archs noarch
    2828
    2929platform darwin {
    30    patchfiles-append   patch-F77.pm
     30   patchfiles-append   patch-F77.pm.diff
    3131    post-patch {
    3232        reinplace "s|@@PREFIX@@|${prefix}|g" ${worksrcpath}/F77.pm
    3333    }
  • deleted file trunk/dports/perl/p5-extutils-f77/files/patch-F77.pm

    diff --git a/trunk/dports/perl/p5-extutils-f77/files/patch-F77.pm b/trunk/dports/perl/p5-extutils-f77/files/patch-F77.pm
    deleted file mode 10644
    + -  
    1 --- F77.pm.orig 2007-04-01 22:40:23.000000000 -0600
    2 +++ F77.pm      2009-03-05 15:32:52.000000000 -0700
    3 @@ -341,10 +341,10 @@
    4  
    5  $F77config{Darwin}{GFortran}{Trail_} = 1;
    6  $F77config{Darwin}{GFortran}{Cflags} = ' ';        # <---need this space!
    7 -$F77config{Darwin}{GFortran}{Link}   = '-L/usr/local/lib -lgfortran';   
    8 -$F77config{Darwin}{GFortran}{Compiler} = 'gfortran';
    9 +$F77config{Darwin}{GFortran}{Link}   = '-L@@PREFIX@@/lib/gcc43 -lgfortran';   
    10 +$F77config{Darwin}{GFortran}{Compiler} = 'gfortran-mp-4.3';
    11  
    12 -$F77config{Darwin}{DEFAULT}     = 'G77';
    13 +$F77config{Darwin}{DEFAULT}     = 'GFortran';
    14  
    15  ############ End of database is here ############
    16  
  • (a) a/trunk/dports/perl/p5-extutils-f77/files/patch-F77.pm vs. (b) b/trunk/dports/perl/p5-extutils-f77/files/patch-F77.pm.diff

    diff --git a/trunk/dports/perl/p5-extutils-f77/files/patch-F77.pm b/trunk/dports/perl/p5-extutils-f77/files/patch-F77.pm.diff
    copy from trunk/dports/perl/p5-extutils-f77/files/patch-F77.pm
    copy to trunk/dports/perl/p5-extutils-f77/files/patch-F77.pm.diff
    a b  
    1 --- F77.pm.orig 2007-04-01 22:40:23.000000000 -0600
    2 +++ F77.pm      2009-03-05 15:32:52.000000000 -0700
     1--- F77.pm.orig 2007-04-02 00:40:23.000000000 -0400
     2+++ F77.pm      2013-02-28 02:20:42.000000000 -0500
    33@@ -341,10 +341,10 @@
    44 
    55 $F77config{Darwin}{GFortran}{Trail_} = 1;
    66 $F77config{Darwin}{GFortran}{Cflags} = ' ';        # <---need this space!
    77-$F77config{Darwin}{GFortran}{Link}   = '-L/usr/local/lib -lgfortran';   
    88-$F77config{Darwin}{GFortran}{Compiler} = 'gfortran';
    9 +$F77config{Darwin}{GFortran}{Link}   = '-L@@PREFIX@@/lib/gcc43 -lgfortran';   
    10 +$F77config{Darwin}{GFortran}{Compiler} = 'gfortran-mp-4.3';
     9+$F77config{Darwin}{GFortran}{Link}   = '-L@@PREFIX@@/lib/gcc47 -lgfortran';   
     10+$F77config{Darwin}{GFortran}{Compiler} = 'gfortran-mp-4.7';
    1111 
    1212-$F77config{Darwin}{DEFAULT}     = 'G77';
    1313+$F77config{Darwin}{DEFAULT}     = 'GFortran';
  • trunk/dports/python/py-milk/Portfile

    diff --git a/trunk/dports/python/py-milk/Portfile b/trunk/dports/python/py-milk/Portfile
    a b  
    4747    }
    4848
    4949    if {![variant_isset gcc45] && ![variant_isset gcc46] && ![variant_isset gcc47]} {
    50         default_variants +gcc45
     50        default_variants +gcc47
    5151    }
    5252
    5353    if {[variant_isset gcc45] || [variant_isset gcc46] || [variant_isset gcc47]} {
  • trunk/dports/python/py-obspy/Portfile

    diff --git a/trunk/dports/python/py-obspy/Portfile b/trunk/dports/python/py-obspy/Portfile
    a b  
    7373    }
    7474
    7575    if {![variant_isset gcc43] && ![variant_isset gcc44] && ![variant_isset gcc45] && ![variant_isset gcc46] && ![variant_isset gcc47]} {
    76         default_variants +gcc45
     76        default_variants +gcc47
    7777    }
    7878}
  • trunk/dports/python/py-scipy/Portfile

    diff --git a/trunk/dports/python/py-scipy/Portfile b/trunk/dports/python/py-scipy/Portfile
    a b  
    126126                        CXX="${prefix}/bin/g++-mp-4.7"
    127127}
    128128
    129 if { ![variant_isset gcc43] && ![variant_isset gcc44] && ![variant_isset gcc46] && ![variant_isset gcc47]} {
    130   default_variants      +gcc45
     129if { ![variant_isset gcc43] && ![variant_isset gcc44] && ![variant_isset gcc45] && ![variant_isset gcc46]} {
     130  default_variants      +gcc47
    131131}
    132132
    133133}
  • trunk/dports/python/py-usadel1/Portfile

    diff --git a/trunk/dports/python/py-usadel1/Portfile b/trunk/dports/python/py-usadel1/Portfile
    a b  
    5454        configure.compiler  macports-gcc-4.8
    5555    }
    5656   
    57     if {![variant_isset gcc46] && ![variant_isset gcc47] && ![variant_isset gcc48]} {
    58         default_variants +gcc45
     57    if {![variant_isset gcc45] && ![variant_isset gcc46] && ![variant_isset gcc48]} {
     58        default_variants +gcc47
    5959    }
    6060
    6161    build.args          config_fc \
  • trunk/dports/python/py25-pymc/Portfile

    diff --git a/trunk/dports/python/py25-pymc/Portfile b/trunk/dports/python/py25-pymc/Portfile
    a b  
    3232patchfiles-append   patch-pymc-gibbsit.f.diff
    3333depends_lib-append  port:py25-numpy
    3434
    35 variant gcc43 description {create Fortran wrappers using gcc43} conflicts gcc44 gcc45 g95 {
     35variant gcc43 description {create Fortran wrappers using gcc43} conflicts gcc44 gcc45 gcc46 gcc47 g95 {
    3636    depends_lib-append    port:gcc43
    3737    set fc                ${prefix}/bin/gfortran-mp-4.3
    3838    build.env-append      F77=${fc} F90=${fc}
    3939}
    4040
    41 variant gcc44 description {create Fortran wrappers using gcc44} conflicts gcc43 gcc45 g95 {
     41variant gcc44 description {create Fortran wrappers using gcc44} conflicts gcc43 gcc45 gcc46 gcc47 g95 {
    4242    depends_lib-append    port:gcc44
    4343    set fc                ${prefix}/bin/gfortran-mp-4.4
    4444    build.env-append      F77=${fc} F90=${fc}
    4545}
    4646
    47 variant gcc45 description {create Fortran wrappers using gcc45} conflicts gcc43 gcc44 g95 {
     47variant gcc45 description {create Fortran wrappers using gcc45} conflicts gcc43 gcc44 gcc46 gcc47 g95 {
    4848    depends_lib-append    port:gcc45
    4949    set fc                ${prefix}/bin/gfortran-mp-4.5
    5050    build.env-append      F77=${fc} F90=${fc}
    5151}
    5252
    53 variant g95 description {create Fortran wrappers using f95} conflicts gcc43 gcc44 gcc45 {
     53variant gcc46 description {create Fortran wrappers using gcc46} conflicts gcc43 gcc44 gcc45 gcc47 g95 {
     54    depends_lib-append    port:gcc46
     55    set fc                ${prefix}/bin/gfortran-mp-4.6
     56    build.env-append      F77=${fc} F90=${fc}
     57}
     58
     59variant gcc47 description {create Fortran wrappers using gcc47} conflicts gcc43 gcc44 gcc45 gcc46 g95 {
     60    depends_lib-append    port:gcc47
     61    set fc                ${prefix}/bin/gfortran-mp-4.7
     62    build.env-append      F77=${fc} F90=${fc}
     63}
     64
     65variant g95 description {create Fortran wrappers using f95} conflicts gcc43 gcc44 gcc45 gcc46 gcc47 {
    5466    depends_lib-append    port:g95
    5567    set fc                ${prefix}/bin/g95
    5668    build.env-append      F77=${fc} F90=${fc}
    5769}
    5870
    59 if {![variant_isset gcc43] && ![variant_isset gcc44] && ![variant_isset g95]} {
    60        default_variants +gcc45
     71if {![variant_isset gcc43] && ![variant_isset gcc44] && ![variant_isset gcc45] && ![variant_isset gcc46] && ![variant_isset g95]} {
     72       default_variants +gcc47
    6173}
    6274
    6375livecheck.regex         <a href=\"http://pymc.googlecode.com/files/pymc-(\[\\d\.\]+)${extract.suffix}
  • trunk/dports/python/py25-pynifti/Portfile

    diff --git a/trunk/dports/python/py25-pynifti/Portfile b/trunk/dports/python/py25-pynifti/Portfile
    a b  
    3131  reinplace "s|@@PREFIX@@|${prefix}|g" ${worksrcpath}/setup.py
    3232}
    3333
    34 variant gcc43 conflicts gcc44 gcc45 description {build with gcc 4.3} {
     34variant gcc43 conflicts gcc44 gcc45 gcc46 gcc47 description {build with gcc 4.3} {
    3535    depends_build-append port:gcc43
    3636    configure.compiler   macports-gcc-4.3
    3737}
    3838
    39 variant gcc44 conflicts gcc43 gcc45 description {build with gcc 4.4} {
     39variant gcc44 conflicts gcc43 gcc45 gcc46 gcc47 description {build with gcc 4.4} {
    4040    depends_build-append port:gcc44
    4141    configure.compiler   macports-gcc-4.4
    4242}
    4343
    44 variant gcc45 conflicts gcc43 gcc44 description {build with gcc 4.5} {
     44variant gcc45 conflicts gcc43 gcc44 gcc46 gcc47 description {build with gcc 4.5} {
    4545    depends_build-append port:gcc45
    4646    configure.compiler   macports-gcc-4.5
    4747}
    4848
    49 if {![variant_isset gcc43] && ![variant_isset gcc44]} {
    50     default_variants +gcc45
     49variant gcc46 conflicts gcc43 gcc44 gcc45 gcc47 description {build with gcc 4.6} {
     50    depends_build-append port:gcc46
     51    configure.compiler   macports-gcc-4.6
    5152}
    5253
     54variant gcc47 conflicts gcc43 gcc44 gcc45 gcc46 description {build with gcc 4.7} {
     55    depends_build-append port:gcc47
     56    configure.compiler   macports-gcc-4.7
     57}
     58
     59if {![variant_isset gcc43] && ![variant_isset gcc44] && ![variant_isset gcc45] && ![variant_isset gcc46]} {
     60    default_variants +gcc47
     61}
     62
    5363livecheck.regex {pynifti_([0-9.]+).tar.gz}
  • trunk/dports/python/py26-logilab-hmm/Portfile

    diff --git a/trunk/dports/python/py26-logilab-hmm/Portfile b/trunk/dports/python/py26-logilab-hmm/Portfile
    a b  
    3131universal_variant   no
    3232python.add_archflags no
    3333
    34 variant gcc43 conflicts gcc44 gcc45 description "Use gfortran-mp-4.3 as fortran compiler" {
     34variant gcc43 conflicts gcc44 gcc45 gcc46 gcc47 description "Use gfortran-mp-4.3 as fortran compiler" {
    3535  configure.compiler    macports-gcc-4.3
    3636  depends_lib-append    port:gcc43
    3737  set fc_options        "config_fc --fcompiler gnu95 --f77exec ${prefix}/bin/gfortran-mp-4.3 --f90exec ${prefix}/bin/gfortran-mp-4.3"
     
    3939  destroot.cmd-append   ${fc_options}
    4040}
    4141
    42 variant gcc44 conflicts gcc43 gcc45 description "Use gfortran-mp-4.4 as fortran compiler" {
     42variant gcc44 conflicts gcc43 gcc45 gcc46 gcc47 description "Use gfortran-mp-4.4 as fortran compiler" {
    4343  configure.compiler    macports-gcc-4.4
    4444  depends_lib-append    port:gcc44
    4545  set fc_options        "config_fc --fcompiler gnu95 --f77exec ${prefix}/bin/gfortran-mp-4.4 --f90exec ${prefix}/bin/gfortran-mp-4.4"
     
    4747  destroot.cmd-append   ${fc_options}
    4848}
    4949
    50 variant gcc45 conflicts gcc43 gcc44 description "Use gfortran-mp-4.5 as fortran compiler" {
     50variant gcc45 conflicts gcc43 gcc44 gcc46 gcc47 description "Use gfortran-mp-4.5 as fortran compiler" {
    5151  configure.compiler    macports-gcc-4.5
    5252  depends_lib-append    port:gcc45
    5353  set fc_options        "config_fc --fcompiler gnu95 --f77exec ${prefix}/bin/gfortran-mp-4.5 --f90exec ${prefix}/bin/gfortran-mp-4.5"
     
    5555  destroot.cmd-append   ${fc_options}
    5656}
    5757
    58 if { ![variant_isset gcc43] && ![variant_isset gcc44] } {
    59   default_variants      +gcc45
     58variant gcc46 conflicts gcc43 gcc44 gcc45 gcc47 description "Use gfortran-mp-4.6 as fortran compiler" {
     59  configure.compiler    macports-gcc-4.6
     60  depends_lib-append    port:gcc46
     61  set fc_options        "config_fc --fcompiler gnu95 --f77exec ${prefix}/bin/gfortran-mp-4.6 --f90exec ${prefix}/bin/gfortran-mp-4.6"
     62  build.cmd-append      ${fc_options}
     63  destroot.cmd-append   ${fc_options}
    6064}
    6165
     66variant gcc47 conflicts gcc43 gcc44 gcc45 gcc46 description "Use gfortran-mp-4.7 as fortran compiler" {
     67  configure.compiler    macports-gcc-4.7
     68  depends_lib-append    port:gcc47
     69  set fc_options        "config_fc --fcompiler gnu95 --f77exec ${prefix}/bin/gfortran-mp-4.7 --f90exec ${prefix}/bin/gfortran-mp-4.7"
     70  build.cmd-append      ${fc_options}
     71  destroot.cmd-append   ${fc_options}
     72}
     73
     74if { ![variant_isset gcc43] && ![variant_isset gcc44] && ![variant_isset gcc45] && ![variant_isset gcc46] } {
     75  default_variants      +gcc47
     76}
     77
    6278post-destroot {
    6379    xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}
    6480    xinstall -m 644 -W ${worksrcpath} README \
  • trunk/dports/python/py26-ngl/Portfile

    diff --git a/trunk/dports/python/py26-ngl/Portfile b/trunk/dports/python/py26-ngl/Portfile
    a b  
    4444                    NCARG_ROOT=${prefix}
    4545destroot.env        NCARG_ROOT=${prefix}
    4646
    47 if {![variant_isset g95] && ![variant_isset gcc43] && ![variant_isset gcc44] && ![variant_isset universal]} {
    48     default_variants +gcc45
     47if {![variant_isset g95] && ![variant_isset gcc43] && ![variant_isset gcc44] && ![variant_isset gcc45] && ![variant_isset gcc46] && ![variant_isset universal]} {
     48    default_variants +gcc47
    4949}
    5050
    51 variant gcc43 conflicts g95 gcc44 gcc45 universal description {link to libraries build with gfortran 4.3} {
     51variant gcc43 conflicts g95 gcc44 gcc45 gcc46 gcc47 universal description {link to libraries build with gfortran 4.3} {
    5252    depends_build-append    port:gcc43
    5353    configure.compiler  macports-gcc-4.3
    5454    build.env-append    F2CLIBS=gfortran \
     
    5656                        CC=${configure.cc}
    5757}
    5858
    59 variant gcc44 conflicts g95 gcc43 gcc45 universal description {link to libraries build with gfortran 4.4} {
     59variant gcc44 conflicts g95 gcc43 gcc45 gcc46 gcc47 universal description {link to libraries build with gfortran 4.4} {
    6060    depends_build-append    port:gcc44
    6161    configure.compiler  macports-gcc-4.4
    6262    build.env-append    F2CLIBS=gfortran \
     
    6464                        CC=${configure.cc}
    6565}
    6666
    67 variant gcc45 conflicts g95 gcc43 gcc44 universal description {link to libraries build with gfortran 4.5} {
     67variant gcc45 conflicts g95 gcc43 gcc44 gcc46 gcc47 universal description {link to libraries build with gfortran 4.5} {
    6868    depends_build-append    port:gcc45
    6969    configure.compiler  macports-gcc-4.5
    7070    build.env-append    F2CLIBS=gfortran \
     
    7272                        CC=${configure.cc}
    7373}
    7474
    75 variant g95 conflicts gcc43 gcc44 gcc45 universal description {link to libraries build with g95} {
     75variant gcc46 conflicts g95 gcc43 gcc44 gcc45 gcc47 universal description {link to libraries build with gfortran 4.6} {
     76    depends_build-append    port:gcc46
     77    configure.compiler  macports-gcc-4.6
     78    build.env-append    F2CLIBS=gfortran \
     79                        F2CLIBS_PREFIX=${prefix}/lib/gcc46 \
     80                        CC=${configure.cc}
     81}
     82
     83variant gcc47 conflicts g95 gcc43 gcc44 gcc45 gcc46 universal description {link to libraries build with gfortran 4.7} {
     84    depends_build-append    port:gcc47
     85    configure.compiler  macports-gcc-4.7
     86    build.env-append    F2CLIBS=gfortran \
     87                        F2CLIBS_PREFIX=${prefix}/lib/gcc47 \
     88                        CC=${configure.cc}
     89}
     90
     91variant g95 conflicts gcc43 gcc44 gcc45 gcc46 gcc47 universal description {link to libraries build with g95} {
    7692    depends_build-append    port:g95
    7793    build.env-append    F2CLIBS=f95 \
    7894                        F2CLIBS_PREFIX=${prefix}/lib \
  • trunk/dports/python/py26-nio/Portfile

    diff --git a/trunk/dports/python/py26-nio/Portfile b/trunk/dports/python/py26-nio/Portfile
    a b  
    4747                    NCARG_ROOT=${prefix}
    4848destroot.env        NCARG_ROOT=${prefix}
    4949
    50 if {![variant_isset g95] && ![variant_isset gcc43] && ![variant_isset gcc44] && ![variant_isset universal]} {
    51     default_variants +gcc45
     50if {![variant_isset g95] && ![variant_isset gcc43] && ![variant_isset gcc44] && ![variant_isset gcc45] && ![variant_isset gcc46] && ![variant_isset universal]} {
     51    default_variants +gcc47
    5252}
    5353
    54 variant gcc43 conflicts g95 gcc44 gcc45 universal description {link to libraries build with gfortran 4.3} {
     54variant gcc43 conflicts g95 gcc44 gcc45 gcc46 gcc47 universal description {link to libraries build with gfortran 4.3} {
    5555    depends_build-append       port:gcc43
    5656    configure.compiler  macports-gcc-4.3
    5757    build.env-append    F2CLIBS=gfortran \
     
    5959                        CC=${configure.cc}
    6060}
    6161
    62 variant gcc44 conflicts g95 gcc43 gcc45 universal description {link to libraries build with gfortran 4.4} {
     62variant gcc44 conflicts g95 gcc43 gcc45 gcc46 gcc47 universal description {link to libraries build with gfortran 4.4} {
    6363    depends_build-append       port:gcc44
    6464    configure.compiler  macports-gcc-4.4
    6565    build.env-append    F2CLIBS=gfortran \
     
    6767                        CC=${configure.cc}
    6868}
    6969
    70 variant gcc45 conflicts g95 gcc43 gcc44 universal description {link to libraries build with gfortran 4.5} {
     70variant gcc45 conflicts g95 gcc43 gcc44 gcc46 gcc47 universal description {link to libraries build with gfortran 4.5} {
    7171    depends_build-append       port:gcc45
    7272    configure.compiler  macports-gcc-4.5
    7373    build.env-append    F2CLIBS=gfortran \
     
    7575                        CC=${configure.cc}
    7676}
    7777
    78 variant g95 conflicts gcc43 gcc44 gcc45 universal description {link to libraries build with g95} {
     78variant gcc46 conflicts g95 gcc43 gcc44 gcc45 gcc47 universal description {link to libraries build with gfortran 4.6} {
     79    depends_build-append       port:gcc46
     80    configure.compiler  macports-gcc-4.6
     81    build.env-append    F2CLIBS=gfortran \
     82                        F2CLIBS_PREFIX=${prefix}/lib/gcc46 \
     83                        CC=${configure.cc}
     84}
     85
     86variant gcc47 conflicts g95 gcc43 gcc44 gcc45 gcc46 universal description {link to libraries build with gfortran 4.7} {
     87    depends_build-append       port:gcc47
     88    configure.compiler  macports-gcc-4.7
     89    build.env-append    F2CLIBS=gfortran \
     90                        F2CLIBS_PREFIX=${prefix}/lib/gcc47 \
     91                        CC=${configure.cc}
     92}
     93
     94variant g95 conflicts gcc43 gcc44 gcc45 gcc46 gcc47 universal description {link to libraries build with g95} {
    7995    depends_build-append       port:g95
    8096    build.env-append    F2CLIBS=f95 \
    8197                        F2CLIBS_PREFIX=${prefix}/lib \
  • trunk/dports/python/py26-pymc/Portfile

    diff --git a/trunk/dports/python/py26-pymc/Portfile b/trunk/dports/python/py26-pymc/Portfile
    a b  
    3333depends_lib-append  port:py26-numpy
    3434python.add_archflags no
    3535
    36 variant gcc43 description {create Fortran wrappers using gcc43} conflicts gcc44 gcc45 g95 {
     36variant gcc43 description {create Fortran wrappers using gcc43} conflicts gcc44 gcc45 gcc46 gcc47 g95 {
    3737    depends_lib-append    port:gcc43
    3838    set fc                ${prefix}/bin/gfortran-mp-4.3
    3939    build.env-append      F77=${fc} F90=${fc}
    4040}
    4141
    42 variant gcc44 description {create Fortran wrappers using gcc44} conflicts gcc43 gcc45 g95 {
     42variant gcc44 description {create Fortran wrappers using gcc44} conflicts gcc43 gcc45 gcc46 gcc47 g95 {
    4343    depends_lib-append    port:gcc44
    4444    set fc                ${prefix}/bin/gfortran-mp-4.4
    4545    build.env-append      F77=${fc} F90=${fc}
    4646}
    4747
    48 variant gcc45 description {create Fortran wrappers using gcc45} conflicts gcc43 gcc44 g95 {
     48variant gcc45 description {create Fortran wrappers using gcc45} conflicts gcc43 gcc44 gcc46 gcc47 g95 {
    4949    depends_lib-append    port:gcc45
    5050    set fc                ${prefix}/bin/gfortran-mp-4.5
    5151    build.env-append      F77=${fc} F90=${fc}
    5252}
    5353
    54 variant g95 description {create Fortran wrappers using f95} conflicts gcc43 gcc44 gcc45 {
     54variant gcc46 description {create Fortran wrappers using gcc46} conflicts gcc43 gcc44 gcc45 gcc47 g95 {
     55    depends_lib-append    port:gcc46
     56    set fc                ${prefix}/bin/gfortran-mp-4.6
     57    build.env-append      F77=${fc} F90=${fc}
     58}
     59
     60variant gcc47 description {create Fortran wrappers using gcc47} conflicts gcc43 gcc44 gcc45 gcc46 g95 {
     61    depends_lib-append    port:gcc47
     62    set fc                ${prefix}/bin/gfortran-mp-4.7
     63    build.env-append      F77=${fc} F90=${fc}
     64}
     65
     66variant g95 description {create Fortran wrappers using f95} conflicts gcc43 gcc44 gcc45 gcc46 gcc47 {
    5567    depends_lib-append    port:g95
    5668    set fc                ${prefix}/bin/g95
    5769    build.env-append      F77=${fc} F90=${fc}
    5870}
    5971
    60 if {![variant_isset gcc43] && ![variant_isset gcc44] && ![variant_isset g95]} {
    61            default_variants +gcc45
     72if {![variant_isset gcc43] && ![variant_isset gcc44] && ![variant_isset gcc45] && ![variant_isset gcc46] && ![variant_isset g95]} {
     73           default_variants +gcc47
    6274}
    6375
    6476livecheck.regex         <a href=\"http://pymc.googlecode.com/files/pymc-(\[\\d\.\]+)${extract.suffix}
  • trunk/dports/python/py26-pymvpa/Portfile

    diff --git a/trunk/dports/python/py26-pymvpa/Portfile b/trunk/dports/python/py26-pymvpa/Portfile
    a b  
    6565    depends_lib-delete port:shogun
    6666}
    6767
    68 variant gcc43 conflicts gcc44 description {build with gcc 4.3} {
     68variant gcc43 conflicts gcc44 gcc45 gcc46 gcc47 description {build with gcc 4.3} {
    6969    depends_build-append port:gcc43
    7070}
    71 variant gcc44 conflicts gcc43 description {build with gcc 4.4} {
     71variant gcc44 conflicts gcc43 gcc45 gcc46 gcc47 description {build with gcc 4.4} {
    7272    depends_build-append port:gcc44
    7373}
    74 variant gcc45 conflicts gcc43 gcc44 description {build with gcc 4.5} {
     74variant gcc45 conflicts gcc43 gcc44 gcc46 gcc47 description {build with gcc 4.5} {
    7575    depends_build-append port:gcc45
    7676}
     77variant gcc46 conflicts gcc43 gcc44 gcc45 gcc47 description {build with gcc 4.6} {
     78    depends_build-append port:gcc46
     79}
     80variant gcc47 conflicts gcc43 gcc44 gcc45 gcc46 description {build with gcc 4.7} {
     81    depends_build-append port:gcc47
     82}
    7783
    7884if {[variant_isset gcc43]} {
    7985    set gccversion 4.3
    8086} elseif {[variant_isset gcc44]} {
    8187    set gccversion 4.4
     88} elseif {[variant_isset gcc45]} {
     89    set gccversion 4.5
     90} elseif {[variant_isset gcc46]} {
     91    set gccversion 4.6
    8292} else {
    83     default_variants +gcc45
    84     set gccversion 4.5
     93    default_variants +gcc47
     94    set gccversion 4.7
    8595}
    8696
    8797set gccnumber [join [split ${gccversion} .] ""]
  • trunk/dports/python/py26-pynifti/Portfile

    diff --git a/trunk/dports/python/py26-pynifti/Portfile b/trunk/dports/python/py26-pynifti/Portfile
    a b  
    3131  reinplace "s|@@PREFIX@@|${prefix}|g" ${worksrcpath}/setup.py
    3232}
    3333
    34 variant gcc43 conflicts gcc44 gcc45 description {build with gcc 4.3} {
     34variant gcc43 conflicts gcc44 gcc45 gcc46 gcc47 description {build with gcc 4.3} {
    3535    depends_build-append port:gcc43
    3636    configure.compiler   macports-gcc-4.3
    3737}
    3838
    39 variant gcc44 conflicts gcc43 gcc45 description {build with gcc 4.4} {
     39variant gcc44 conflicts gcc43 gcc45 gcc46 gcc47 description {build with gcc 4.4} {
    4040    depends_build-append port:gcc44
    4141    configure.compiler   macports-gcc-4.4
    4242}
    4343
    44 variant gcc45 conflicts gcc43 gcc44 description {build with gcc 4.5} {
     44variant gcc45 conflicts gcc43 gcc44 gcc46 gcc47 description {build with gcc 4.5} {
    4545    depends_build-append port:gcc45
    4646    configure.compiler   macports-gcc-4.5
    4747}
    4848
    49 if {![variant_isset gcc43] && ![variant_isset gcc44]} {
    50     default_variants +gcc45
     49variant gcc46 conflicts gcc43 gcc44 gcc45 gcc47 description {build with gcc 4.6} {
     50    depends_build-append port:gcc46
     51    configure.compiler   macports-gcc-4.6
    5152}
    5253
     54variant gcc47 conflicts gcc43 gcc44 gcc45 gcc46 description {build with gcc 4.7} {
     55    depends_build-append port:gcc47
     56    configure.compiler   macports-gcc-4.7
     57}
     58
     59if {![variant_isset gcc43] && ![variant_isset gcc44] && ![variant_isset gcc45] && ![variant_isset gcc46]} {
     60    default_variants +gcc47
     61}
     62
    5363livecheck.regex {pynifti_([0-9.]+).tar.gz}
  • trunk/dports/python/py27-pymc/Portfile

    diff --git a/trunk/dports/python/py27-pymc/Portfile b/trunk/dports/python/py27-pymc/Portfile
    a b  
    3333depends_lib-append  port:py27-numpy
    3434python.add_archflags no
    3535
    36 variant gcc43 description {create Fortran wrappers using gcc43} conflicts gcc44 gcc45 g95 {
     36variant gcc43 description {create Fortran wrappers using gcc43} conflicts gcc44 gcc45 gcc46 gcc47 g95 {
    3737    depends_lib-append    port:gcc43
    3838    set fc                ${prefix}/bin/gfortran-mp-4.3
    3939    build.env-append      F77=${fc} F90=${fc}
    4040}
    4141
    42 variant gcc44 description {create Fortran wrappers using gcc44} conflicts gcc43 gcc45 g95 {
     42variant gcc44 description {create Fortran wrappers using gcc44} conflicts gcc43 gcc45 gcc46 gcc47 g95 {
    4343    depends_lib-append    port:gcc44
    4444    set fc                ${prefix}/bin/gfortran-mp-4.4
    4545    build.env-append      F77=${fc} F90=${fc}
    4646}
    4747
    48 variant gcc45 description {create Fortran wrappers using gcc45} conflicts gcc43 gcc44 g95 {
     48variant gcc45 description {create Fortran wrappers using gcc45} conflicts gcc43 gcc44 gcc46 gcc47 g95 {
    4949    depends_lib-append    port:gcc45
    5050    set fc                ${prefix}/bin/gfortran-mp-4.5
    5151    build.env-append      F77=${fc} F90=${fc}
    5252}
    5353
    54 variant g95 description {create Fortran wrappers using f95} conflicts gcc43 gcc44 gcc45 {
     54variant gcc46 description {create Fortran wrappers using gcc46} conflicts gcc43 gcc44 gcc45 gcc47 g95 {
     55    depends_lib-append    port:gcc46
     56    set fc                ${prefix}/bin/gfortran-mp-4.6
     57    build.env-append      F77=${fc} F90=${fc}
     58}
     59
     60variant gcc47 description {create Fortran wrappers using gcc47} conflicts gcc43 gcc44 gcc45 gcc46 g95 {
     61    depends_lib-append    port:gcc47
     62    set fc                ${prefix}/bin/gfortran-mp-4.7
     63    build.env-append      F77=${fc} F90=${fc}
     64}
     65
     66variant g95 description {create Fortran wrappers using f95} conflicts gcc43 gcc44 gcc45 gcc46 gcc47 {
    5567    depends_lib-append    port:g95
    5668    set fc                ${prefix}/bin/g95
    5769    build.env-append      F77=${fc} F90=${fc}
    5870}
    5971
    60 if {![variant_isset gcc43] && ![variant_isset gcc44] && ![variant_isset g95]} {
    61            default_variants +gcc45
     72if {![variant_isset gcc43] && ![variant_isset gcc44] && ![variant_isset gcc45] && ![variant_isset gcc46] && ![variant_isset g95]} {
     73           default_variants +gcc47
    6274}
    6375
    6476livecheck.regex         <a href=\"http://pymc.googlecode.com/files/pymc-(\[\\d\.\]+)${extract.suffix}
  • trunk/dports/science/apbs/Portfile

    diff --git a/trunk/dports/science/apbs/Portfile b/trunk/dports/science/apbs/Portfile
    a b  
    66
    77name                apbs
    88version             1.3.0
    9 revision            1
     9revision            2
    1010set branch          [join [lrange [split ${version} .] 0 1] .]
    1111categories          science
    1212maintainers         bromo.med.uc.edu:howarth
     
    2525checksums           md5     f99a505365f07f6853979cfe2ef23365 \
    2626                    sha1    1494f36e35f2e4b1a18d4b22516fad4948c6391f
    2727
    28 depends_lib         port:gcc45 \
     28depends_lib         port:gcc47 \
    2929                    port:readline \
    3030                    port:py26-zsi
    3131patchfiles          apbs.diff
     
    3636
    3737build.cmd           make
    3838build.target        all
    39 configure.env       py_path=${python.bin} F77=gfortran-mp-4.5
     39configure.env       py_path=${python.bin} F77=gfortran-mp-4.7
    4040configure.args      --enable-python --with-python=${python.bin} --with-blas="-L/System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A -lblas -Wl,-framework -Wl,vecLib -Wl,-undefined -Wl,dynamic_lookup" FFLAGS="-O3"
    4141
    4242post-patch {
  • trunk/dports/science/apbs-mpi/Portfile

    diff --git a/trunk/dports/science/apbs-mpi/Portfile b/trunk/dports/science/apbs-mpi/Portfile
    a b  
    55
    66name                apbs-mpi
    77version             1.3.0
    8 revision            1
     8revision            2
    99set branch          [join [lrange [split ${version} .] 0 1] .]
    1010categories          science
    1111maintainers         bromo.med.uc.edu:howarth
     
    2121distname            apbs-${branch}-source
    2222checksums           md5     f99a505365f07f6853979cfe2ef23365 \
    2323                    sha1    1494f36e35f2e4b1a18d4b22516fad4948c6391f
    24 depends_lib         port:gcc45 \
     24depends_lib         port:gcc47 \
    2525                    port:readline \
    2626                    port:openmpi
    2727depends_run         port:apbs
  • trunk/dports/science/bali-phy/Portfile

    diff --git a/trunk/dports/science/bali-phy/Portfile b/trunk/dports/science/bali-phy/Portfile
    a b  
    3939    configure.args-append   --with-mpi
    4040}
    4141
    42 variant gcc43 conflicts gcc44 gcc45 description {build using macports-gcc-4.3} {
     42variant gcc43 conflicts gcc44 gcc45 gcc46 gcc47 description {build using macports-gcc-4.3} {
    4343    depends_lib-append  port:gcc43
    4444    configure.compiler  macports-gcc-4.3
    4545}
    4646
    47 variant gcc44 conflicts gcc43 gcc45 description {build using macports-gcc-4.4} {
     47variant gcc44 conflicts gcc43 gcc45 gcc46 gcc47 description {build using macports-gcc-4.4} {
    4848    depends_lib-append  port:gcc44
    4949    configure.compiler  macports-gcc-4.4
    5050}
    5151
    52 variant gcc45 conflicts gcc43 gcc44 description {build using macports-gcc-4.5} {
     52variant gcc45 conflicts gcc43 gcc44 gcc46 gcc47 description {build using macports-gcc-4.5} {
    5353    depends_lib-append  port:gcc45
    5454    configure.compiler  macports-gcc-4.5
    5555}
    5656
     57variant gcc46 conflicts gcc43 gcc44 gcc45 gcc47 description {build using macports-gcc-4.6} {
     58    depends_lib-append  port:gcc46
     59    configure.compiler  macports-gcc-4.6
     60}
     61
     62variant gcc47 conflicts gcc43 gcc44 gcc45 gcc46 description {build using macports-gcc-4.7} {
     63    depends_lib-append  port:gcc47
     64    configure.compiler  macports-gcc-4.7
     65}
     66
    5767livecheck.type  regex
    5868livecheck.url   ${master_sites}
    5969livecheck.regex {BAli-Phy (\d+\.\d+\.\d+) released}
  • trunk/dports/science/ccpnmr/Portfile

    diff --git a/trunk/dports/science/ccpnmr/Portfile b/trunk/dports/science/ccpnmr/Portfile
    a b  
    55
    66name                ccpnmr
    77version             2.2.2
    8 revision            1
     8revision            2
    99set branch          [join [lrange [split $version .] 0 1] .]
    1010categories          science python
    1111maintainers         bromo.med.uc.edu:howarth
     
    2323checksums           md5     a3ede39ed484d261eb82137055dc66a1 \
    2424                    sha1    825ad7487ef6191baac0e5aa3d0ec6a6ed94a04f
    2525worksrcdir          ${name}
    26 depends_lib         port:py27-scipy port:mesa port:freeglut port:tk port:py27-tkinter port:gcc45
     26depends_lib         port:py27-scipy port:mesa port:freeglut port:tk port:py27-tkinter port:gcc47
    2727patchfiles          ccpnmr.patch
    2828use_configure       no
    2929
     
    5656    copy ${worksrcpath}/ccpnmr${branch}/c/environment-opengl.txt ${worksrcpath}/ccpnmr${branch}/c/environment.txt
    5757}
    5858
    59 configure.compiler  macports-gcc-4.5
     59configure.compiler  macports-gcc-4.7
    6060build.args      CC=${configure.cc} ARCHFLAGS="${configure.cc_archflags}"
    6161build.dir       ${worksrcpath}/ccpnmr${branch}/c
    6262build.target    all links
  • trunk/dports/science/cdf/Portfile

    diff --git a/trunk/dports/science/cdf/Portfile b/trunk/dports/science/cdf/Portfile
    a b  
    102102}
    103103
    104104if {![variant_isset gcc44] && ![variant_isset gcc45] && ![variant_isset gcc46] && ![variant_isset gcc47]} {
    105     default_variants +gcc45
     105    default_variants +gcc47
    106106}
    107107
    108108livecheck.type          regex
  • trunk/dports/science/ds9/Portfile

    diff --git a/trunk/dports/science/ds9/Portfile b/trunk/dports/science/ds9/Portfile
    a b  
    55
    66name                    ds9
    77version                 7.1
     8revision                1
    89categories              science
    910platforms               darwin
    1011maintainers             aronnax
     
    2324checksums               sha1    417543d6fd67d4507f4bbe098e22456e11c9373f \
    2425                        rmd160  6b65af16dfb6320c4d3629b83acda1f2a79dca49
    2526
    26 depends_build-append    port:gcc45
     27depends_build-append    port:gcc47
    2728depends_lib-append      port:xorg-libX11 \
    2829                        port:xorg-libXext \
    2930                        port:Xft2 \
     
    7677# The 'ast' component apparently checks for a working Fortran compiler,
    7778# even though there appears to be no Fortran code. Is it possible to remove this
    7879# dependency?
    79 configure.fc            ${prefix}/bin/gfortran-mp-4.5
     80configure.fc            ${prefix}/bin/gfortran-mp-4.7
    8081
    8182# The 'configure' stage for ds9 consists of copying or symbolically linking a
    8283# platform-specific file to 'make.include'.
  • trunk/dports/science/emos/Portfile

    diff --git a/trunk/dports/science/emos/Portfile b/trunk/dports/science/emos/Portfile
    a b  
    9595}
    9696
    9797use_parallel_build  no
    98 if {![variant_isset gcc43] && ![variant_isset gcc44] && ![variant_isset gcc46] && ![variant_isset gcc47] && ![variant_isset g95]} {
    99     default_variants    +gcc45
     98if {![variant_isset gcc43] && ![variant_isset gcc44] && ![variant_isset gcc45] && ![variant_isset gcc46] && ![variant_isset g95]} {
     99    default_variants    +gcc47
    100100}
    101101if {[variant_isset g95]} {
    102102    configure.fflags-append -r8 -fsloppy-char -fno-second-underscore -DUSE_NO_POINTERS -DINTEGER_IS_INT -Dlinux
  • trunk/dports/science/eo/Portfile

    diff --git a/trunk/dports/science/eo/Portfile b/trunk/dports/science/eo/Portfile
    a b  
    6060        configure.args-delete   --disable-tutorial
    6161}
    6262
    63 variant gcc43 conflicts gcc44 gcc45 description "Use GCC 4.3 for compilation of EO - optimized for host machine" {
     63variant gcc43 conflicts gcc44 gcc45 gcc46 gcc47 description "Use GCC 4.3 for compilation of EO - optimized for host machine" {
    6464    depends_build-append        port:gcc43
    6565    configure.cc                gcc-mp-4.3
    6666    configure.cxx               g++-mp-4.3
     
    6868    configure.cxxflags-append   "-ftree-vectorize -march=native -O3"
    6969}
    7070
    71 variant gcc44 conflicts gcc43 gcc45 description "Use GCC 4.4 for compilation of EO - optimized for host machine" {
     71variant gcc44 conflicts gcc43 gcc45 gcc46 gcc47 description "Use GCC 4.4 for compilation of EO - optimized for host machine" {
    7272    depends_build-append        port:gcc44
    7373    configure.cc                gcc-mp-4.4
    7474    configure.cxx               g++-mp-4.4
     
    7676    configure.cxxflags-append   "-ftree-vectorize -march=native -O3"
    7777}
    7878
    79 variant gcc45 conflicts gcc43 gcc44 description "Use GCC 4.5 for compilation of EO - optimized for host machine" {
     79variant gcc45 conflicts gcc43 gcc44 gcc46 gcc47 description "Use GCC 4.5 for compilation of EO - optimized for host machine" {
    8080    depends_build-append        port:gcc45
    8181    configure.cc                gcc-mp-4.5
    8282    configure.cxx               g++-mp-4.5
    8383    configure.cflags-append     "-ftree-vectorize -march=native -O3"
    8484    configure.cxxflags-append   "-ftree-vectorize -march=native -O3"
    8585}
     86
     87variant gcc46 conflicts gcc43 gcc44 gcc45 gcc47 description "Use GCC 4.6 for compilation of EO - optimized for host machine" {
     88    depends_build-append        port:gcc46
     89    configure.cc                gcc-mp-4.6
     90    configure.cxx               g++-mp-4.6
     91    configure.cflags-append     "-ftree-vectorize -march=native -O3"
     92    configure.cxxflags-append   "-ftree-vectorize -march=native -O3"
     93}
     94
     95variant gcc47 conflicts gcc43 gcc44 gcc45 gcc46 description "Use GCC 4.7 for compilation of EO - optimized for host machine" {
     96    depends_build-append        port:gcc47
     97    configure.cc                gcc-mp-4.7
     98    configure.cxx               g++-mp-4.7
     99    configure.cflags-append     "-ftree-vectorize -march=native -O3"
     100    configure.cxxflags-append   "-ftree-vectorize -march=native -O3"
     101}
  • trunk/dports/science/gpp4/Portfile

    diff --git a/trunk/dports/science/gpp4/Portfile b/trunk/dports/science/gpp4/Portfile
    a b  
    5454    depends_lib-append port:gcc47
    5555}
    5656
    57 if {![variant_isset gcc43] && ![variant_isset gcc44] && ![variant_isset gcc46] && ![variant_isset gcc47]} {
    58     default_variants +gcc45
     57if {![variant_isset gcc43] && ![variant_isset gcc44] && ![variant_isset gcc45] && ![variant_isset gcc46]} {
     58    default_variants +gcc47
    5959}
    6060
    6161universal_variant no
  • trunk/dports/science/hdf5/Portfile

    diff --git a/trunk/dports/science/hdf5/Portfile b/trunk/dports/science/hdf5/Portfile
    a b  
    5858    configure.args-delete   --disable-fortran
    5959    configure.args-append   --enable-fortran
    6060    pre-fetch {
    61         if { ![variant_isset gcc45] && ![variant_isset gcc44] && ![variant_isset gcc43] && ![variant_isset g95] } {
     61        if { ![variant_isset gcc47] && ![variant_isset gcc46] && ![variant_isset gcc45] && ![variant_isset gcc44] && ![variant_isset gcc43] && ![variant_isset g95] } {
    6262            error "You must specify a compiler variant in order to build the Fortran interface"
    6363        }
    6464    }
     
    7676}
    7777
    7878
    79 variant gcc43 conflicts g95 gcc44 gcc45 description {Compile using GCC 4.3} {
     79variant gcc43 conflicts g95 gcc44 gcc45 gcc46 gcc47 description {Compile using GCC 4.3} {
    8080    depends_lib-append          port:gcc43
    8181    configure.compiler          macports-gcc-4.3
    8282    configure.env-append        LD=${prefix}/bin/g++-mp-4.3
    8383}
    8484
    85 variant gcc44 conflicts g95 gcc43 gcc45 description {Compile using GCC 4.4} {
     85variant gcc44 conflicts g95 gcc43 gcc45 gcc46 gcc47 description {Compile using GCC 4.4} {
    8686    depends_lib-append          port:gcc44
    8787    configure.compiler          macports-gcc-4.4
    8888    configure.env-append        LD=${prefix}/bin/g++-mp-4.4
    8989}
    9090
    91 variant gcc45 conflicts g95 gcc43 gcc44 description {Compile using GCC 4.5} {
     91variant gcc45 conflicts g95 gcc43 gcc44 gcc46 gcc47 description {Compile using GCC 4.5} {
    9292    depends_lib-append          port:gcc45
    9393    configure.compiler          macports-gcc-4.5
    9494    configure.env-append        LD=${prefix}/bin/g++-mp-4.5
    9595}
    9696
    97 variant g95 requires fortran conflicts gcc43 gcc44 gcc45 description {Use g95 Fortran compiler (unsupported)} {
     97variant gcc46 conflicts g95 gcc43 gcc44 gcc45 gcc47 description {Compile using GCC 4.6} {
     98    depends_lib-append          port:gcc46
     99    configure.compiler          macports-gcc-4.6
     100    configure.env-append        LD=${prefix}/bin/g++-mp-4.6
     101}
     102
     103variant gcc47 conflicts g95 gcc43 gcc44 gcc45 gcc46 description {Compile using GCC 4.7} {
     104    depends_lib-append          port:gcc47
     105    configure.compiler          macports-gcc-4.7
     106    configure.env-append        LD=${prefix}/bin/g++-mp-4.7
     107}
     108
     109variant g95 requires fortran conflicts gcc43 gcc44 gcc45 gcc46 gcc47 description {Use g95 Fortran compiler (unsupported)} {
    98110    depends_lib-append          port:g95
    99111    patchfiles-append           patch-powerpc-apple.diff
    100112    configure.fc                ${prefix}/bin/g95
    101113}
    102114
    103 variant optimized description {Higher compiler optimization for host machine (esp. for gcc43/gcc44)} {
     115variant optimized description {Higher compiler optimization for host machine} {
    104116    configure.optflags-delete     -O2
    105117    configure.optflags-append     -ftree-vectorize -O3
    106     if { [variant_isset gcc43] || [variant_isset gcc44] } {
     118    if { [variant_isset gcc43] || [variant_isset gcc44] || [variant_isset gcc45] || [variant_isset gcc46] || [variant_isset gcc47] } {
    107119        configure.optflags-append     -march=native
    108120    }
    109121}
  • trunk/dports/science/jags/Portfile

    diff --git a/trunk/dports/science/jags/Portfile b/trunk/dports/science/jags/Portfile
    a b  
    2828configure.args      --with-blas='-framework vecLib' \
    2929                    --with-lapack='-framework vecLib'
    3030
    31 variant gcc43 conflicts gcc44 gcc45 description {Use the gcc43 compiler} {
     31variant gcc43 conflicts gcc44 gcc45 gcc46 gcc47 description {Use the gcc43 compiler} {
    3232    depends_lib-append  port:gcc43
    3333    configure.compiler  macports-gcc-4.3
    3434}
    3535
    36 variant gcc44 conflicts gcc43 gcc45 description {Use the gcc44 compiler} {
     36variant gcc44 conflicts gcc43 gcc45 gcc46 gcc47 description {Use the gcc44 compiler} {
    3737    depends_lib-append  port:gcc44
    3838    configure.compiler  macports-gcc-4.4
    3939}
    4040
    41 variant gcc45 conflicts gcc43 gcc44 description {Use the gcc45 compiler} {
     41variant gcc45 conflicts gcc43 gcc44 gcc46 gcc47 description {Use the gcc45 compiler} {
    4242    depends_lib-append  port:gcc45
    4343    configure.compiler  macports-gcc-4.5
    4444}
    4545
    46 if {![variant_isset gcc43] && ![variant_isset gcc44]} {
    47     default_variants +gcc45
     46variant gcc46 conflicts gcc43 gcc44 gcc45 gcc47 description {Use the gcc46 compiler} {
     47    depends_lib-append  port:gcc46
     48    configure.compiler  macports-gcc-4.6
    4849}
    4950
     51variant gcc47 conflicts gcc43 gcc44 gcc45 gcc46 description {Use the gcc47 compiler} {
     52    depends_lib-append  port:gcc47
     53    configure.compiler  macports-gcc-4.7
     54}
     55
     56if {![variant_isset gcc43] && ![variant_isset gcc44] && ![variant_isset gcc45] && ![variant_isset gcc46]} {
     57    default_variants +gcc47
     58}
     59
    5060pre-build {
    5161    build.env-append    CC="${configure.cc}" \
    5262                        CXX="${configure.cxx}" \
  • trunk/dports/science/lanHEP/Portfile

    diff --git a/trunk/dports/science/lanHEP/Portfile b/trunk/dports/science/lanHEP/Portfile
    a b  
    55name            lanHEP
    66set shortname   lhep
    77version         3.1.5
     8revision        1
    89set shortversion        315
    910categories      science
    1011maintainers     nomaintainer
     
    3031                sha1    5469899da20645a14f0a2d1a0e18149fa46c33a9 \
    3132                rmd160  779f8226a7da7977c671ecd7e17d38f55651fbf5
    3233
    33 depends_build   port:gcc43
     34depends_build   port:gcc47
    3435
    3536use_parallel_build      no
    3637use_configure   no
    3738
    38 build.env-append        FC=gfortran-mp-4.3
     39build.env-append        FC=gfortran-mp-4.7
    3940build.target    { }
    4041
    4142destroot {
  • trunk/dports/science/libctl/Portfile

    diff --git a/trunk/dports/science/libctl/Portfile b/trunk/dports/science/libctl/Portfile
    a b  
    2626
    2727depends_lib                     port:guile16
    2828
    29 variant gcc43 conflicts gcc44 gcc45 gcc46 description {Compile with gcc 4.3} {
     29variant gcc43 conflicts gcc44 gcc45 gcc46 gcc47 description {Compile with gcc 4.3} {
    3030    configure.compiler  macports-gcc-4.3
    3131    depends_lib-append  port:gcc43
    3232}
    3333
    34 variant gcc44 conflicts gcc43 gcc45 gcc46 description {Compile with gcc 4.4} {
     34variant gcc44 conflicts gcc43 gcc45 gcc46 gcc47 description {Compile with gcc 4.4} {
    3535    configure.compiler  macports-gcc-4.4
    3636    depends_lib-append  port:gcc44
    3737}
    3838
    39 variant gcc45 conflicts gcc43 gcc44 gcc46 description {Compile with gcc 4.5} {
     39variant gcc45 conflicts gcc43 gcc44 gcc46 gcc47 description {Compile with gcc 4.5} {
    4040    configure.compiler  macports-gcc-4.5
    4141    depends_lib-append  port:gcc45
    4242}
    4343
    44 variant gcc46 conflicts gcc43 gcc44 gcc45 description {Compile with gcc 4.6} {
     44variant gcc46 conflicts gcc43 gcc44 gcc45 gcc47 description {Compile with gcc 4.6} {
    4545    configure.compiler  macports-gcc-4.6
    4646    depends_lib-append  port:gcc46
    4747}
    4848
    49 if {![variant_isset gcc43] && ![variant_isset gcc44] && ![variant_isset gcc46]} {
    50     default_variants +gcc45
     49variant gcc47 conflicts gcc43 gcc44 gcc45 gcc46 description {Compile with gcc 4.7} {
     50    configure.compiler  macports-gcc-4.7
     51    depends_lib-append  port:gcc47
    5152}
    5253
     54if {![variant_isset gcc43] && ![variant_isset gcc44] && ![variant_isset gcc45] && ![variant_isset gcc46]} {
     55    default_variants +gcc47
     56}
     57
    5358patchfiles                      guile16.diff
    5459
    5560use_autoreconf          yes
  • trunk/dports/science/libxc/Portfile

    diff --git a/trunk/dports/science/libxc/Portfile b/trunk/dports/science/libxc/Portfile
    a b  
    55
    66name                libxc
    77version             1.0
    8 revision            1
     8revision            2
    99categories          science
    1010platforms           darwin
    1111maintainers         googlemail.com:fabian.renn
     
    2424checksums           sha1    48a54c718bfb8784bf5e6aadf82d62ffb70bc5a2 \
    2525                    rmd160  0e48a6ab484d1c9f6e305dfc9c860e46c01aa330
    2626
    27 depends_lib         port:gcc45
    28 configure.compiler  macports-gcc-4.5
     27depends_lib         port:gcc47
     28configure.compiler  macports-gcc-4.7
    2929
    3030configure.args      --with-gnu-ld
    3131
  • trunk/dports/science/magicspp/Portfile

    diff --git a/trunk/dports/science/magicspp/Portfile b/trunk/dports/science/magicspp/Portfile
    a b  
    4545
    4646use_parallel_build  no
    4747universal_variant   no
    48 if {![variant_isset gcc43] && ![variant_isset gcc44] && ![variant_isset gcc46] && ![variant_isset gcc47]} {
    49     default_variants    +gcc45
     48if {![variant_isset gcc43] && ![variant_isset gcc44] && ![variant_isset gcc45] && ![variant_isset gcc46]} {
     49    default_variants    +gcc47
    5050}
    5151if {![variant_isset python25] && ![variant_isset python26]} {
    5252    default_variants-append +python27
  • trunk/dports/science/miriad/Portfile

    diff --git a/trunk/dports/science/miriad/Portfile b/trunk/dports/science/miriad/Portfile
    a b  
    7979}
    8080
    8181if {![variant_isset gcc45] && ![variant_isset gcc46] && ![variant_isset gcc47] && ![variant_isset gcc_select]} {
    82     default_variants +gcc45
     82    default_variants +gcc47
    8383}
    8484
    8585universal_variant    no
  • trunk/dports/science/molden/Portfile

    diff --git a/trunk/dports/science/molden/Portfile b/trunk/dports/science/molden/Portfile
    a b  
    8585    configure.compiler      macports-gcc-4.5
    8686}
    8787
    88 variant gcc46 conflicts gcc44 gcc45 gcc47 gcc48 description {Build using gcc43} {
     88variant gcc46 conflicts gcc44 gcc45 gcc47 gcc48 description {Build using gcc46} {
    8989    depends_lib-append      port:gcc46
    9090    configure.compiler      macports-gcc-4.6
    9191}
    9292
    93 variant gcc47 conflicts gcc44 gcc45 gcc46 gcc48 description {Build using gcc43} {
     93variant gcc47 conflicts gcc44 gcc45 gcc46 gcc48 description {Build using gcc47} {
    9494    depends_lib-append      port:gcc47
    9595    configure.compiler      macports-gcc-4.7
    9696}
    9797
    98 variant gcc48 conflicts gcc44 gcc45 gcc46 gcc47 description {Build using gcc43} {
     98variant gcc48 conflicts gcc44 gcc45 gcc46 gcc47 description {Build using gcc48} {
    9999    depends_lib-append      port:gcc48
    100100    configure.compiler      macports-gcc-4.8
    101101}
    102102
    103103if {![variant_isset gcc44] && ![variant_isset gcc45] && ![variant_isset gcc46] && ![variant_isset gcc47] && ![variant_isset gcc48]} {
    104     default_variants +gcc45
     104    default_variants +gcc47
    105105}
    106106
    107107variant opengl description "Install moldenogl OpenGL helper program" {
  • trunk/dports/science/ncarg/Portfile

    diff --git a/trunk/dports/science/ncarg/Portfile b/trunk/dports/science/ncarg/Portfile
    a b  
    9292        set fortranlib  "-L${prefix}/lib/gcc44 -lgfortran"
    9393    } elseif {[variant_isset gcc45]} {
    9494        set fortranlib  "-L${prefix}/lib/gcc45 -lgfortran"
     95    } elseif {[variant_isset gcc46]} {
     96        set fortranlib  "-L${prefix}/lib/gcc46 -lgfortran"
     97    } elseif {[variant_isset gcc47]} {
     98        set fortranlib  "-L${prefix}/lib/gcc47 -lgfortran"
    9599    }
    96100    foreach f {Darwin Darwin_Intel} {
    97101        reinplace "s|-lgfortran|${fortranlib}|" ${worksrcpath}/config/${f}
     
    216220# Only configure.fc is set (against UsingTheRightCompiler) since
    217221# ncl function setfileoption() causes Segmentation Fault
    218222# when built with macports-gcc-4.x.
    219 variant g95 conflicts gcc43 gcc44 gcc45 description {compile with g95} {
     223variant g95 conflicts gcc43 gcc44 gcc45 gcc46 gcc47 description {compile with g95} {
    220224    configure.fc            ${prefix}/bin/g95
    221225    depends_build-append    port:g95
    222226    configure.fflags-append -fno-second-underscore
    223227}
    224228
    225 variant gcc43 conflicts gcc44 gcc45 g95 description {compile with gcc 4.3} {
     229variant gcc43 conflicts gcc44 gcc45 gcc46 gcc47 g95 description {compile with gcc 4.3} {
    226230    configure.fc        ${prefix}/bin/gfortran-mp-4.3
    227231    depends_build-append    port:gcc43
    228232}
    229233
    230 variant gcc44 conflicts gcc43 gcc45 g95 description {compile with gcc 4.4} {
     234variant gcc44 conflicts gcc43 gcc45 gcc46 gcc47 g95 description {compile with gcc 4.4} {
    231235    configure.fc        ${prefix}/bin/gfortran-mp-4.4
    232236    depends_build-append    port:gcc44
    233237}
    234238
    235 variant gcc45 conflicts gcc43 gcc44 g95 description {compile with gcc 4.5} {
     239variant gcc45 conflicts gcc43 gcc44 gcc46 gcc47 g95 description {compile with gcc 4.5} {
    236240    configure.fc        ${prefix}/bin/gfortran-mp-4.5
    237241    depends_build-append    port:gcc45
    238242}
    239243
    240 if {![variant_isset gcc43] && ![variant_isset gcc44] && ![variant_isset g95]} {
    241     default_variants +gcc45
     244variant gcc46 conflicts gcc43 gcc44 gcc45 gcc47 g95 description {compile with gcc 4.6} {
     245    configure.fc        ${prefix}/bin/gfortran-mp-4.6
     246    depends_build-append    port:gcc46
    242247}
    243248
     249variant gcc47 conflicts gcc43 gcc44 gcc45 gcc46 g95 description {compile with gcc 4.7} {
     250    configure.fc        ${prefix}/bin/gfortran-mp-4.7
     251    depends_build-append    port:gcc47
     252}
     253
     254if {![variant_isset gcc43] && ![variant_isset gcc44] && ![variant_isset gcc45] && ![variant_isset gcc46] && ![variant_isset g95]} {
     255    default_variants +gcc47
     256}
     257
    244258variant accelerate description {use Accelerate.framework} {
    245259    if {![variant_isset g95]} {
    246260        configure.fflags-append -ff2c
  • trunk/dports/science/netcdf-fortran/Portfile

    diff --git a/trunk/dports/science/netcdf-fortran/Portfile b/trunk/dports/science/netcdf-fortran/Portfile
    a b  
    8282destroot.destdir            prefix=${destroot}${prefix} \
    8383                            MANDIR=\\\${prefix}/share/man
    8484
    85 if {![variant_isset gcc43] && ![variant_isset gcc44] && ![variant_isset gcc46] && ![variant_isset gcc47] && ![variant_isset g95]} {
    86     default_variants +gcc45
     85if {![variant_isset gcc43] && ![variant_isset gcc44] && ![variant_isset gcc45] && ![variant_isset gcc46] && ![variant_isset g95]} {
     86    default_variants +gcc47
    8787}
    8888
    8989variant gcc43 conflicts g95 gcc44 gcc45 gcc46 gcc47 description {Enable Fortran support with gfortran 4.3} {
  • trunk/dports/science/openmpi/Portfile

    diff --git a/trunk/dports/science/openmpi/Portfile b/trunk/dports/science/openmpi/Portfile
    a b  
    127127}
    128128
    129129# dependents like netcdf need some form of fortran
    130 if {![variant_isset gcc43] && ![variant_isset gcc44] && ![variant_isset gcc46]  && ![variant_isset gcc47] && ![variant_isset g95]} {
    131     default_variants +gcc45
     130if {![variant_isset gcc43] && ![variant_isset gcc44] && ![variant_isset gcc45]  && ![variant_isset gcc46] && ![variant_isset g95]} {
     131    default_variants +gcc47
    132132}
    133133
    134134livecheck.type  regex
  • trunk/dports/science/pdb2pqr/Portfile

    diff --git a/trunk/dports/science/pdb2pqr/Portfile b/trunk/dports/science/pdb2pqr/Portfile
    a b  
    66
    77name                pdb2pqr
    88version             1.7
    9 revision            1
     9revision            2
    1010categories          science
    1111maintainers         bromo.med.uc.edu:howarth
    1212description         automate Poisson-Boltzmann electrostatics calculations
     
    2323use_configure       yes
    2424build.cmd           make
    2525build.target        all
    26 depends_lib         port:gcc45 \
     26depends_lib         port:gcc47 \
    2727                    port:py26-numeric
    2828post-patch {
    29     reinplace   "s|fort xlf95 lf95 g95|gfortran-mp-4.5|g" ${worksrcpath}/propka/configure
     29    reinplace   "s|fort xlf95 lf95 g95|gfortran-mp-4.7|g" ${worksrcpath}/propka/configure
    3030    reinplace   "s|/usr/bin/env python|${python.bin}|g" ${worksrcpath}/pdb2pka/pka.py
    3131    reinplace   "s|/usr/bin/python|${python.bin}|g" ${worksrcpath}/src/psize.py
    3232    reinplace   "s|-Wl,-framework -Wl,Python -bundle|${python.lib}  -bundle|g" \
     
    3535    delete      ${worksrcpath}/contrib
    3636}
    3737configure.args      --with-max-atoms="1000000" --without-url --with-python=${python.bin} \
    38                     -with-f77=gfortran-mp-4.5
     38                    -with-f77=gfortran-mp-4.7
    3939destroot {
    4040      system "find ${worksrcpath} -name '*.o' -delete"
    4141      file mkdir ${destroot}${prefix}/share/{name}
  • trunk/dports/science/scotch/Portfile

    diff --git a/trunk/dports/science/scotch/Portfile b/trunk/dports/science/scotch/Portfile
    a b  
    3636
    3737use_configure       no
    3838
    39 variant gcc44 conflicts gcc45 description {Build with gcc 4.4} {}
    40 variant gcc45 conflicts gcc44 description {Build with gcc 4.5} {}
     39variant gcc44 conflicts gcc45 gcc46 gcc47 description {Build with gcc 4.4} {}
     40variant gcc45 conflicts gcc44 gcc46 gcc47 description {Build with gcc 4.5} {}
     41variant gcc46 conflicts gcc44 gcc45 gcc47 description {Build with gcc 4.6} {}
     42variant gcc47 conflicts gcc44 gcc45 gcc46 description {Build with gcc 4.7} {}
    4143
    4244if {[variant_isset gcc44]} {
    4345    depends_lib-append  port:gcc44
    4446    configure.compiler  macports-gcc-4.4
    45 } else {
    46     default_variants    +gcc45
     47} elseif {[variant_isset gcc45]} {
    4748    depends_lib-append  port:gcc45
    4849    configure.compiler  macports-gcc-4.5
     50} elseif {[variant_isset gcc46]} {
     51    depends_lib-append  port:gcc46
     52    configure.compiler  macports-gcc-4.6
     53} else {
     54    default_variants    +gcc47
     55    depends_lib-append  port:gcc47
     56    configure.compiler  macports-gcc-4.7
    4957}
    5058
    5159variant universal {
  • trunk/dports/science/splash/Portfile

    diff --git a/trunk/dports/science/splash/Portfile b/trunk/dports/science/splash/Portfile
    a b  
    2222                    sha256   5c32f3a094faeea7935e5262f64318ceed9af38f73418deff9e905f72fd205a1
    2323
    2424if {![variant_isset gcc44] && ![variant_isset gcc45] && ![variant_isset gcc46] && ![variant_isset gcc47]} {
    25    default_variants      +gcc45
     25   default_variants      +gcc47
    2626}
    2727default_variants    +giza
    2828
  • trunk/dports/science/whatcheck/Portfile

    diff --git a/trunk/dports/science/whatcheck/Portfile b/trunk/dports/science/whatcheck/Portfile
    a b  
    3434use_bzip2           yes
    3535extract.only        whatcheck.tar.bz2
    3636
    37 variant gcc44 conflicts gcc45 description {Build with GCC 4.4} {}
    38 variant gcc45 conflicts gcc44 description {Build with GCC 4.5} {}
     37variant gcc44 conflicts gcc45 gcc46 gcc47 description {Build with GCC 4.4} {}
     38variant gcc45 conflicts gcc44 gcc46 gcc47 description {Build with GCC 4.5} {}
     39variant gcc46 conflicts gcc44 gcc45 gcc47 description {Build with GCC 4.6} {}
     40variant gcc47 conflicts gcc44 gcc45 gcc46 description {Build with GCC 4.7} {}
    3941
    4042if {[variant_isset gcc44]} {
    4143    configure.compiler  macports-gcc-4.4
    4244    depends_lib-append  port:gcc44
    43 } else {
    44     default_variants    +gcc45
     45} elseif {[variant_isset gcc45]} {
    4546    configure.compiler  macports-gcc-4.5
    4647    depends_lib-append  port:gcc45
     48} elseif {[variant_isset gcc46]} {
     49    configure.compiler  macports-gcc-4.6
     50    depends_lib-append  port:gcc46
     51} else {
     52    default_variants    +gcc47
     53    configure.compiler  macports-gcc-4.7
     54    depends_lib-append  port:gcc47
    4755}
    4856
    4957post-extract {
  • trunk/dports/science/whizard/Portfile

    diff --git a/trunk/dports/science/whizard/Portfile b/trunk/dports/science/whizard/Portfile
    a b  
    5757}
    5858
    5959if {![variant_isset gcc45] && ![variant_isset gcc46] && ![variant_isset gcc47]} {
    60     default_variants            +gcc45
     60    default_variants            +gcc47
    6161}
    6262
    6363livecheck.type      regex