New Ticket     Tickets     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Ticket #34617 (new enhancement)

Opened 12 months ago

Last modified 4 months ago

make all ports independent of which version of Perl is installed or the major one

Reported by: macintosh@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.1.1
Keywords: haspatch Cc: pixilla@…, nonstop.server@…, egall@…
Port:

Description

ports can be made independent of which version of Perl is installed or the major one by

1) setting a portgroup:
   PortGroup           perl5 1.0
2) change all hard-coded instances of perl5.12 and p5.12 to
   perl${perl5.major} and p${perl5.major}

But as pointed out in #34461 by Ryan, there are tons of ports that are hard-coded this way.

This mega-patch implements the above in all 104 affected ports

Incidentially, it thus also invalidates #34461 & #34357

This has been discussed on the dev-list starting with
http://lists.macosforge.org/pipermail/macports-dev/2012-May/019263.html

Attachments

patch-perl5.xx.diff (104.1 KB) - added by macintosh@… 12 months ago.
the result of svn diff after having applied perl5-16.bash to a completely fresh svn copy
perl5.bash (2.8 KB) - added by macintosh@… 12 months ago.
my original scipt that works in a separate file structure
perl5-16.bash (2.0 KB) - added by macintosh@… 12 months ago.
my script that works directly on the port files

Change History

Changed 12 months ago by macintosh@…

the result of svn diff after having applied perl5-16.bash to a completely fresh svn copy

comment:1 Changed 12 months ago by macintosh@…

!!!NOTE!!! if you run either script, you'll have to revert

lang/perl5
lang/perl5.12

Changed 12 months ago by macintosh@…

my original scipt that works in a separate file structure

Changed 12 months ago by macintosh@…

my script that works directly on the port files

comment:2 Changed 9 months ago by nonstop.server@…

  • Cc nonstop.server@… added

Cc Me!

comment:3 Changed 9 months ago by jmr@…

Same problem as mentioned in #34461.

comment:4 Changed 4 months ago by egall@…

  • Cc egall@… added

Cc Me!

Note: See TracTickets for help on using tickets.