Opened 14 years ago

Closed 14 years ago

#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 (1)

Portfile.diff (523 bytes) - added by nirs@… 14 years ago.
patch

Download all attachments as: .zip

Change History (2)

Changed 14 years ago by nirs@…

Attachment: Portfile.diff added

patch

comment:1 Changed 14 years ago by yeled@…

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.