aboutsummaryrefslogtreecommitdiffstats
path: root/Mk
diff options
context:
space:
mode:
authorskv <skv@FreeBSD.org>2012-07-01 05:00:43 +0800
committerskv <skv@FreeBSD.org>2012-07-01 05:00:43 +0800
commitd1900682d9d7f2f65d986703bd930dd796ad105d (patch)
treebe9dd03a06bdc018d2786ccccd0c48e35a14c87b /Mk
parentb01956b083c559fc0bdd6d422a75021697773aff (diff)
downloadfreebsd-ports-gnome-d1900682d9d7f2f65d986703bd930dd796ad105d.tar.gz
freebsd-ports-gnome-d1900682d9d7f2f65d986703bd930dd796ad105d.tar.zst
freebsd-ports-gnome-d1900682d9d7f2f65d986703bd930dd796ad105d.zip
Introduce Perl 5.16.0
Changes: http://search.cpan.org/dist/perl-5.16.0/pod/perldelta.pod Approved by: portmgr (linimon)
Diffstat (limited to 'Mk')
-rw-r--r--Mk/bsd.perl.mk8
1 files changed, 5 insertions, 3 deletions
diff --git a/Mk/bsd.perl.mk b/Mk/bsd.perl.mk
index 77248696865b..541c4f34fa06 100644
--- a/Mk/bsd.perl.mk
+++ b/Mk/bsd.perl.mk
@@ -44,7 +44,7 @@
Perl_Pre_Include= bsd.perl.mk
PERL_Include_MAINTAINER= perl@FreeBSD.org
-PERL_VERSION?= 5.12.4
+PERL_VERSION?= 5.14.2
.if !defined(PERL_LEVEL) && defined(PERL_VERSION)
perl_major= ${PERL_VERSION:C|^([1-9]+).*|\1|}
@@ -66,7 +66,9 @@ PERL_ARCH?= mach
# there must always be a default to prevent dependency failures such
# as "ports/lang: not found"
-.if ${PERL_LEVEL} >= 501400
+.if ${PERL_LEVEL} >= 501600
+PERL_PORT?= perl5.16
+.elif ${PERL_LEVEL} >= 501400
PERL_PORT?= perl5.14
.elif ${PERL_LEVEL} >= 501200
PERL_PORT?= perl5.12
@@ -118,7 +120,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, lang/perl5.10, lang/perl5.12 or lang/perl5.14 and try again
+USE_PERL5_REASON?= requires Perl ${want_perl_ver} or later, install lang/perl${want_perl_major}.${want_perl_minor:C|^0||} and try again
IGNORE= ${USE_PERL5_REASON}
.endif # ${USE_PERL5_LEVEL} > ${masked_PERL_LEVEL}
.elif ${want_perl_sign} == ""