Ticket #38438: patch-numpy-default-variant.diff

File patch-numpy-default-variant.diff, 1.1 KB (added by seanfarley (Sean Farley), 12 years ago)

change default compiler variant

  • dports/python/py-numpy/Portfile

    # HG changeset patch
    # User Sean Farley <sean.michael.farley@gmail.com>
    # Date 1364092513 18000
    #      Sat Mar 23 21:35:13 2013 -0500
    # Node ID feba1d3361ada25def761ccb6abeea1b47415069
    # Parent  75efd583378d2b69379db8e07a7efd01008dd3fc
    py-numpy: use gcc47 for default variant
    
    diff --git a/dports/python/py-numpy/Portfile b/dports/python/py-numpy/Portfile
    a b  
    8888        variant gcc47 conflicts gcc43 gcc44 gcc45 gcc46 \
    8989        description {Use the gcc47 compiler (enables fortran linking)} {
    9090            configure.compiler      macports-gcc-4.7
    9191        }
    9292
    93         if {![variant_isset gcc43] && ![variant_isset gcc44] && ![variant_isset gcc46] && ![variant_isset gcc47]} {
    94             default_variants    +gcc45
     93        if {![variant_isset gcc43] && ![variant_isset gcc44] && ![variant_isset gcc45] && ![variant_isset gcc46]} {
     94            default_variants    +gcc47
    9595        }
    9696
    9797        if {[variant_isset gcc43]} {
    9898            set gcc_version "4.3"
    9999        } elseif {[variant_isset gcc44]} {