[22854] trunk/dports/net/curl/Portfile
source_changes at macosforge.org
source_changes at macosforge.org
Fri Mar 16 13:23:50 PDT 2007
Revision: 22854
http://trac.macosforge.org/projects/macports/changeset/22854
Author: pipping at macports.org
Date: 2007-03-16 13:23:50 -0700 (Fri, 16 Mar 2007)
Log Message:
-----------
* add mirrors (ftp, http)
universal variant: * allow non-universal ports to use the flags provided
by `curl-config --libs` (removing '-arch' flags)
Modified Paths:
--------------
trunk/dports/net/curl/Portfile
Modified: trunk/dports/net/curl/Portfile
===================================================================
--- trunk/dports/net/curl/Portfile 2007-03-16 20:20:39 UTC (rev 22853)
+++ trunk/dports/net/curl/Portfile 2007-03-16 20:23:50 UTC (rev 22854)
@@ -13,8 +13,12 @@
homepage http://curl.haxx.se/
platforms darwin freebsd
master_sites http://curl.haxx.se/download/ \
+ ftp://ftp.sunet.se/pub/www/utilities/curl/ \
http://curl.sourceforge.net/download/ \
- http://cool.haxx.se/curl/
+ http://cool.haxx.se/curl/ \
+ ftp://gd.tuwien.ac.at/utils/archivers/curl/ \
+ http://gd.tuwien.ac.at/utils/archivers/curl/ \
+ http://www.execve.net/curl/
checksums md5 acdab0b0467c55e10ed02d2afed80575 \
sha1 645f87f63d29f71dced74869450d52f84a75c2b6 \
rmd160 8251efba8f4bde512b7cf68ad0acb5efb4302d9b
@@ -35,6 +39,14 @@
test.run yes
test.target test-full
+# fix the output of 'curl-config --libs' for universal builds
+post-destroot {
+ if {[variant_isset universal]} {
+ reinplace "s|-arch i386 -arch ppc ||g" \
+ ${destroot}${prefix}/bin/curl-config
+ }
+}
+
platform darwin 6 {
depends_lib-append lib:libdl:dlcompat
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20070316/a7bd0c25/attachment.html
More information about the macports-changes
mailing list