Ticket #34617 (new enhancement)
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
Change History
Changed 12 months ago by macintosh@…
- Attachment patch-perl5.xx.diff added
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@…
- Attachment perl5.bash added
my original scipt that works in a separate file structure
Changed 12 months ago by macintosh@…
- Attachment perl5-16.bash added
my script that works directly on the port files
Note: See
TracTickets for help on using
tickets.


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