Opened 17 years ago

Closed 15 years ago

#13971 closed enhancement (wontfix)

cairo universal for Tiger built from Leopard/ppc

Reported by: reiffert@… Owned by: ryandesign (Ryan Carsten Schmidt)
Priority: Normal Milestone:
Component: ports Version: 1.6.0
Keywords: Cc: afb@…
Port: cairo, cairo-devel

Description (last modified by ryandesign (Ryan Carsten Schmidt))

When building cairo universal I had to change the Portfile. I am building on leopard/ppc and I want to let this run on tiger/intel.

I was building cairo with:

port install cairo +universal +no_x11 macosx_deployment_target=10.4 

which does the job when I use --host=i686-apple-darwin8 and --host=powerpc-apple-darwin8 like can be found in the patch.

Now it really beats me, when I want to merge my changes to a new Portfile under the circumstances, that this should only be used when building from leopard/ppc.

I was trying something like

platform Darwin 9 powerpc {
   //  my configure here
}

but it gets ignored.

Kind regards
Thomas

Attachments (1)

cairo_Portfile.diff (1.5 KB) - added by reiffert@… 17 years ago.

Download all attachments as: .zip

Change History (9)

Changed 17 years ago by reiffert@…

Attachment: cairo_Portfile.diff added

comment:1 Changed 17 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: afb@… added

I haven't looked at this problem very much, but this is probably a MacPorts base problem. When running on Leopard, MacPorts uses the 10.5 SDK to make universal binaries, which means universal ports made on Leopard should only be used on Leopard or above. Anders has just brought this up on the mailing list and believes he has found the better solution. So let's wait for that fix, and then see if any patches to cairo are still necessary.

comment:2 Changed 17 years ago by afb@…

The default +universal setup will go back to using 10.4u SDK and i386/ppc. Probably in 1.6.1 even.

comment:3 Changed 17 years ago by gui-dos (Guido Soranzio)

On MacPorts 1.7 from trunk the patch is working only after appending

-mmacosx-version-min=10.4

to my_ldflags

comment:4 Changed 17 years ago by ryandesign (Ryan Carsten Schmidt)

I'm not applying Thomas' patch; it removes my foreach loop. I want that loop so that it's easy to replace ${my_universal_archs} with ${configure.universal_archs} once that's released from trunk.

comment:5 Changed 17 years ago by reiffert@…

It's ok with me, you can close the ticket if you like. I dont plan to use cairo as universal variant in the future.

Kind regards Thomas

comment:6 Changed 16 years ago by ryandesign (Ryan Carsten Schmidt)

Description: modified (diff)
Port: cairo cairo-devel added

comment:7 Changed 16 years ago by (none)

Milestone: Port Enhancements

Milestone Port Enhancements deleted

comment:8 in reply to:  description Changed 15 years ago by ryandesign (Ryan Carsten Schmidt)

Resolution: wontfix
Status: newclosed
Summary: cairo universal when build from Leopard/ppccairo universal for Tiger built from Leopard/ppc

Replying to reiffert@…:

I am building on leopard/ppc and I want to let this run on tiger/intel.

The code in MacPorts base that once allowed ports built on Leopard to target Tiger (the ability to change the universal SDK) has been removed with MacPorts 1.8.0 so this issue will not be fixed.

Note: See TracTickets for help on using tickets.