[113996] trunk/dports/net/curl/Portfile
ryandesign at macports.org
ryandesign at macports.org
Tue Nov 26 23:54:35 PST 2013
Revision: 113996
https://trac.macports.org/changeset/113996
Author: ryandesign at macports.org
Date: 2013-11-26 23:54:35 -0800 (Tue, 26 Nov 2013)
Log Message:
-----------
curl: use -replace where possible
Modified Paths:
--------------
trunk/dports/net/curl/Portfile
Modified: trunk/dports/net/curl/Portfile
===================================================================
--- trunk/dports/net/curl/Portfile 2013-11-27 06:41:21 UTC (rev 113995)
+++ trunk/dports/net/curl/Portfile 2013-11-27 07:54:35 UTC (rev 113996)
@@ -114,56 +114,47 @@
variant ares description {Support resolving names asynchronously} {
depends_lib-append port:c-ares
- configure.args-delete --disable-ares
- configure.args-append --enable-ares
+ configure.args-replace --disable-ares --enable-ares
}
variant gnutls conflicts ssl description {Allow secure connections using GNU TLS} {
depends_lib-append port:gnutls
- configure.args-delete --without-gnutls
- configure.args-append --with-gnutls
+ configure.args-replace --without-gnutls --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-delete --without-gssapi
- configure.args-append --with-gssapi
+ configure.args-replace --without-gssapi --with-gssapi
}
variant metalink description {Support Metalink XML download description files} {
depends_lib-append port:libmetalink
- configure.args-delete --without-libmetalink
- configure.args-append --with-libmetalink=${prefix}
+ configure.args-replace --without-libmetalink --with-libmetalink=${prefix}
}
variant openldap description {Support performing Lightweight Directory Access Protocol queries with OpenLDAP} {
depends_lib-append port:openldap
- configure.args-delete --disable-ldap \
- --disable-ldaps
- configure.args-append --enable-ldap \
- --enable-ldaps
+ configure.args-replace --disable-ldap --enable-ldap
+ configure.args-replace --disable-ldaps --enable-ldaps
}
variant sftp_scp description {Support SFTP/SCP connections via libssh2} {
depends_lib-append port:libssh2
- configure.args-delete --without-libssh2
- configure.args-append --with-libssh2
+ configure.args-replace --without-libssh2 --with-libssh2
}
variant spnego description {Enable SPNEGO authentication support} {
# kind of broken?
depends_lib-append port:fbopenssl
- configure.args-delete --without-spnego
- configure.args-append --with-spnego=${prefix}
+ configure.args-replace --without-spnego --with-spnego=${prefix}
}
variant ssl conflicts gnutls description {Allow secure connections using OpenSSL} {
depends_lib-append port:openssl \
path:share/curl/curl-ca-bundle.crt:curl-ca-bundle
- configure.args-delete --without-ssl
- configure.args-append --with-ssl \
- --with-ca-bundle=${prefix}/share/curl/curl-ca-bundle.crt
+ configure.args-replace --without-ssl --with-ssl
+ configure.args-append --with-ca-bundle=${prefix}/share/curl/curl-ca-bundle.crt
}
if {![variant_isset gnutls]} {
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20131126/4955e78b/attachment.html>
More information about the macports-changes
mailing list