Why don't p5-* ports mark their dependencies?
Kastus Shchuka
macports at tprfct.net
Sat Jun 12 17:39:34 UTC 2021
> On Jun 12, 2021, at 9:54 AM, Rainer Müller <raimue at macports.org> wrote:
>
> On 12/06/2021 18.32, Bill Cole wrote:
>> On 2021-06-12 at 12:11:47 UTC-0400 (Sat, 12 Jun 2021 09:11:47 -0700)
>> Kastus Shchuka <macports at tprfct.net>
>> is rumored to have said:
>>
>>> I wish it could be so easy to remove perl5.28. Apparently, I have to
>>> keep it because of git:
>>
>> port uninstall git
>> port install git -perl5_28 +perl5_30
>
> sudo port upgrade --enforce-variants git -perl5_28 +perl5_30
>
Thank you, that worked and allowed me to uninstall all p5.28 modules.
What puzzles me still, why port info shows that git depends on perl 5.28 modules:
$ port info git
git @2.32.0 (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
$ port installed and git
The following ports are currently installed:
git @2.31.1_2+credential_osxkeychain+diff_highlight+doc+pcre+perl5_30
git @2.32.0_0+credential_osxkeychain+diff_highlight+doc+pcre+perl5_30 (active)
git works, as far as I can test.
Thanks,
Kastus
More information about the macports-users
mailing list