Why don't p5-* ports mark their dependencies?

Bill Cole macportsusers-20171215 at billmail.scconsult.com
Sat Jun 12 15:34:14 UTC 2021


On 2021-06-09 at 15:51:09 UTC-0400 (Wed, 9 Jun 2021 15:51:09 -0400)
Daniel J. Luke <dluke at geeklair.net>
is rumored to have said:

> On Jun 6, 2021, at 1:41 PM, Bill Cole 
> <macportsusers-20171215 at billmail.scconsult.com> wrote:
>> I *think* I've even worked out the right way to use that construct to 
>> make Perl upgrades simpler, so I use the p5-* ports:
>
> I gave up on trying to use this in any useful way a while ago - if 
> you've got some way that it works, please share.

According to my shell history, this is what I did to clear out all the 
old perl5.2[68] and

port deactivate perl5
port install perl5 +perl5_30
port deactivate perl5.26
port deactivate perl5.28
port installed|grep '^  p5\.2.*-' |awk '{print $1}'|while read x; do 
y=`echo $x|sed 's/\.2.-/-/'`; port -v -f deactivate $x ; port -v install 
$y; done

Adjust to suit whatever versions you're trying to remove/replace.

-- 
Bill Cole
bill at scconsult.com or billcole at apache.org
(AKA @grumpybozo and many *@billmail.scconsult.com addresses)
Not Currently Available For Hire


More information about the macports-users mailing list