diff options
Diffstat (limited to 'Mk/Uses/perl5.mk')
-rw-r--r-- | Mk/Uses/perl5.mk | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/Mk/Uses/perl5.mk b/Mk/Uses/perl5.mk index 9f34715e9eeb..4e5883bb59d0 100644 --- a/Mk/Uses/perl5.mk +++ b/Mk/Uses/perl5.mk @@ -42,12 +42,12 @@ USE_PERL5?= run build # When adding a version, please keep the comment in # Mk/bsd.default-versions.mk in sync. -. if ${PERL5_DEFAULT} == 5.36 -.include "${PORTSDIR}/lang/perl5.36/version.mk" -. elif ${PERL5_DEFAULT} == 5.38 +. if ${PERL5_DEFAULT} == 5.38 .include "${PORTSDIR}/lang/perl5.38/version.mk" . elif ${PERL5_DEFAULT} == 5.40 .include "${PORTSDIR}/lang/perl5.40/version.mk" +. elif ${PERL5_DEFAULT} == 5.42 +.include "${PORTSDIR}/lang/perl5.42/version.mk" . elif ${PERL5_DEFAULT} == devel .include "${PORTSDIR}/lang/perl5-devel/version.mk" # Force PERL_PORT here in case two identical PERL_VERSION. @@ -81,12 +81,12 @@ PERL_ARCH?= mach # perl5_default file, or up there in the default versions selection. # When adding a version, please keep the comment in # Mk/bsd.default-versions.mk in sync. -. if ${PERL_LEVEL} >= 504000 +. if ${PERL_LEVEL} >= 504200 +PERL_PORT?= perl5.42 +. elif ${PERL_LEVEL} >= 504000 PERL_PORT?= perl5.40 -. elif ${PERL_LEVEL} >= 503800 +. else # ${PERL_LEVEL} < 504000 PERL_PORT?= perl5.38 -. else # ${PERL_LEVEL} < 503800 -PERL_PORT?= perl5.36 . endif SITE_PERL_REL?= lib/perl5/site_perl |