Changeset 143396


Ignore:
Timestamp:
Dec 11, 2015, 11:51:34 PM (4 years ago)
Author:
mfeiri@…
Message:

znc: update to 1.6.2, depends on icu, requires c++11

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/irc/znc/Portfile

    r140981 r143396  
    55
    66name                znc
    7 version             1.6.1
     7version             1.6.2
    88categories          irc
    99platforms           darwin
     
    1818
    1919homepage            http://znc.in/
    20 master_sites        ${homepage}releases
     20master_sites        ${homepage}releases/archive/
    2121
    22 checksums           rmd160  e275cae2716c5f6ae33f057b624cbe89accacefe \
    23                     sha256  ba49397364f48d6d32ae5242bc1166f21d972f85dd390d6bbe68a63ecbb6c140
     22checksums           rmd160  347416274a7e70c06fef7d5a47b84eae6103a2aa \
     23                    sha256  eef17727c0c6433fed1affba0ea76ec7fd60198d2f3c234d8529bd5fb26f0593
    2424
    2525universal_variant   no
    2626
    27 depends_lib         path:lib/libssl.dylib:openssl port:tcl port:perl5
     27depends_lib         path:lib/libssl.dylib:openssl port:tcl port:perl5 port:icu
    2828
    2929configure.args      --enable-perl --enable-tcl --with-tcl=${prefix}/lib --disable-python
     
    5656livecheck.url       ${homepage}releases/
    5757livecheck.regex     ${name}-(\[0-9.\]+)${extract.suffix}
     58
     59# require c++11
     60if {${configure.cxx_stdlib} eq "libstdc++"} {
     61    # *clang* when using libstdc++ do not seem to support C++11;
     62    # C++11 support seems to need GCC 4.7+ when using libstdc++;
     63    # could use C++0x support on GCC4.[56], but just ignore it since
     64    # there are newer compilers already in place as defaults.
     65
     66    # Blacklist GCC compilers not supporting C++11 and all CLANG.
     67    # This is probably not necessary, but it's good practice.
     68    compiler.blacklist-append *clang* {*gcc-3*} {*gcc-4.[0-6]}
     69
     70    # and whitelist those we do want to use. wish there were a better way.
     71    # these will be used in the order provided.
     72    compiler.whitelist macports-gcc-4.9 macports-gcc-4.8 macports-gcc-4.7
     73} else {
     74    # using libc++;
     75    # Blacklist Clang not supporting C++11 in some form and all GCC.
     76    compiler.blacklist-append *gcc* {clang < 500}
     77}
Note: See TracChangeset for help on using the changeset viewer.