Revision
75686
Author
ryandesign@macports.org
Date
2011-02-03 22:53:25 -0800 (Thu, 03 Feb 2011)

Log Message

curl: fix unintended difference in curl-config between i386 and ppc architectures when building universal which prevented destroot from completing; see #24001

Modified Paths

Diff

Modified: trunk/dports/net/curl/Portfile (75685 => 75686)


--- trunk/dports/net/curl/Portfile	2011-02-04 05:55:57 UTC (rev 75685)
+++ trunk/dports/net/curl/Portfile	2011-02-04 06:53:25 UTC (rev 75686)
@@ -77,6 +77,7 @@
         reinplace -E {s|-arch [a-z0-9_]+||g} \
             ${dir}/curl-config \
             ${dir}/libcurl.pc
+        reinplace -E {s/ '(host_alias|--host)=[^']+'//g} ${dir}/curl-config
     }
 }