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

ryandesign at macports.org ryandesign at macports.org
Mon Dec 14 15:43:46 PST 2009


Revision: 61559
          http://trac.macports.org/changeset/61559
Author:   ryandesign at macports.org
Date:     2009-12-14 15:43:42 -0800 (Mon, 14 Dec 2009)
Log Message:
-----------
curl: add archcheck portgroup; see #22769

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

Modified: trunk/dports/net/curl/Portfile
===================================================================
--- trunk/dports/net/curl/Portfile	2009-12-14 22:46:56 UTC (rev 61558)
+++ trunk/dports/net/curl/Portfile	2009-12-14 23:43:42 UTC (rev 61559)
@@ -2,6 +2,7 @@
 
 PortSystem              1.0
 PortGroup               muniversal 1.0
+PortGroup               archcheck 1.0
 
 name                    curl
 # keep the version in sync with the curl-ca-bundle port
@@ -52,6 +53,8 @@
 depends_lib \
     port:zlib
 
+archcheck.files         lib/libz.dylib
+
 test.run                yes
 test.target             test-full
 
@@ -94,6 +97,7 @@
 variant ssl {
     depends_lib-append      port:openssl \
                             port:curl-ca-bundle
+    archcheck.files-append  lib/libssl.dylib
     configure.args-append   --with-ca-bundle=${prefix}/share/curl/curl-ca-bundle.crt
     configure.args-delete   --without-ssl
 }
@@ -104,23 +108,27 @@
 }
 
 variant ares description {Add support for resolving names asynchronously} {
-    depends_lib-append      lib:libcares:c-ares
+    depends_lib-append      port:c-ares
+    archcheck.files-append  lib/libcares.dylib
     configure.args-append   --enable-ares=${prefix}
 }
 
 variant idn description {Add support for internationalized domain names} {
     depends_lib-append      port:libidn
+    archcheck.files-append  lib/libidn.dylib
     configure.args-delete   --without-libidn
 }
 
 variant spnego description {Enable SPNEGO authentication support} {
     # kind of broken?
     depends_lib-append      port:fbopenssl
+    archcheck.files-append  lib/libfbopenssl.dylib
     configure.args-append   --with-spnego=${prefix}
 }
 
 variant gnutls conflicts ssl {
     depends_lib-append      port:gnutls
+    archcheck.files-append  lib/libgnutls.dylib
     configure.args-append   --with-gnutls
 }
 
@@ -130,11 +138,13 @@
 
 variant openldap {
     depends_lib-append      port:openldap
+    archcheck.files-append  lib/libldap.dylib
     configure.args-delete   --disable-ldap
 }
 
 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
 }
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20091214/c40a037a/attachment.html>


More information about the macports-changes mailing list