Revision: 133364 https://trac.macports.org/changeset/133364 Author: ryandesign@macports.org Date: 2015-02-27 10:22:17 -0800 (Fri, 27 Feb 2015) Log Message: ----------- curl: add http2 variant (#44380) Modified Paths: -------------- trunk/dports/net/curl/Portfile Modified: trunk/dports/net/curl/Portfile =================================================================== --- trunk/dports/net/curl/Portfile 2015-02-27 18:18:20 UTC (rev 133363) +++ trunk/dports/net/curl/Portfile 2015-02-27 18:22:17 UTC (rev 133364) @@ -46,6 +46,7 @@ --without-libmetalink \ --without-librtmp \ --without-libssh2 \ + --without-nghttp2 \ --without-nss \ --without-polarssl \ --without-spnego \ @@ -130,6 +131,11 @@ configure.args-replace --without-gssapi --with-gssapi } + variant http2 description {Support HTTP/2 with nghttp2} { + depends_lib-append port:nghttp2 + configure.args-replace --without-nghttp2 --with-nghttp2 + } + variant metalink description {Support Metalink XML download description files} { depends_lib-append port:libmetalink configure.args-replace --without-libmetalink --with-libmetalink=${prefix}
participants (1)
-
ryandesign@macports.org