[122720] trunk/dports/perl/p5-version/Portfile

devans at macports.org devans at macports.org
Sun Jul 27 11:57:25 PDT 2014


Revision: 122720
          https://trac.macports.org/changeset/122720
Author:   devans at macports.org
Date:     2014-07-27 11:57:24 -0700 (Sun, 27 Jul 2014)
Log Message:
-----------
p5-version: extend fix in r122719 to all versions < 5.12 (#43148, #42146), only apply to versioned subports.

Revision Links:
--------------
    https://trac.macports.org/changeset/122719

Modified Paths:
--------------
    trunk/dports/perl/p5-version/Portfile

Modified: trunk/dports/perl/p5-version/Portfile
===================================================================
--- trunk/dports/perl/p5-version/Portfile	2014-07-27 16:13:34 UTC (rev 122719)
+++ trunk/dports/perl/p5-version/Portfile	2014-07-27 18:57:24 UTC (rev 122720)
@@ -17,9 +17,13 @@
 
 platforms           darwin
 
-if {[vercmp ${perl5.major} 5.10] == 0} {
-    configure.env-append \
+# disable attempts to unlink instances of version.pm installed by other ports
+
+if {${perl5.major} != ""} {
+    if {[vercmp ${perl5.major} 5.12] < 0} {
+        configure.env-append \
                     PERL_NO_HIGHLANDER=1
+    }
 }
 
 checksums           rmd160  6a86ff267d01f60dd82a30587b8b667dd4d6f742 \
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20140727/12249eb2/attachment.html>


More information about the macports-changes mailing list