Ticket #48247: cppcheck.patch

File cppcheck.patch, 673 bytes (added by Ionic (Mihai Moldovan), 9 years ago)

Simple patch to make cppcheck use the cxx11 PortGroup.

  • dports/devel/cppcheck/Portfile

    diff --git a/dports/devel/cppcheck/Portfile b/dports/devel/cppcheck/Portfile
    index 4558b20..5acf536 100644
    a b  
    22# $Id$
    33
    44PortSystem                  1.0
    5 PortGroup                   compiler_blacklist_versions 1.0
     5PortGroup                   cxx11 1.0
    66
    77name                        cppcheck
    88version                     1.69
    depends_build port:libxslt \ 
    3030
    3131depends_lib                 port:pcre
    3232
    33 compiler.blacklist-append   *gcc* {clang < 137}
    34 compiler.fallback-append    macports-clang-3.5
    35 
    3633use_configure               no
    3734
    3835variant universal {}