git: 0705456957d6 - main - Mk/bsd.default-versions.mk: update perl5 default to 5.40

From: Mathieu Arnold <mat_at_FreeBSD.org>
Date: Wed, 14 May 2025 11:42:11 UTC
The branch main has been updated by mat:

URL: https://cgit.FreeBSD.org/ports/commit/?id=0705456957d603c191057574a235e68c4b2b6ffd

commit 0705456957d603c191057574a235e68c4b2b6ffd
Author:     Mathieu Arnold <mat@FreeBSD.org>
AuthorDate: 2025-04-23 14:30:17 +0000
Commit:     Mathieu Arnold <mat@FreeBSD.org>
CommitDate: 2025-05-14 11:42:04 +0000

    Mk/bsd.default-versions.mk: update perl5 default to 5.40
    
    PR:     286309
---
 Mk/bsd.default-versions.mk | 2 +-
 UPDATING                   | 8 ++++++++
 2 files changed, 9 insertions(+), 1 deletion(-)

diff --git a/Mk/bsd.default-versions.mk b/Mk/bsd.default-versions.mk
index 35b021a71e36..772d28798aa0 100644
--- a/Mk/bsd.default-versions.mk
+++ b/Mk/bsd.default-versions.mk
@@ -118,7 +118,7 @@ OPENLDAP_DEFAULT?=	26
     defined(PACKAGE_BUILDING))
 # When changing the default here, make sure the DEPRECATED/EXPIRATION lines in
 # the older Perl 5 ports are uncommented at the same time.
-PERL5_DEFAULT?=		5.36
+PERL5_DEFAULT?=		5.40
 .  elif !defined(PERL5_DEFAULT)
 # There's no need to replace development versions, like "5.23" with "devel"
 # because 1) nobody is supposed to use it outside of poudriere, and 2) it must
diff --git a/UPDATING b/UPDATING
index 2e4df7ac89c8..aa9f3707e8f3 100644
--- a/UPDATING
+++ b/UPDATING
@@ -5,6 +5,14 @@ they are unavoidable.
 You should get into the habit of checking this file for changes each time
 you update your ports collection, before attempting any port upgrades.
 
+20250514:
+  AFFECTS: users of lang/perl5.*
+  AUTHOR: mat@FreeBSD.org
+
+  The default Perl version has been switched to 5.40.
+
+  See entry 20231017 for updating instructions.
+
 20250511:
   AFFECTS: users of www/tt-rss
   AUTHOR: dereks@lifeofadishwasher.com