diff --git a/Mk/Uses/perl5.mk b/Mk/Uses/perl5.mk index 2d2414e6fe0d..9f9d87365125 100644 --- a/Mk/Uses/perl5.mk +++ b/Mk/Uses/perl5.mk @@ -44,9 +44,7 @@ USE_PERL5?= run build # When adding a version, please keep the comment in # Mk/bsd.default-versions.mk in sync. -. if ${PERL5_DEFAULT} == 5.26 -.include "${PORTSDIR}/lang/perl5.26/version.mk" -. elif ${PERL5_DEFAULT} == 5.28 +. if ${PERL5_DEFAULT} == 5.28 .include "${PORTSDIR}/lang/perl5.28/version.mk" . elif ${PERL5_DEFAULT} == 5.30 .include "${PORTSDIR}/lang/perl5.30/version.mk" @@ -85,10 +83,8 @@ PERL_ARCH?= mach # Mk/bsd.default-versions.mk in sync. . if ${PERL_LEVEL} >= 503000 PERL_PORT?= perl5.30 -. elif ${PERL_LEVEL} >= 502800 +. else # ${PERL_LEVEL} < 503000 PERL_PORT?= perl5.28 -. else # ${PERL_LEVEL} < 502800 -PERL_PORT?= perl5.26 . endif SITE_PERL_REL?= lib/perl5/site_perl diff --git a/Mk/bsd.default-versions.mk b/Mk/bsd.default-versions.mk index d151ccafb342..7d5b4a6964f4 100644 --- a/Mk/bsd.default-versions.mk +++ b/Mk/bsd.default-versions.mk @@ -67,7 +67,7 @@ LLVM_DEFAULT?= 90 LUA_DEFAULT?= 5.2 # Possible values: 5.5, 5.6, 5.7, 8.0, 5.5m, 10.1m, 10.2m, 10.3m, 10.4m, 5.5p, 5.6p, 5.7p, 5.6w MYSQL_DEFAULT?= 5.7 -# Possible values: 5.26, 5.28, 5.30, devel +# Possible values: 5.28, 5.30, devel .if !exists(${LOCALBASE}/bin/perl) || (!defined(_PORTS_ENV_CHECK) && \ defined(PACKAGE_BUILDING)) PERL5_DEFAULT?= 5.30