Revision: 70383 http://trac.macports.org/changeset/70383 Author: ryandesign@macports.org Date: 2010-08-07 14:34:07 -0700 (Sat, 07 Aug 2010) Log Message: ----------- curl: use configure.args-replace instead of -delete and -append Modified Paths: -------------- trunk/dports/net/curl/Portfile Modified: trunk/dports/net/curl/Portfile =================================================================== --- trunk/dports/net/curl/Portfile 2010-08-07 21:29:40 UTC (rev 70382) +++ trunk/dports/net/curl/Portfile 2010-08-07 21:34:07 UTC (rev 70383) @@ -113,54 +113,46 @@ depends_lib-append port:openssl \ port:curl-ca-bundle archcheck.files-append lib/libssl.dylib - configure.args-delete --without-ssl - configure.args-append --with-ssl \ - --with-ca-bundle=${prefix}/share/curl/curl-ca-bundle.crt + configure.args-replace s|--without-ssl|--with-ssl| + configure.args-append --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-delete --disable-ares - configure.args-append --enable-ares + configure.args-replace s|--disable-ares|--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-delete --without-spnego - configure.args-append --with-spnego=${prefix} + configure.args-replace s|--without-spnego|--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-delete --without-gnutls - configure.args-append --with-gnutls + configure.args-replace s|--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 s|--without-gssapi|--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-delete --disable-ldap \ - --disable-ldaps - configure.args-append --enable-ldap \ - --enable-ldaps + configure.args-replace s|--disable-ldap|--enable-ldap| + configure.args-replace s|--disable-ldaps|--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-delete --without-libssh2 - configure.args-append --with-libssh2 + configure.args-replace s|--without-libssh2|--with-libssh2| } livecheck.type freshmeat
participants (1)
-
ryandesign@macports.org