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

devans at macports.org devans at macports.org
Sun Jul 27 09:13:34 PDT 2014


Revision: 122719
          https://trac.macports.org/changeset/122719
Author:   devans at macports.org
Date:     2014-07-27 09:13:34 -0700 (Sun, 27 Jul 2014)
Log Message:
-----------
p5.10-version: build fix, set envvar PERL_NO_HIGHLANDER to disable attempts to unlink version.pm installed by perl5.10 (#43148).

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

Modified: trunk/dports/perl/p5-version/Portfile
===================================================================
--- trunk/dports/perl/p5-version/Portfile	2014-07-27 15:51:18 UTC (rev 122718)
+++ trunk/dports/perl/p5-version/Portfile	2014-07-27 16:13:34 UTC (rev 122719)
@@ -7,6 +7,7 @@
 epoch               2
 perl5.branches      5.8 5.10 5.12 5.14 5.16 5.18 5.20
 perl5.setup         version 0.9908
+revision            1
 license             {Artistic GPL}
 maintainers         nomaintainer
 description         Perl extension for Version Objects
@@ -16,5 +17,10 @@
 
 platforms           darwin
 
+if {[vercmp ${perl5.major} 5.10] == 0} {
+    configure.env-append \
+                    PERL_NO_HIGHLANDER=1
+}
+
 checksums           rmd160  6a86ff267d01f60dd82a30587b8b667dd4d6f742 \
                     sha256  c45647ed172443608d201461b918348f3cf2bfc7d6f72ef98c014c1d4324085b
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20140727/3c0fd76e/attachment.html>


More information about the macports-changes mailing list