git: 06664002bd65 - main - Mk/bsd.default-versions.mk: add a comment about updating default Perl
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 05 Jun 2024 12:14:53 UTC
The branch main has been updated by mat:
URL: https://cgit.FreeBSD.org/ports/commit/?id=06664002bd659abd78393fd37f21dd28d1424717
commit 06664002bd659abd78393fd37f21dd28d1424717
Author: Mathieu Arnold <mat@FreeBSD.org>
AuthorDate: 2024-06-05 12:00:06 +0000
Commit: Mathieu Arnold <mat@FreeBSD.org>
CommitDate: 2024-06-05 12:13:54 +0000
Mk/bsd.default-versions.mk: add a comment about updating default Perl
When we bump PERL5_DEFAULT, we need to mark the lang/perl5.* ports older
than the new default as DEPRECATED, so that people know they are old,
and they should upgrade.
---
Mk/bsd.default-versions.mk | 2 ++
1 file changed, 2 insertions(+)
diff --git a/Mk/bsd.default-versions.mk b/Mk/bsd.default-versions.mk
index 9c73c70abce4..8819688e2d50 100644
--- a/Mk/bsd.default-versions.mk
+++ b/Mk/bsd.default-versions.mk
@@ -112,6 +112,8 @@ OPENLDAP_DEFAULT?= 26
# Possible values: 5.34, 5.36, 5.38, devel
. if !exists(${LOCALBASE}/bin/perl) || (!defined(_PORTS_ENV_CHECK) && \
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
. elif !defined(PERL5_DEFAULT)
# There's no need to replace development versions, like "5.23" with "devel"