[70379] trunk/dports/net/wget/Portfile

ryandesign at macports.org ryandesign at macports.org
Sat Aug 7 14:14:29 PDT 2010


Revision: 70379
          http://trac.macports.org/changeset/70379
Author:   ryandesign at macports.org
Date:     2010-08-07 14:14:26 -0700 (Sat, 07 Aug 2010)
Log Message:
-----------
wget: no_ssl variant is out, default ssl variant is in

Modified Paths:
--------------
    trunk/dports/net/wget/Portfile

Modified: trunk/dports/net/wget/Portfile
===================================================================
--- trunk/dports/net/wget/Portfile	2010-08-07 21:02:43 UTC (rev 70378)
+++ trunk/dports/net/wget/Portfile	2010-08-07 21:14:26 UTC (rev 70379)
@@ -5,7 +5,7 @@
 
 name                    wget
 version                 1.12
-revision        1
+revision                2
 categories              net www
 maintainers             ryandesign
 license                 GPLv3
@@ -29,7 +29,7 @@
     rmd160  232d0aa6fb36731c162d2b7374aa9ab59e671b7d
 
 configure.args \
-    --with-libssl-prefix=${prefix}
+    --without-ssl
 
 depends_build \
     bin:makeinfo:texinfo \
@@ -37,12 +37,11 @@
 
 depends_lib \
     port:libidn \
-    port:openssl \
     port:gettext
 
 # So that +universal can use gettext and openssl on Tiger; see #18276.
 configure.ldflags-append        -liconv -lintl
-if {![variant_isset no_ssl]} {
+if {[variant_isset ssl]} {
     depends_build-append        port:pkgconfig
     pre-configure {
         configure.ldflags-append    [exec ${prefix}/bin/pkg-config --libs libssl]
@@ -56,12 +55,13 @@
     test.target             check
 }
 
-variant no_ssl description {Build without SSL support} {
-    depends_lib-delete      port:openssl
-    configure.args-append   --without-ssl
-    configure.args-delete   --with-libssl-prefix=${prefix}
+variant ssl description {Build with SSL support} {
+    depends_lib-append      port:openssl
+    configure.args-replace  s|--without-ssl|--with-libssl-prefix=${prefix}|
 }
 
+default_variants            +ssl
+
 patchfiles \
     patch-prefix.diff
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20100807/ccef49f2/attachment.html>


More information about the macports-changes mailing list