[143599] trunk/dports

devans at macports.org devans at macports.org
Tue Dec 15 10:27:47 PST 2015


Revision: 143599
          https://trac.macports.org/changeset/143599
Author:   devans at macports.org
Date:     2015-12-15 10:27:47 -0800 (Tue, 15 Dec 2015)
Log Message:
-----------
perl5 port and port group: change default perl5 from 5.16 to 5.22 (#49982).

Modified Paths:
--------------
    trunk/dports/_resources/port1.0/group/perl5-1.0.tcl
    trunk/dports/lang/perl5/Portfile

Modified: trunk/dports/_resources/port1.0/group/perl5-1.0.tcl
===================================================================
--- trunk/dports/_resources/port1.0/group/perl5-1.0.tcl	2015-12-15 18:21:49 UTC (rev 143598)
+++ trunk/dports/_resources/port1.0/group/perl5-1.0.tcl	2015-12-15 18:27:47 UTC (rev 143599)
@@ -42,11 +42,11 @@
 
 proc perl5_get_default_branch {} {
     global prefix perl5.branches
-    # use whatever ${prefix}/bin/perl5 was chosen, and if none, fall back to 5.16
+    # use whatever ${prefix}/bin/perl5 was chosen, and if none, fall back to 5.22
     if {![catch {set val [lindex [split [exec ${prefix}/bin/perl5 -V:version] {'}] 1]}]} {
         set ret [join [lrange [split $val .] 0 1] .]
     } else {
-        set ret 5.16
+        set ret 5.22
     }
     # if the above default is not supported by this module, use the latest it does support
     if {[info exists perl5.branches] && [lsearch -exact ${perl5.branches} $ret] == -1} {

Modified: trunk/dports/lang/perl5/Portfile
===================================================================
--- trunk/dports/lang/perl5/Portfile	2015-12-15 18:21:49 UTC (rev 143598)
+++ trunk/dports/lang/perl5/Portfile	2015-12-15 18:27:47 UTC (rev 143599)
@@ -4,7 +4,7 @@
 PortSystem          1.0
 
 name                perl5
-version             5.16.3
+version             5.22.1
 categories          lang
 license             BSD
 platforms           darwin freebsd linux
@@ -20,15 +20,15 @@
 use_configure       no
 build               {}
 
-if {[variant_isset perl5_18]} {
+if {[variant_isset perl5_16]} {
+    set branch 5.16
+} elseif {[variant_isset perl5_18]} {
     set branch 5.18
 } elseif {[variant_isset perl5_20]} {
     set branch 5.20
-} elseif {[variant_isset perl5_22]} {
+} else {
     set branch 5.22
-} else {
-    set branch 5.16
-    default_variants +perl5_16
+    default_variants +perl5_22
 }
 
 ##
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20151215/348f6e7b/attachment.html>


More information about the macports-changes mailing list