Opened 14 years ago

Closed 11 years ago

#13961 closed enhancement (fixed)

approach to perl5.8 as a universal variant

Reported by: reiffert@… Owned by: ghosthound
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc: MarcusCalhoun-Lopez (Marcus Calhoun-Lopez), keinstein_junior@…, blb@…
Port: perl5.8


I was building perl5.8 on leopard/ppc as for i386 and ppc. Now I can run it on Leopard/ppc and on Tiger/Intel, which is close to "universal".

I am no Portfile hero and there are people who need to revisit my work and adjust my patch to behave more macports like.

Kind regards Thomas

Attachments (2)

perl5.8_universal.diff (2.5 KB) - added by reiffert@… 14 years ago.
perl5.8-universal.diff (1.6 KB) - added by blb@… 13 years ago.
patch to perl5.8

Download all attachments as: .zip

Change History (12)

Changed 14 years ago by reiffert@…

Attachment: perl5.8_universal.diff added

comment:1 Changed 13 years ago by blb@…

Port: perl5.8 added

Attaching an updated version of reiffert@'s patch, which uses MacPorts' configure.universal_sysroot in place of hard-coding the SDK (plus a touch of cleanup). Instead of replacing the darwin hints patch, repeating the bind9 workaround, this just adds a second patch for universal support only.

So far, I've only tested a couple of built modules (p5-compress-raw-zlib and p5-net-ssleay), but they build universal and pass their 'make test' just fine.

One point of confusion is that building the modules is going to follow how perl5.8 is built, in that if perl is built universal, p5-* ports are going to be universal even without '+universal'...

Patch is based in /trunk/dports/lang so cd there to apply (includes both Portfile diff and the new patch).

comment:2 Changed 13 years ago by raimue (Rainer Müller)

Owner: changed from macports-tickets@… to ricci@…

comment:3 Changed 13 years ago by MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)

Cc: mcalhoun@… added

Cc Me!

comment:4 Changed 13 years ago by keinstein_junior@…

Cc: keinstein_junior@… added

Cc Me!

comment:5 Changed 13 years ago by blb@…

Cc: blb@… added

Updated to work with the current state of perl5.8 and to handle whatever settings a user uses for universal_archs.

Changed 13 years ago by blb@…

Attachment: perl5.8-universal.diff added

patch to perl5.8

comment:6 Changed 13 years ago by jmroot (Joshua Root)

Type: enhancementupdate

comment:7 Changed 13 years ago by (none)

Milestone: Port Updates

Milestone Port Updates deleted

comment:8 Changed 12 years ago by jmroot (Joshua Root)

Cc: reiffert@… removed
Type: updateenhancement
Version: 1.6.0

comment:9 Changed 12 years ago by reiffert@…

Cc: reiffert@… added

Cc Me!

comment:10 Changed 11 years ago by jmroot (Joshua Root)

Cc: reiffert@… removed
Resolution: fixed
Status: newclosed

Seems like this was fixed by r62847.

Note: See TracTickets for help on using tickets.