aboutsummaryrefslogtreecommitdiff
path: root/Mk/bsd.perl.mk
diff options
context:
space:
mode:
authorSergey Skvortsov <skv@FreeBSD.org>2010-07-15 14:48:51 +0000
committerSergey Skvortsov <skv@FreeBSD.org>2010-07-15 14:48:51 +0000
commitc82c63a794aef8d2e4b64f57f88391a3d216cbef (patch)
tree5e4cebc36c83b857582ed5aac8b5642e81d36b17 /Mk/bsd.perl.mk
parentfac7f3b3c8d29f91331cacce751f365710ebcb32 (diff)
downloadports-c82c63a794aef8d2e4b64f57f88391a3d216cbef.tar.gz
ports-c82c63a794aef8d2e4b64f57f88391a3d216cbef.zip
Notes
Diffstat (limited to 'Mk/bsd.perl.mk')
-rw-r--r--Mk/bsd.perl.mk6
1 files changed, 4 insertions, 2 deletions
diff --git a/Mk/bsd.perl.mk b/Mk/bsd.perl.mk
index 524700fd8509..73560de8b9e2 100644
--- a/Mk/bsd.perl.mk
+++ b/Mk/bsd.perl.mk
@@ -99,7 +99,9 @@ PERL_LEVEL= 0
PERL_ARCH?= mach
-.if ${PERL_LEVEL} >= 501000
+.if ${PERL_LEVEL} >= 501200
+PERL_PORT?= perl5.12
+.elif ${PERL_LEVEL} >= 501000
PERL_PORT?= perl5.10
.else # ${PERL_LEVEL} < 501000
PERL_PORT?= perl5.8
@@ -149,7 +151,7 @@ masked_PERL_LEVEL= ${PERL_LEVEL}
.if ${want_perl_sign} == "+"
.if ${USE_PERL5_LEVEL} > ${masked_PERL_LEVEL}
-USE_PERL5_REASON?= requires Perl ${want_perl_ver} or later, install lang/perl5.8 or lang/perl5.10 and try again
+USE_PERL5_REASON?= requires Perl ${want_perl_ver} or later, install lang/perl5.8 or lang/perl5.10 or lang/perl5.12 and try again
IGNORE= ${USE_PERL5_REASON}
.endif # ${USE_PERL5_LEVEL} > ${masked_PERL_LEVEL}
.elif ${want_perl_sign} == ""