Port updating and Perl 5.34

I just attempted to update my Ports via portmaster -aR , and received this message:
Code:
===>>> The lang/perl5.34 port has been deleted: Has expired: Support end three years after .0 release, please upgrade to a more recent version of Perl
===>>> Aborting update

When attempting to build/install a new version of Perl, I received this message:

##################################################

This is *NOT* the DEFAULT perl version

It will *NOT* install /usr/local/bin/perl

It will *ONLY* install /usr/local/bin/perl5.36.3

The default Perl version currently is 5.34.

If you want to use this version as the default,
stop the build now, add this line to your
/etc/make.conf, and then restart the build.

DEFAULT_VERSIONS+=perl5=5.36
My understanding is that the default version of Perl is defined in the Ports tree. I don't have anything defined for Perl in my make.conf

What's the proper way to resolve this? I don't want to deviate from the Port defaults. The only reason I'm focused on Perl is the message from
portmaster(8).
 
Last edited by a moderator:
What's the proper way to resolve this?
Read /usr/ports/UPDATING.
Code:
20231017:
  AFFECTS: users of lang/perl5*
  AUTHOR: delphij@FreeBSD.org

  The default Perl version has been switched to Perl 5.36.  If you are using
  binary packages to upgrade your system, you do not have anything to do, pkg
  upgrade will do the right thing. For the other people, assuming you are
  migrating from 5.34 to 5.36, do:

  First, add to /etc/make.conf:

  DEFAULT_VERSIONS+=  perl5=5.36

  Portupgrade users:
	portupgrade -o lang/perl5.36 -f lang/perl5.34

	  You can now remove the DEFAULT_VERSIONS line added earlier
	  from /etc/make.conf

	  Then you will need to rebuild everything that uses libperl.so, you
	  can do so with:

	portupgrade -f `pkg shlib -qR libperl.so.5.34`

	  If, for some reason, this command fails at one point, it is safe to
	  run it again, it will not rebuild what it already rebuilt, as the
	  ports that have been rebuilt no longer depend on libperl.so.5.34 but
	  on libperl.so.5.36.

  Portmaster users:
	portmaster -o lang/perl5.36 lang/perl5.34

	  You can now remove the DEFAULT_VERSIONS line added earlier
	  from /etc/make.conf

	  Then you will need to rebuild everything that uses libperl.so, you
	  can do so with:

	portmaster -f `pkg shlib -qR libperl.so.5.34`

	  If, for some reason, this command fails at one point, it is safe to
	  run it again, it will not rebuild what it already rebuilt, as the
	  ports that have been rebuilt no longer depend on libperl.so.5.34 but
	  on libperl.so.5.36.
 
I reviewed the release notes type info in Ports... obviously wrong place. All good now. Thank you.
 
Back
Top