Ticket #10921 (closed defect: fixed)
curl universal variant fix
| Reported by: | nirs@… | Owned by: | yeled@… |
|---|---|---|---|
| Priority: | Low | Milestone: | |
| Component: | ports | Version: | 1.3.2 |
| Keywords: | curl universal | Cc: | yeled@… |
| Port: |
Description
curl +universal does not build because universal builds must use --disable-dependency-tracking.
It will be a good idea to check other ports for this problem.
Here is a fix, tested on 10.4.8:
--- Portfile.old 2006-10-22 00:38:28.000000000 +0200
+++ Portfile 2006-10-22 00:43:24.000000000 +0200
@@ -65,6 +65,7 @@
}
platform universal {
- build.args CFLAGS="-I${prefix}/include -O2 -isysroot /Developer/SDKs/MacOSX10.4u.sdk -arch i386 -arch ppc" \
+ configure.args-append --disable-dependency-tracking \
+ CFLAGS="-I${prefix}/include -O2 -isysroot /Developer/SDKs/MacOSX10.4u.sdk -arch i386 -arch ppc" \
LDFLAGS="-Wl,-syslibroot,/Developer/SDKs/MacOSX10.4u.sdk -arch i386 -arch ppc"
}
Attachments
Change History
Changed 7 years ago by nirs@…
- Attachment Portfile.diff added
Note: See
TracTickets for help on using
tickets.


patch