Ticket #37960: patch-Portfile.diff

File patch-Portfile.diff, 1.5 KB (added by petrrr, 12 years ago)

The patch of the Portfile, corrected version

  • Portfile

    old new  
    66
    77name                py-obspy
    88version             0.8.3
     9revision            1
    910categories-append   science
    1011platforms           darwin
    1112maintainers         bo.ingv.it:Peter.Danecek openmaintainer
     
    4344
    4445    # py-scipy is not universal
    4546    universal_variant   no
     47
     48    patchfiles          patch-setup.py.diff
     49
     50    variant gcc43 conflicts gcc44 gcc45 gcc46 gcc47 description {Compile with gcc 4.3} {
     51        depends_lib-append port:gcc43
     52        configure.compiler macports-gcc-4.3
     53    }
     54
     55    variant gcc44 conflicts gcc43 gcc45 gcc46 gcc47 description {Compile with gcc 4.4} {
     56        depends_lib-append port:gcc44
     57        configure.compiler macports-gcc-4.4
     58    }
     59
     60    variant gcc45 conflicts gcc43 gcc44 gcc46 gcc47 description {Compile with gcc 4.5} {
     61        depends_lib-append port:gcc45
     62        configure.compiler macports-gcc-4.5
     63    }
     64
     65    variant gcc46 conflicts gcc43 gcc44 gcc45 gcc47 description {Compile with gcc 4.6} {
     66        depends_lib-append port:gcc46
     67        configure.compiler macports-gcc-4.6
     68    }
     69
     70    variant gcc47 conflicts gcc43 gcc44 gcc45 gcc46  description {Compile with gcc 4.7} {
     71        depends_lib-append port:gcc47
     72        configure.compiler macports-gcc-4.7
     73    }
     74
     75    if {![variant_isset gcc43] && ![variant_isset gcc44] && ![variant_isset gcc45] && ![variant_isset gcc46] && ![variant_isset gcc47]} {
     76        default_variants +gcc45
     77    }
     78
    4679}