Changeset View
Changeset View
Standalone View
Standalone View
Mk/Uses/perl5.mk
Show First 20 Lines • Show All 42 Lines • ▼ Show 20 Lines | |||||
# When adding a version, please keep the comment in | # When adding a version, please keep the comment in | ||||
# Mk/bsd.default-versions.mk in sync. | # Mk/bsd.default-versions.mk in sync. | ||||
. if ${PERL5_DEFAULT} == 5.28 | . if ${PERL5_DEFAULT} == 5.28 | ||||
.include "${PORTSDIR}/lang/perl5.28/version.mk" | .include "${PORTSDIR}/lang/perl5.28/version.mk" | ||||
. elif ${PERL5_DEFAULT} == 5.30 | . elif ${PERL5_DEFAULT} == 5.30 | ||||
.include "${PORTSDIR}/lang/perl5.30/version.mk" | .include "${PORTSDIR}/lang/perl5.30/version.mk" | ||||
. elif ${PERL5_DEFAULT} == 5.32 | . elif ${PERL5_DEFAULT} == 5.32 | ||||
.include "${PORTSDIR}/lang/perl5.32/version.mk" | .include "${PORTSDIR}/lang/perl5.32/version.mk" | ||||
. elif ${PERL5_DEFAULT} == 5.34 | |||||
.include "${PORTSDIR}/lang/perl5.34/version.mk" | |||||
. elif ${PERL5_DEFAULT} == devel | . elif ${PERL5_DEFAULT} == devel | ||||
.include "${PORTSDIR}/lang/perl5-devel/version.mk" | .include "${PORTSDIR}/lang/perl5-devel/version.mk" | ||||
# Force PERL_PORT here in case two identical PERL_VERSION. | # Force PERL_PORT here in case two identical PERL_VERSION. | ||||
PERL_PORT?= perl5-devel | PERL_PORT?= perl5-devel | ||||
. else | . else | ||||
IGNORE= Invalid perl5 version ${PERL5_DEFAULT} | IGNORE= Invalid perl5 version ${PERL5_DEFAULT} | ||||
. endif | . endif | ||||
Show All 17 Lines | |||||
PERL_ARCH?= mach | PERL_ARCH?= mach | ||||
# there must always be a default to prevent dependency failures such | # there must always be a default to prevent dependency failures such | ||||
# as "ports/lang: not found". Also, perl5-devel is taken care in the | # as "ports/lang: not found". Also, perl5-devel is taken care in the | ||||
# perl5_default file, or up there in the default versions selection. | # perl5_default file, or up there in the default versions selection. | ||||
# When adding a version, please keep the comment in | # When adding a version, please keep the comment in | ||||
# Mk/bsd.default-versions.mk in sync. | # Mk/bsd.default-versions.mk in sync. | ||||
. if ${PERL_LEVEL} >= 503200 | . if ${PERL_LEVEL} >= 503400 | ||||
PERL_PORT?= perl5.34 | |||||
. elif ${PERL_LEVEL} >= 503200 | |||||
PERL_PORT?= perl5.32 | PERL_PORT?= perl5.32 | ||||
. elif ${PERL_LEVEL} >= 503000 | . elif ${PERL_LEVEL} >= 503000 | ||||
PERL_PORT?= perl5.30 | PERL_PORT?= perl5.30 | ||||
. else # ${PERL_LEVEL} < 503000 | . else # ${PERL_LEVEL} < 503000 | ||||
PERL_PORT?= perl5.28 | PERL_PORT?= perl5.28 | ||||
. endif | . endif | ||||
SITE_PERL_REL?= lib/perl5/site_perl | SITE_PERL_REL?= lib/perl5/site_perl | ||||
▲ Show 20 Lines • Show All 248 Lines • Show Last 20 Lines |