source: trunk/dports/irc/znc/Portfile

Last change on this file was 146517, checked in by raimue@…, 19 months ago

Mass rev-bump dependents of port openssl due to ABI change

Disabling SSLv2 in r146162 changed the ABI of the library, leading to loading
errors for binaries with references to SSLv2 symbols.

https://lists.macosforge.org/pipermail/macports-dev/2016-March/032531.html

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 3.2 KB
Line 
1# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
2# $Id: Portfile 146517 2016-03-10 17:49:28Z ryandesign@macports.org $
3
4PortSystem 1.0
5
6name                znc
7version             1.6.2
8revision            1
9categories          irc
10platforms           darwin
11maintainers         mfeiri openmaintainer
12license             Apache-2
13description         An advanced IRC bouncer
14long_description    ZNC is an IRC bounce/proxy with many advanced features \
15                    like detaching, multiple users, multiple clients per \
16                    user, channel/query playback buffers, SSL, IPv6, \
17                    transparent DCC bouncing, C++/Perl/Tcl module support, \
18                    party line, and Web administration.
19
20homepage            http://znc.in/
21master_sites        ${homepage}releases/archive/
22
23checksums           rmd160  347416274a7e70c06fef7d5a47b84eae6103a2aa \
24                    sha256  eef17727c0c6433fed1affba0ea76ec7fd60198d2f3c234d8529bd5fb26f0593
25
26universal_variant   no
27
28depends_lib         path:lib/libssl.dylib:openssl port:tcl port:perl5 port:icu
29
30configure.args      --enable-perl --enable-tcl --with-tcl=${prefix}/lib --disable-python
31
32variant python33 description "Enable Python modules, using python33" conflicts python34 python35 {
33    compiler.blacklist-append { clang <= 503.0.38  }
34    configure.args-replace --disable-python --enable-python
35    depends_lib-append port:python33
36    configure.pkg_config_path ${frameworks_dir}/Python.framework/Versions/3.3/lib/pkgconfig/
37}
38
39variant python34 description "Enable Python modules, using python34" conflicts python33 python35 {
40    compiler.blacklist-append { clang <= 503.0.38  }
41    configure.args-replace --disable-python --enable-python
42    depends_lib-append port:python34
43    configure.pkg_config_path ${frameworks_dir}/Python.framework/Versions/3.4/lib/pkgconfig/
44}
45
46variant python35 description "Enable Python modules, using python35" conflicts python33 python34 {
47    compiler.blacklist-append { clang <= 503.0.38  }
48    configure.args-replace --disable-python --enable-python
49    depends_lib-append port:python35
50    configure.pkg_config_path ${frameworks_dir}/Python.framework/Versions/3.5/lib/pkgconfig/
51}
52
53# Will fail in trace mode due to this downloads gtest
54test.run            yes
55
56livecheck.type      regex
57livecheck.url       ${homepage}releases/
58livecheck.regex     ${name}-(\[0-9.\]+)${extract.suffix}
59
60# require c++11
61if {${configure.cxx_stdlib} eq "libstdc++"} {
62    # *clang* when using libstdc++ do not seem to support C++11;
63    # C++11 support seems to need GCC 4.7+ when using libstdc++;
64    # could use C++0x support on GCC4.[56], but just ignore it since
65    # there are newer compilers already in place as defaults.
66
67    # Blacklist GCC compilers not supporting C++11 and all CLANG.
68    # This is probably not necessary, but it's good practice.
69    compiler.blacklist-append *clang* {*gcc-3*} {*gcc-4.[0-6]}
70
71    # and whitelist those we do want to use. wish there were a better way.
72    # these will be used in the order provided.
73    compiler.whitelist macports-gcc-4.9 macports-gcc-4.8 macports-gcc-4.7
74} else {
75    # using libc++;
76    # Blacklist Clang not supporting C++11 in some form and all GCC.
77    compiler.blacklist-append *gcc* {clang < 500}
78}
Note: See TracBrowser for help on using the repository browser.