Opened 7 years ago

Closed 7 years ago

#30638 closed enhancement (fixed)

perl5 portgroup: resolve version ambiguity with subports

Reported by: jmroot (Joshua Root) Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc: ghosthound
Port:

Description

Currently, perl modules are built against whatever version of perl happens to be linked to ${prefix}/bin/perl. This causes much confusion and is incompatible with prebuilt binaries.

Attached is a proposed change. It takes a similar approach to the new unified python portgroup, creating several p5.X-foo ports from each p5-foo portfile. This way, p5.X-foo is known to be built against perl5.X. The p5-foo port itself becomes a metaport that pulls in one of the specific versions.

Attachments (1)

perl5-subports.diff (3.4 KB) - added by jmroot (Joshua Root) 7 years ago.

Download all attachments as: .zip

Change History (3)

Changed 7 years ago by jmroot (Joshua Root)

Attachment: perl5-subports.diff added

comment:1 Changed 7 years ago by jmroot (Joshua Root)

Might as well do #11873 at the same time since every p5 port will need to be touched anyway.

comment:2 Changed 7 years ago by jmroot (Joshua Root)

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