[143653] trunk/dports/lang/perl5/Portfile

mojca at macports.org mojca at macports.org
Wed Dec 16 15:17:03 PST 2015


Revision: 143653
          https://trac.macports.org/changeset/143653
Author:   mojca at macports.org
Date:     2015-12-16 15:17:02 -0800 (Wed, 16 Dec 2015)
Log Message:
-----------
perl5: fix expansion of perl5.major in post-destroot

Modified Paths:
--------------
    trunk/dports/lang/perl5/Portfile

Modified: trunk/dports/lang/perl5/Portfile
===================================================================
--- trunk/dports/lang/perl5/Portfile	2015-12-16 20:59:15 UTC (rev 143652)
+++ trunk/dports/lang/perl5/Portfile	2015-12-16 23:17:02 UTC (rev 143653)
@@ -37,8 +37,9 @@
     5.22 1 0 99e3af98d80ace857da6ce28679a2e35a4360144  e98e4075a3167fa40524abe447c30bcca10c60e02a54ee1361eff278947a1221
 }
 
-foreach {perl5.major perl5.subversion perl5.revision perl5.rmd160 perl5.sha256} ${perl5.versions_info} {
-    subport perl${perl5.major} {
+foreach {perl5.v perl5.subversion perl5.revision perl5.rmd160 perl5.sha256} ${perl5.versions_info} {
+    subport perl${perl5.v} {
+        set perl5.major     ${perl5.v}
         version             ${perl5.major}.${perl5.subversion}
         set minor           [lrange [split ${version} .] 1 1]
         revision            ${perl5.revision}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20151216/e57d8860/attachment.html>


More information about the macports-changes mailing list