Ignore this procedure, skip to the later one...
UPDATING today has a 5.12.4 5.12.5 (etc.) upgrade.
Fix 1: I had to edit the PERL_VERSION manually in /etc/make.conf.
Fix 2: Every time, too many p5-* ports to upgrade.
Fix 2a: A small 3x5 paper to note the failed reinstalls, so they don't delay the entire process. Leave them until later.
The following bit-by-bit (30 at a time) upgrades Perl 5 effortlessly (for the most part). Note that it requires the existence of /var/db/pkg, thus I still am dreading if it (/var/db/pkg) goes away with pkg(ng).
" 12" --todays date. These are skipped (What the hell? --mod)
Const, Glade, one by one add ports that fail to reinstall, left for later.
At least here, with so many Perl ports installed, this one-liner dispenses with almost all of the upgrade with hardly any typing vs the ways I've done it in the past. [I can't ever use the all-at-once instructions, too much setup each time with multiple restarts (13 failed ports of the hundreds so far, most hardly ever used). ]
Edit:
BTW it inadvertently skipped a slew of them, they will be slower.
UPDATING today has a 5.12.4 5.12.5 (etc.) upgrade.
Fix 1: I had to edit the PERL_VERSION manually in /etc/make.conf.
Fix 2: Every time, too many p5-* ports to upgrade.
Fix 2a: A small 3x5 paper to note the failed reinstalls, so they don't delay the entire process. Leave them until later.
The following bit-by-bit (30 at a time) upgrades Perl 5 effortlessly (for the most part). Note that it requires the existence of /var/db/pkg, thus I still am dreading if it (/var/db/pkg) goes away with pkg(ng).
Const, Glade, one by one add ports that fail to reinstall, left for later.
Code:
#var/db/pkg# gnuls -oSr | grep p5 | grep -v " 12" | awk '{print $8} | tail -30 | grep -v Const | grep -v Glade | ... | ... | xargs -J % portmaster -d -i -g -B %
Edit:
BTW it inadvertently skipped a slew of them, they will be slower.