[143396] trunk/dports/irc/znc/Portfile
mfeiri at macports.org
mfeiri at macports.org
Sat Dec 12 09:48:33 PST 2015
Revision: 143396
https://trac.macports.org/changeset/143396
Author: mfeiri at macports.org
Date: 2015-12-11 15:51:34 -0800 (Fri, 11 Dec 2015)
Log Message:
-----------
znc: update to 1.6.2, depends on icu, requires c++11
Modified Paths:
--------------
trunk/dports/irc/znc/Portfile
Modified: trunk/dports/irc/znc/Portfile
===================================================================
--- trunk/dports/irc/znc/Portfile 2015-12-11 23:31:45 UTC (rev 143395)
+++ trunk/dports/irc/znc/Portfile 2015-12-11 23:51:34 UTC (rev 143396)
@@ -4,7 +4,7 @@
PortSystem 1.0
name znc
-version 1.6.1
+version 1.6.2
categories irc
platforms darwin
maintainers mfeiri openmaintainer
@@ -17,14 +17,14 @@
party line, and Web administration.
homepage http://znc.in/
-master_sites ${homepage}releases
+master_sites ${homepage}releases/archive/
-checksums rmd160 e275cae2716c5f6ae33f057b624cbe89accacefe \
- sha256 ba49397364f48d6d32ae5242bc1166f21d972f85dd390d6bbe68a63ecbb6c140
+checksums rmd160 347416274a7e70c06fef7d5a47b84eae6103a2aa \
+ sha256 eef17727c0c6433fed1affba0ea76ec7fd60198d2f3c234d8529bd5fb26f0593
universal_variant no
-depends_lib path:lib/libssl.dylib:openssl port:tcl port:perl5
+depends_lib path:lib/libssl.dylib:openssl port:tcl port:perl5 port:icu
configure.args --enable-perl --enable-tcl --with-tcl=${prefix}/lib --disable-python
@@ -55,3 +55,23 @@
livecheck.type regex
livecheck.url ${homepage}releases/
livecheck.regex ${name}-(\[0-9.\]+)${extract.suffix}
+
+# require c++11
+if {${configure.cxx_stdlib} eq "libstdc++"} {
+ # *clang* when using libstdc++ do not seem to support C++11;
+ # C++11 support seems to need GCC 4.7+ when using libstdc++;
+ # could use C++0x support on GCC4.[56], but just ignore it since
+ # there are newer compilers already in place as defaults.
+
+ # Blacklist GCC compilers not supporting C++11 and all CLANG.
+ # This is probably not necessary, but it's good practice.
+ compiler.blacklist-append *clang* {*gcc-3*} {*gcc-4.[0-6]}
+
+ # and whitelist those we do want to use. wish there were a better way.
+ # these will be used in the order provided.
+ compiler.whitelist macports-gcc-4.9 macports-gcc-4.8 macports-gcc-4.7
+} else {
+ # using libc++;
+ # Blacklist Clang not supporting C++11 in some form and all GCC.
+ compiler.blacklist-append *gcc* {clang < 500}
+}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20151212/303f0d75/attachment.html>
More information about the macports-changes
mailing list