Changeset 139262 for trunk/dports/math


Ignore:
Timestamp:
Aug 9, 2015, 11:54:34 PM (4 years ago)
Author:
michaelld@…
Message:

octave-interval: no longer requires c++11, per #48534.

File:
1 edited

Legend:

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

    r139125 r139262  
    2727patchfiles-append \
    2828    patch-src_Makefile.diff
    29 
    30 # octave-interval requires <cfenv>, which is part of C++0x and newer.
    31 # require c++11
    32 
    33 if {${configure.cxx_stdlib} eq "libstdc++"} {
    34 
    35     # *clang* when using libstdc++ do not seem to support C++11;
    36     # C++11 support seems to need GCC 4.7+ when using libstdc++;
    37     # could use C++0x support on GCC4.[56], but just ignore it since
    38     # there are newer compilers already in place as defaults.
    39 
    40     # Blacklist GCC compilers not supporting C++11 and all CLANG.
    41     # This is probably not necessary, but it's good practice.
    42 
    43     compiler.blacklist-append *clang* {*gcc-3*} {*gcc-4.[0-6]}
    44 
    45     # and whitelist those we do want to use. wish there were a better way.
    46     # these will be used in the order provided.
    47 
    48     compiler.whitelist macports-gcc-4.9 macports-gcc-4.8 macports-gcc-4.7
    49 
    50 } else {
    51 
    52     # using libc++;
    53     # Blacklist Clang not supporting C++11 in some form and all GCC.
    54 
    55     compiler.blacklist-append *gcc* {clang < 500}
    56 
    57 }
Note: See TracChangeset for help on using the changeset viewer.