[123700] trunk/dports/perl/p5-cpan-meta-requirements/Portfile

ryandesign at macports.org ryandesign at macports.org
Wed Aug 13 01:21:58 PDT 2014


Revision: 123700
          https://trac.macports.org/changeset/123700
Author:   ryandesign at macports.org
Date:     2014-08-13 01:21:58 -0700 (Wed, 13 Aug 2014)
Log Message:
-----------
p5-cpan-meta-requirements: fix destroot with perl 5.10 and earlier

Modified Paths:
--------------
    trunk/dports/perl/p5-cpan-meta-requirements/Portfile

Modified: trunk/dports/perl/p5-cpan-meta-requirements/Portfile
===================================================================
--- trunk/dports/perl/p5-cpan-meta-requirements/Portfile	2014-08-13 06:30:25 UTC (rev 123699)
+++ trunk/dports/perl/p5-cpan-meta-requirements/Portfile	2014-08-13 08:21:58 UTC (rev 123700)
@@ -21,4 +21,9 @@
 if {${perl5.major} != ""} {
     depends_lib-append  port:p${perl5.major}-scalar-list-utils \
                         port:p${perl5.major}-version
+
+    if {[vercmp ${perl5.major} 5.12] < 0} {
+        configure.env-append \
+                    PERL_NO_HIGHLANDER=1
+    }
 }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20140813/2a85d7c2/attachment.html>


More information about the macports-changes mailing list