Why don't p5-* ports mark their dependencies?
Kastus Shchuka
macports at tprfct.net
Sat Jun 12 16:11:47 UTC 2021
I wish it could be so easy to remove perl5.28. Apparently, I have to keep it because of git:
$ port info git
git @2.31.1_2 (devel)
Variants: [+]credential_osxkeychain, [+]diff_highlight, [+]doc, gitweb, [+]pcre, perl5_26, [+]perl5_28,
perl5_30, python, svn, universal
Description: Git is a fast, scalable, distributed open source version control system focusing on speed and
efficiency.
Homepage: https://git-scm.com/
Extract Dependencies: xz
Library Dependencies: perl5.28, curl, zlib, openssl, expat, libiconv, pcre2
Runtime Dependencies: p5.28-authen-sasl, p5.28-error, p5.28-net-smtp-ssl, p5.28-term-readkey, p5.28-cgi, rsync
Platforms: darwin
License: GPL-2 and LGPL-2.1+
Maintainers: Email: ciserlohn at macports.org, GitHub: ci42
Policy: openmaintainer
Are Library and Runtime dependencies of git on perl5.28 intentional or an oversight?
Thanks,
Kastus
> On Jun 12, 2021, at 8:34 AM, Bill Cole <macportsusers-20171215 at billmail.scconsult.com> wrote:
>
> 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