[93987] trunk/dports/net/curl/Portfile

ryandesign at macports.org ryandesign at macports.org
Wed Jun 6 07:42:15 PDT 2012


Revision: 93987
          https://trac.macports.org/changeset/93987
Author:   ryandesign at macports.org
Date:     2012-06-06 07:42:15 -0700 (Wed, 06 Jun 2012)
Log Message:
-----------
curl: remove deprecated use of -replace

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

Modified: trunk/dports/net/curl/Portfile
===================================================================
--- trunk/dports/net/curl/Portfile	2012-06-06 14:40:57 UTC (rev 93986)
+++ trunk/dports/net/curl/Portfile	2012-06-06 14:42:15 UTC (rev 93987)
@@ -119,46 +119,54 @@
     depends_lib-append      port:openssl \
                             port:curl-ca-bundle
     archcheck.files-append  lib/libssl.dylib
-    configure.args-replace  s|--without-ssl|--with-ssl|
-    configure.args-append   --with-ca-bundle=${prefix}/share/curl/curl-ca-bundle.crt
+    configure.args-delete   --without-ssl
+    configure.args-append   --with-ssl \
+                            --with-ca-bundle=${prefix}/share/curl/curl-ca-bundle.crt
 }
 
 variant ares description {Add support for resolving names asynchronously} {
     depends_lib-append      port:c-ares
     archcheck.files-append  lib/libcares.dylib
-    configure.args-replace  s|--disable-ares|--enable-ares|
+    configure.args-delete   --disable-ares
+    configure.args-append   --enable-ares
 }
 
 variant spnego description {Enable SPNEGO authentication support} {
     # kind of broken?
     depends_lib-append      port:fbopenssl
     archcheck.files-append  lib/libfbopenssl.dylib
-    configure.args-replace  s|--without-spnego|--with-spnego=${prefix}|
+    configure.args-delete   --without-spnego
+    configure.args-append   --with-spnego=${prefix}
 }
 
 variant gnutls conflicts ssl description {Allow secure connections using GNU TLS} {
     depends_lib-append      port:gnutls
     archcheck.files-append  lib/libgnutls.dylib
-    configure.args-replace  s|--without-gnutls|--with-gnutls|
+    configure.args-delete   --without-gnutls
+    configure.args-append   --with-gnutls
 }
 
 variant gss description {Support the Generic Security Service API} {
     # This needs to use the system's Kerberos, not MacPorts' gss or kerberos5.
     conflicts-append        gss kerberos5
-    configure.args-replace  s|--without-gssapi|--with-gssapi|
+    configure.args-delete   --without-gssapi
+    configure.args-append   --with-gssapi
 }
 
 variant openldap description {Support performing Lightweight Directory Access Protocol queries with OpenLDAP} {
     depends_lib-append      port:openldap
     archcheck.files-append  lib/libldap.dylib
-    configure.args-replace  s|--disable-ldap|--enable-ldap|
-    configure.args-replace  s|--disable-ldaps|--enable-ldaps|
+    configure.args-delete   --disable-ldap \
+                            --disable-ldaps
+    configure.args-append   --enable-ldap \
+                            --enable-ldaps
 }
 
 variant sftp_scp description {Add SFTP/SCP support via libssh2} {
     depends_lib-append      port:libssh2
     archcheck.files-append  lib/libssh2.dylib
-    configure.args-replace  s|--without-libssh2|--with-libssh2|
+    configure.args-delete   --without-libssh2
+    configure.args-append   --with-libssh2
 }
 
 livecheck.type              regex
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120606/c0291bad/attachment.html>


More information about the macports-changes mailing list