Changeset 54116


Ignore:
Timestamp:
Jul 21, 2009, 4:40:44 PM (10 years ago)
Author:
alakazam@…
Message:

#20103 : Use a common default gcc variant in scientific packages ; use gcc43 as default variant for octave

File:
1 edited

Legend:

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

    r52711 r54116  
    7474test.target         check
    7575
    76 variant gcc43 description {builds with the macports gcc43 toolchain} {
    77     depends_lib-append  port:gcc43
    78     configure.compiler  macports-gcc-4.3
     76variant gcc43 description {build with the macports gcc43 toolchain} conflicts gcc44 g95 {
     77    depends_build-append    port:gcc43
     78    configure.compiler      macports-gcc-4.3
    7979}
    8080
    81 variant gcc44 description {builds with the macports gcc44 toolchain} {
    82     depends_lib-append  port:gcc44
    83     configure.compiler  macports-gcc-4.4
     81variant gcc44 description {build with the macports gcc44 toolchain} conflicts gcc43 g95 {
     82    depends_build-append    port:gcc44
     83    configure.compiler      macports-gcc-4.4
    8484}
    8585
    86 if {![variant_isset gcc43] && ![variant_isset gcc44]} {
    87     depends_lib-append  port:g95
     86variant g95 description {build with g95} conflicts gcc43 gcc44 {
     87    depends_build-append    port:g95
    8888    configure.f77       "${prefix}/bin/g95"
     89}
     90
     91if { ![variant_isset gcc43] && ![variant_isset gcc44] && ![variant_isset g95] } {
     92    default_variants +gcc43
    8993}
    9094
Note: See TracChangeset for help on using the changeset viewer.