What have I forgotten about specifying which Perl should be /opt/local/bin/perl?
Gabriel Rosenkoetter
gr at eclipsed.net
Sat Jan 22 15:06:50 UTC 2022
On 2022-01-22 09:10 EST, Ryan Schmidt wrote:
> The use of the "+" character is intentional.
>
> "+" means a variant is enabled. "-" means a variant is disabled.
>
> "[ ]" around either "+" or "-" means the choice comes from the port's default_variants directives. "( )" around either "+" or "-" means the choice comes from your variants.conf file. No symbol around "+" or "-" means the choice comes from what you specified on the command line. This is explained in the port-variants manpage.
Huh. Okay. That's helpful, thank you!
I still think it's confusing for the output of, eg, `port variants
perl5`, to place a special marker on the default version of the port,
but to not indicate what version the user will get when they run, eg,
`/opt/local/bin/perl`.
I understand that that data isn't necessarily available in the
portindex. I'm saying maybe it should be?
> The version field of the perl5 port is pretty irrelevant since the port does nothing other than depend on other ports that install the real files. The version of the perl5 port could just as easily have been "1.0" or "0" or "42".
Gotcha. I think I agree that synchronizing that to the implied version
of Perl is probably less confusing than generating a separate numberspace.
--
Gabriel Rosenkoetter (he/him)
gr at eclipsed.net
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature
Type: application/pgp-signature
Size: 236 bytes
Desc: OpenPGP digital signature
URL: <http://lists.macports.org/pipermail/macports-users/attachments/20220122/bc20f3a4/attachment.sig>
More information about the macports-users
mailing list