[111662] trunk/dports/net/vantages/Portfile

ryandesign at macports.org ryandesign at macports.org
Fri Sep 27 22:16:55 PDT 2013


Revision: 111662
          https://trac.macports.org/changeset/111662
Author:   ryandesign at macports.org
Date:     2013-09-27 22:16:55 -0700 (Fri, 27 Sep 2013)
Log Message:
-----------
vantages: allow certsync to satisfy curl-ca-bundle dependency; use get_canonical_archflags

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

Modified: trunk/dports/net/vantages/Portfile
===================================================================
--- trunk/dports/net/vantages/Portfile	2013-09-28 05:14:08 UTC (rev 111661)
+++ trunk/dports/net/vantages/Portfile	2013-09-28 05:16:55 UTC (rev 111662)
@@ -36,8 +36,7 @@
 # /usr/bin/ranlib: library member: libshttpd.a(compat_unix.c) is not an object file (not allowed in a library with multiple architectures)
 universal_variant       no
 
-depends_lib             port:curl-ca-bundle \
-                        port:expat \
+depends_lib             port:expat \
                         port:gnupg \
                         port:gpgme \
                         port:libgpg-error \
@@ -47,18 +46,14 @@
                         port:p5.12-term-readkey \
                         port:sqlite3
 
+depends_run             path:share/curl/curl-ca-bundle.crt:curl-ca-bundle
+
 use_autoreconf          yes
 
 configure.universal_args-delete --disable-dependency-tracking
 
-if {[variant_exists universal] && [variant_isset universal]} {
-    set archflags ${configure.universal_cflags}
-} else {
-    set archflags ${configure.cc_archflags}
-}
+build.args              CC="${configure.cc} [get_canonical_archflags cc]"
 
-build.args              CC="${configure.cc} ${archflags}"
-
 livecheck.type  regex
 livecheck.url   ${homepage}download.html
 livecheck.regex "${name}-(\[0-9.a-d\]+)${extract.suffix}"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130927/cdd9b4a8/attachment.html>


More information about the macports-changes mailing list