Ticket #37226: 3.patch

File 3.patch, 1.9 KB (added by seanfarley (Sean Farley), 12 years ago)

py-pynifti: add gcc46 and gcc47 variants

  • dports/python/py-pynifti/Portfile

    # HG changeset patch
    # User Sean Farley <sean.michael.farley@gmail.com>
    # Date 1354646153 21600
    # Node ID 01ccba12aead438d43ea06f77d7b53723762802e
    # Parent  ce3f0abc9042338ff93d3faf02490c94cbef310a
    py-pynifti: add gcc46 and gcc47 variants
    
    diff --git a/dports/python/py-pynifti/Portfile b/dports/python/py-pynifti/Portfile
    a b  
    3333    patchfiles          patch-setup-py.diff
    3434    post-patch {
    3535        reinplace "s|@@PREFIX@@|${prefix}|g" ${worksrcpath}/setup.py
    3636    }
    3737
    38     variant gcc43 conflicts gcc44 gcc45 description {build with gcc 4.3} {
     38    variant gcc43 conflicts gcc44 gcc45 gcc46 gcc47 description {build with gcc 4.3} {
    3939        depends_build-append port:gcc43
    4040        configure.compiler   macports-gcc-4.3
    4141    }
    4242
    43     variant gcc44 conflicts gcc43 gcc45 description {build with gcc 4.4} {
     43    variant gcc44 conflicts gcc43 gcc45 gcc46 gcc47 description {build with gcc 4.4} {
    4444        depends_build-append port:gcc44
    4545        configure.compiler   macports-gcc-4.4
    4646    }
    4747
    48     variant gcc45 conflicts gcc43 gcc44 description {build with gcc 4.5} {
     48    variant gcc45 conflicts gcc43 gcc44 gcc46 gc47 description {build with gcc 4.5} {
    4949        depends_build-append port:gcc45
    5050        configure.compiler   macports-gcc-4.5
    5151    }
    5252
     53    variant gcc46 conflicts gcc43 gcc44 gcc45 gcc47 description {build with gcc 4.6} {
     54        depends_build-append port:gcc46
     55        configure.compiler   macports-gcc-4.6
     56    }
     57
     58    variant gcc47 conflicts gcc43 gcc44 gcc45 gcc46 description {build with gcc 4.7} {
     59        depends_build-append port:gcc47
     60        configure.compiler   macports-gcc-4.7
     61    }
     62
    5363    if {![variant_isset gcc43] && ![variant_isset gcc44]} {
    54         default_variants +gcc45
     64        default_variants +gcc47
    5565    }
    5666
    5767    livecheck.type      none
    5868} else {
    5969    livecheck.regex     {pynifti_([0-9.]+).tar.gz}