<pre style='margin:0'>
Perry E. Metzger (pmetzger) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/886e416e16c99243c931d2a1de65cb7a2a413e71">https://github.com/macports/macports-ports/commit/886e416e16c99243c931d2a1de65cb7a2a413e71</a></p>
<pre style="white-space: pre; background: #F8F8F8">The following commit(s) were added to refs/heads/master by this push:
<span style='display:block; white-space:pre;color:#404040;'> new 886e416 wget: +ssl and +gnutls
</span>886e416 is described below
<span style='display:block; white-space:pre;color:#808000;'>commit 886e416e16c99243c931d2a1de65cb7a2a413e71
</span>Author: Jan StarĂ½ <hans@stare.cz>
AuthorDate: Fri Mar 2 23:56:37 2018 +0100
<span style='display:block; white-space:pre;color:#404040;'> wget: +ssl and +gnutls
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> Currently, wget has a +ssl variant, which actually builds with gnutls.
</span><span style='display:block; white-space:pre;color:#404040;'> Name that +gnutls, and also have a +ssl variant built with openssl.
</span><span style='display:block; white-space:pre;color:#404040;'> (That's how other ports call these vaiants, see e.g. curl.)
</span><span style='display:block; white-space:pre;color:#404040;'> Make +gnutls the default, as that's what upstream does.
</span>---
net/wget/Portfile | 17 +++++++++++++----
1 file changed, 13 insertions(+), 4 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/net/wget/Portfile b/net/wget/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index c5464b9..c0eb840 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/net/wget/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/net/wget/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -5,7 +5,7 @@ PortGroup muniversal 1.0
</span>
name wget
version 1.19.4
<span style='display:block; white-space:pre;background:#ffe0e0;'>-revision 1
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+revision 2
</span> categories net www
maintainers {ryandesign @ryandesign} openmaintainer
license GPL-3+
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -91,12 +91,21 @@ configure.args-append ac_cv_header_uuid_uuid_h=no
</span> test.run yes
test.target check
<span style='display:block; white-space:pre;background:#ffe0e0;'>-variant ssl description {Build with SSL support using GnuTLS} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+variant gnutls conflicts ssl description {SSL support via GnuTLS} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.args-replace --without-ssl --with-ssl=gnutls
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.args-append --with-libgnutls-prefix=${prefix}
</span> depends_lib-append port:gnutls
<span style='display:block; white-space:pre;background:#ffe0e0;'>- configure.args-delete --without-ssl
</span> }
<span style='display:block; white-space:pre;background:#ffe0e0;'>-default_variants +ssl
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+variant ssl conflicts gnutls description {SSL support via OpenSSL} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.args-replace --without-ssl --with-ssl=openssl
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.args-append --with-libssl-prefix=${prefix}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ depends_lib-append path:lib/libssl.dylib:openssl
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+if {![variant_isset ssl]} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ default_variants +gnutls
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span>
post-patch {
reinplace "s|@PREFIX@|${prefix}|g" \
</pre><pre style='margin:0'>
</pre>