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

ryandesign at macports.org ryandesign at macports.org
Thu May 1 18:42:00 PDT 2008


Revision: 36442
          http://trac.macosforge.org/projects/macports/changeset/36442
Author:   ryandesign at macports.org
Date:     2008-05-01 18:41:59 -0700 (Thu, 01 May 2008)

Log Message:
-----------
curl: fix curl-config so it doesn't contain the universal -arch flags when the port is built universal; closes #15116. This same problem was previously fixed for the libcurl.pc pkg-config file in r33404.

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

Modified: trunk/dports/net/curl/Portfile
===================================================================
--- trunk/dports/net/curl/Portfile	2008-05-02 00:56:00 UTC (rev 36441)
+++ trunk/dports/net/curl/Portfile	2008-05-02 01:41:59 UTC (rev 36442)
@@ -5,7 +5,7 @@
 name                    curl
 # keep the version in sync with the curl-ca-bundle port
 version                 7.18.1
-revision                1
+revision                2
 categories              net www
 maintainers             ryandesign
 homepage                http://curl.haxx.se/
@@ -60,7 +60,9 @@
 
 post-destroot {
     if {[variant_isset universal]} {
-        reinplace "s|${configure.universal_ldflags}||" ${destroot}${prefix}/lib/pkgconfig/libcurl.pc
+        reinplace "s|${configure.universal_ldflags}||" \
+            ${destroot}${prefix}/bin/curl-config \
+            ${destroot}${prefix}/lib/pkgconfig/libcurl.pc
     }
     
     xinstall -d ${destroot}${docdir}

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080501/5364e6d1/attachment.html


More information about the macports-changes mailing list