[131296] trunk/dports/lang/perl5.16/Portfile

larryv at macports.org larryv at macports.org
Thu Jan 8 15:05:44 PST 2015


Revision: 131296
          https://trac.macports.org/changeset/131296
Author:   larryv at macports.org
Date:     2015-01-08 15:05:44 -0800 (Thu, 08 Jan 2015)
Log Message:
-----------
perl5.16: Revise and reformat `inc_version_list` code

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

Modified: trunk/dports/lang/perl5.16/Portfile
===================================================================
--- trunk/dports/lang/perl5.16/Portfile	2015-01-08 22:59:12 UTC (rev 131295)
+++ trunk/dports/lang/perl5.16/Portfile	2015-01-08 23:05:44 UTC (rev 131296)
@@ -80,11 +80,8 @@
                     -Dstartperl="#!${prefix}/bin/perl${branch}"
 
 # Allow perl to find p5-* ports installed by previous (minor) versions
-set platsuffix ""
-if {${os.platform} eq "darwin"} {
-    set platsuffix "-2level"
-}
-configure.args-append "-D inc_version_list=\"5.16.1/${os.platform}-thread-multi${platsuffix} 5.16.1 5.16.0/${os.platform}-thread-multi${platsuffix} 5.16.0\""
+set platsuffix [expr {${os.platform} eq "darwin" ? "-2level" : ""}]
+configure.args-append -Dinc_version_list='5.16.1/${os.platform}-thread-multi${platsuffix} 5.16.1 5.16.0/${os.platform}-thread-multi${platsuffix} 5.16.0'
 
 if {[variant_isset universal]} {
     post-configure {
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20150108/2db1e9ed/attachment.html>


More information about the macports-changes mailing list